Update: This post still gets a lot of search traffic hits, but is now over a year old, and I no longer have a need to use Lync, so haven’t needed to keep this working.
I believe that the Ubuntu repos now contain new enough versions of SIPE that the deb mentioned here shouldn’t be needed any more, but that the rest of the instructions should still be valid.
Update 2: I need to use LYNC again. Pidgin from the default Ubuntu repos does indeed now appear to work just fine with a custom user agent. In addition, I’ve also had some success with “WYNC” which works pretty well but has a few minor issues of it’s own.
Recently at work we have started using Lync internally. Whilst this is great for the Windows and Mac users among us, not so much for those of us running on Linux.
However, it turns out that it is possible to get basic Lync support working quite easily. I can see people, talk to people, people can talk to me – I can send files to people, but people can’t send file to me. I’ve not tried any video/voice stuff but I suspect it doesn’t work.
It’s done using “sipe” – basically an open source implementation of the Extended SIP/SIMPLE protocol Lync uses for chat.
The basic steps on Ubuntu are:
Install the latest pidgin from pidgin devs ppaapt-get install pidgin pidgin-sipe
- Connect to lync.
The compiling step is required because we use Office365 for Lync
which needs the latest version of SIPE for which a deb does not yet appear to exist. However, I have uploaded
my compiled deb which can be found below.
Instructions for Ubuntu (using a pre-compiled deb I’ve uploaded):
sudo apt-add-repository ppa:pidgin-developers/ppa sudo apt-get update sudo apt-get install pidgin wget http://www.myfileservice.net/pidgin-sipe_1.13.1-2_i386.deb sudo dpkg -i pidgin-sipe_1.13.1-2_i386.deb
Once this is done you can then open pidgin, and add an “Office Communicator” account, using the following settings:
First tab (Basic)
Login: email address
Username: email address
Second tab (Advanced)
Connection Type: Auto
User Agent: UCCAPI/4.0.7577.314 OC/4.0.7577.314
Auth Scheme: TLS-DSK
Un-tick /Use single sign on/, leave everything below it blank
Ignore the other 2 tabs
Done. Connect, see buddies :)
Amusingly, at home, I’ve actually had more success on Linux than windows! On my windows machine, opening LyncSetup.exe seems to just do nothing at all, the process appears to be running, but no setup window appears.
The version of pidgin-sipe currently in Ubuntu repos is too old to work with Office 365 (needs 1.13.0, hence compiling myself)
Version of pidgin in ubuntu was old, I installed a new version to be sure
- A colleague of mine seems to have had no success with these steps - pidgin seems to crash immediately after trying to connect
The pidgin-sipe deb above also builds the required “telepathy”
binaries – so I’m going to have a go at getting it working with KDE’s native messaging client rather than
pidgin, but for now for IM at least, pidgin is quite usable. (As I no longer need to use Lync, I never
did get round to trying this)