![]() |
Office Communicator OCS on Maemo Conversations
I managed to get OCS working on maemo conversations. I tried to search this forum for instructions and I didn't find any so I decided to post my workaround for OCS. The main issues were that OCS was missing from account list and Maemo conversation doesn't prompt for incoming certifications and they have to be added manually. So all you need to do is create a OCS profile determine what certifications you are missing.
------------------------------------------------------------------------------------- First of all, I started by downloading latest versions of these packages: http://maemo.org/packages/view/account-plugin-haze/ http://maemo.org/packages/view/telepathy-haze/ http://maemo.org/packages/view/pidgin-sipe/ Saved them to /home/user/MyDocs/ocs/ and run Code:
dpkg -i /home/user/MyDocs/ocs/*.debEDIT: You can also install these from maemo-extras repositroy alternatively: * Pidgin protocol plugin for Office Communicator * Pidgin protocols plugin for Conversations and Contacts Then, with help of Palko Jukka, I created file /usr/share/osso-rtcom/sipe.profile Code:
[Profile]username: firstname.surname@comapany.com login: domain\username password: ******** server: sip.company.com:443 Connection type: auto User agent: SIPE/1.11.2 Find out your SIPE version: Code:
dpkg -l pidgin-sipe | grep sipeii pidgin-sipe 1.11.2-1maemo1 (With my companys configuration this User Agent was accepted. Some of ocs servers doesn't accept other that M$ clients, so in that case user agent has to be faked) At this point I was not able to log in. The reason was that maemo conversations is not able to get certificates from servers, it just checks local certifactes and matches it to certificated required by ocs server (correct me if I'm wrong). I was missing this certificate: https://www.digicert.com/testroot/Di...ceEVRootCA.crt [ Old information: And the companys certificate. I acquired companys certificate by installing pidgin, logging in with pidgin (pidgin can do the certificate handshaking). After succesful login with pidgin I copied companys certificate to a folder where maemo conversation would look it up:] Code:
cp ~/.purple/certificates/x509/tls_peers/sip.mycompany.com /usr/share/purple/ca-certs/I also copied the Assurance cert to directory mentioined above. EDIT: As jpalko commented, recommended way is to debug which certificates you are missing and copy missing certificates to /usr/share/purple/ca-certs/ instead of copying sip.mycomapny.com cert directly to /usr/share/purple/ca-certs/. I debugged mine missing certs and installed them and now I'm able to login with conversations Afterwards, I was able to connect succefully with maemo conversation! :) |
Re: Office Communicator OCS on Maemo Conversations
If you have maemo-extras enabled, you are able to install them directly. In application manager they are:
You shouldn't need to copy any files from ~/.purple/certificates/x509/tls_peers/ as those are the server certificates and not the certificate authority (CA) certificates. It's also not a recommendable solution. The best way is to use pidgin debug to find out what certificates are necessary Code:
$ pidgin --debug >pidgin_output.txt 2>&1Code:
certificate/x509/tls_cached: Certificate Authority with DN='certificate dn here' not found. I'll prompt the user, I guess. |
Re: Office Communicator OCS on Maemo Conversations
FYI: I've packaged the profile and the icon into the new package "Office Communicator plugin for Conversations and Contacts". The package depends on account-plugin-haze and pidgin-sipe to drag in all necessary packages. You can find it in fremantle extras-testing.
This of course doesn't address the SSL server certificate issue. You still need to run Pidgin at least once to create a SSL connection to your OCS server. |
Re: Office Communicator OCS on Maemo Conversations
I managed to connect to my OCS via pidgin messenger (accepted the certificate from the server). I used the same settings for the conversations account but I'm still unable to connect. Is there something I'm doing wrong? I don't see the certificate in /usr/share/purple/ca-certs/ directory :(
|
Re: Office Communicator OCS on Maemo Conversations
As jpalko mentioned, it is not recommended to use server certificates on /usr/share/purple/ca-certs/ directory. Instead of, remove your company certificate (sip.company.com) from ~/.purple/certificates/x509/tls_peers/ and run pidgin
Code:
$ pidgin --debug >pidgin_output.txt 2>&1In my understanding, you don't need the server certificate if you have proper ca certs (your servers certificates are created using ca certs [someone correct me if I'm wrong]). Discarding server certificate will cause pidgin to print missing ca certs debug info to output log. Grep from pidgin output log for missing ca certs Code:
cat pidgin_output.txt |grep "not found"Now you should see what ca cert(s) you are missing and you can download missing certificate from https://www.digicert.com and save them to /usr/share/purple/ca-certs/ directory. In my case I did: Code:
cd /usr/share/purple/ca-certs/ |
Re: Office Communicator OCS on Maemo Conversations
stefanb, are you going to add sipe/ocs support to meego?
|
Re: Office Communicator OCS on Maemo Conversations
Anybody know if this works on N9? I plan on getting one at some point and would like to know.
|
Re: Office Communicator OCS on Maemo Conversations
I did put some hours to this to get it working without much success on N9, but my colleague was able to get it running without integration to messages and contacts. So basically it should be possible but currently there is no easy way of doing it.
|
Re: Office Communicator OCS on Maemo Conversations
Quote:
|
Re: Office Communicator OCS on Maemo Conversations
Hi,
In my case the pidgin itself craches when pidgin -> add -> protocol:Officecommunicator when i select OfficeCommunicator in protocol list it crashes. I am able to select other protocols. Meantime i was able to configure OCS in the pidgin installed in my PC. And then copy the certificates to the folder. But it doesnt work. Can anyone help me out. Will my second approach work. I am not able to see the log of maemo conversation and accounts. where can i get it how to enable it? Does pidgin fail like mine for anyone else.. I am loving my N900..And i dont want to migrate for my office have moed to lync.. |
| All times are GMT. The time now is 09:56. |
vBulletin® Version 3.8.8