Differences between revisions 9 and 10
Revision 9 as of 2014-08-13 11:03:11
Size: 2154
Editor: host86-152-150-134
Comment: Updated for new user agent and fix for auth scheme errors.
Revision 10 as of 2014-08-13 11:22:45
Size: 2251
Editor: dx
Comment: formatting
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
= Using SIPE and OCS with bitlbee-libpurple = = Using SIPE / OCS / Microsoft Lync with bitlbee-libpurple =
Line 9: Line 10:
`account add sipe EMAIL-ADDRESS,DOMAIN\USERNAME PASSWORD` {{{
account add sipe EMAIL-ADDRESS,DOMAIN\USERNAME PASSWORD
}}}
Line 21: Line 24:
`account n set` {{{
account sipe set
}}}
Line 26: Line 31:
`account n set username you@email.com,domain\\login` {{{
account sipe set username you@email.com,domain\\login
}}}

== User Agent ==
Line 29: Line 38:
'''sipe - Login error: You have been rejected by the server: You are currently not using the recommended version of the client''' {{{
sipe - Login error: You have been rejected by the server: You are currently not using the recommended version of the client
}}}
Line 34: Line 46:
`account n set useragent "UCCAPI/15.0.4481.1000 OC/15.0.4481.1000 (Microsoft Lync)"`
Line 36: Line 47:
If you get SSL errors (Read Error) with Debian/Ubuntu 12.04:
Put "export NSS_SSL_CBC_RANDOM_IV=0" into /etc/init.d/bitlbee underneath SCRIPTNAME.
{{{
account sipe set useragent "UCCAPI/15.0.4481.1000 OC/15.0.4481.1000 (Microsoft Lync)"
}}}
Line 39: Line 51:
== Login error: Incompatible authentication scheme chosen ==
Line 40: Line 53:
If you get `Login error: Incompatible authentication scheme chosen`, do `acc sipe set authentication tls-dsk` {{{
account sipe set authentication tls-dsk
}}}

== SSL errors (Read Error) with Debian/Ubuntu 12.04 ==

Add this to /etc/init.d/bitlbee underneath SCRIPTNAME.

{{{
export NSS_SSL_CBC_RANDOM_IV=0
}}}

Using SIPE / OCS / Microsoft Lync with bitlbee-libpurple

Bitlbee + libpurple can talk to SIPE and Microsoft's OCS. First, you need a Bitlbee with libpurple support. In Ubuntu 13.04, it appears that the bitlbee-libpurple package gets you everything you need (built-in even). Otherwise, you'll need the pidgin-sipe plugin. This is packaged in Debian and Ubuntu. Then it's easy. For OCS, you add your account like this:

account add sipe EMAIL-ADDRESS,DOMAIN\USERNAME PASSWORD

Pidgin calls the EMAIL-ADDRESS field "Username" and the DOMAIN\USERNAME field "Login." For non-OCS SIPE you might not need the ,DOMAIN\USERNAME part. In case it helps you figure out your usernames, here's a screenshot of the Pidgin account setup page.

It may also be necessary to escape the slash between DOMAIN and USERNAME. You can confirm if this is necessary by viewing the account settings after adding the account.

account sipe set

Check that username = email,domain\username appears formatted correctly. If the slash is missing, then correct it by escaping the slash.

account sipe set username you@email.com,domain\\login

User Agent

If you get the following error:

sipe - Login error: You have been rejected by the server: You are currently not using the recommended version of the client

You will need to set a proper useragent so that you're able to connect, as outlined Here.

This should do it.

account sipe set useragent "UCCAPI/15.0.4481.1000 OC/15.0.4481.1000 (Microsoft Lync)"

Login error: Incompatible authentication scheme chosen

account sipe set authentication tls-dsk

SSL errors (Read Error) with Debian/Ubuntu 12.04

Add this to /etc/init.d/bitlbee underneath SCRIPTNAME.

export NSS_SSL_CBC_RANDOM_IV=0

BitlBee Wiki: HowtoSIPE (last edited 2016-10-08 02:26:27 by dx)