LDAP - Openfire Integration
LDAP / Openfire Integration for sipXconfig
Configuring the LDAP Server in sipXconfig
First, navigate to the LDAP / AD screen found under the System tab.
For configuring the LDAP server you have to:
- check 'LDAP configured' option;
- enter the hostname / IP address of your LDAP server;
- enter the port number on which LDAP server is listening (default value is 389 or 636 if you are using TLS/SSL connection);
- enter the user and password.
Next, you have to select the relevant object classes you want to extract from the LDAP database. Select just two classes: "User" and "Person".
If you are using Active Directory you should also select 'securityPrincipal' class.
The next screen allows you to map the sipXconfig fields and the LDAP attribute.
'User ID attribute' is the unique user identification. Default value for it is 'ipPhone' but you should use 'uid' for other ldap servers but Active Directory.
'IM ID' is the instant message id. Default value for it is 'sAMAccountName' but you should use 'uid' for other ldap servers but Active Directory.
The next screen allows you to preview user records as they would be imported based on the query you just defined.
Next, navigate to the Settings tab and check 'Instant Messaging Authentication' option.
The last step then is to restart the 'Instant Messaging' server.
You can now register any LDAP user (with User ID configured above and LDAP password) in a IM client (Spark, Pidgin, etc) and start a chat.
For example, in Pidgin you should add the user account (Accounts / Manage accounts / Add)
and accept the the certificate from the sipX server.
.