On Wed, Oct 13, 2010 at 5:46 AM, Josh M. Patten <[email protected]>wrote:
> Despite many attempts, I have yet to get LDAP authentication for either > sipXconfig or openfire to work. The baffling bit is that when I set up the > LDAP server within sipX (System>>LDAP/AD>>Configuration) I can see the > import preview and all fields are mapping correctly so I save the settings. > I then, under settings, select the checkbox next to "Instant messaging > authentication: and select "LDAP and PIN" for "Authentication Options" an > select apply. I then go so far as waiting 5 minutes then restarting the > entire sipxecs service and still no dice. > > I've tested sipX openfire using an Active Directory server and it works fine. This is my scenario: 1) I configured the ldap conection ... Note that in Configuration panel "*LDAP configured*" checkbox must be enabled; Also, in fields mapping panel I setup 'I*M ID*' sipX field with '*uid*' LDAP field - this value will be the *IM id* togheter with the *LDAP user password*. For example I was able to login in Pidgin with 'testuser' LDAP user and his LDAP password. 2) Under Settings, I enabled '*Instant Messaging Authentication*'; 'Authentication Options' drop down is used only for user portal authentification. 3) I restarted 'Instant Messaging' service. I have tested openfire LDAP connectivity separately from sipX and it works > just fine if configured from scratch. There is something definitely amiss as > the ldap settings in "/opt/openfire/conf/openfire.xml" and > "/usr/share/java/sipxecs/sipXopenfire/openfire.xml" are set to > "<ldap></ldap>" > > It is ok to have just '<ldap></ldap>' in '/opt/openfire/conf/openfire.xml' file because this file is parsed and modified by sipx-openfire. But in '/usr/share/java/sipXecs/sipXopenfire/conf/openfire.xml' file you should have somethink like ... <ldap> <host>ldap.server.com</host> <port>389</port> <sslEnabled>false</sslEnabled> <baseDN>dc=example,dc=com</baseDN> <adminDN>cn=Directory Manager</adminDN> <adminPassword>123456</adminPassword> </ldap> Laurentiu > Please let me know if I'm missing something or if this is still in > progress. > > _______________________________________________ > sipx-dev mailing list > [email protected] > List Archive: http://list.sipfoundry.org/archive/sipx-dev/ >
_______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
