...
OpenLDAP Server is free available from: Anchor
Anchor | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
anchor
For example: openldap-2.2.29-db-4.3.29-openssl-0.9.8a-win32_Setup.exe
1.2 Click "Browse" to locate the installation path(for example: c:\OpenLDAP), and then click "Next".
1.3 Select "Full installation" as below and click "Next" to continue.
1.4 Click "Next/Install" as Default setting.
1.5 Click "Finish" to complete the OpenLDAP installation.
...
2.1 Add the schema commands.
Open the slap.conf file under the installation path. And find the command :./schema/core.schema, and then add the following commands: OLE_LINK10 Anchor
include ./schema/inetorgperson.schema
include ./schema/corba.schema
include ./schema/dyngroup.schema
include ./schema/java.schema
include ./schema/misc.schema
include ./schema/nis.schema
include ./schema/openldap.schema
2.2 Edit the manager information:
Find the following commands in slap.conf:
suffix"dc=my-domain, dc=com"
rootdn "cn=manager,dc=mg-domain,dc=com"
rootpw secret
suffix defines the components of the domain name.
rootdn is the manager access to the LDAP server.
rootpw means the password of the manager.
For example, you can change the context as following:
suffix"dc=HanLong,dc= com"
rootdn"cn=manager,dc=HanLong,dc= com"
rootpw secret
...
4.1 Create .ldif file under the located path.
For example: create a file test.ldif under c:\OpenLDAP.
Input the following context in the .ldif file and save. Anchor
dn:dc=HanLong,dc= com
objectclass:dcobject
objectclass:organization
o:xmHanLong
dc:HanLong
dn:cn=manager,dc=HanLong,dc= com
dc=HanLong
objectclass:dcobject
objectclass:organization
cn=manager
sn:summer
4.2 To make the Entry effective.
4.2.1 Click start?run?Enter cmd?Enter
4.2.2 Input cd c:\OpenLDAP
4.2.3 Input ldapadd –x –D "cn=manager,dc=HanLong,dc=com" –w secret –f test.ldif
...
8.1 Login webpage and configure LDAP features.
Click Directory?LDAP Anchor
LDAP Name Filter: This parameter specifies the name attributes for LDAP searching. The "%" symbol in the filter stands for the entering string used as the prefix of the filter condition.
For example (cn=%), when the name prefix of the cn of the contact record matches the search criteria, the record will be displayed on the IP PHONE LCD.
LDAP Number Filter: This parameter specifies the number attributes for LDAP searching.
Server Address: Fill the domain name or IP address of the LDAP Server.
For example: 192.168.0.124
Port: Fill the port of the LDAP Server, for example: 389 as default.
Base: Fill the same value as suffix value mentioned before.(On page 6 )
For example: dc=HanLong,dc=com
User Name: Fill the same value as rootdn mentioned before.(On page 6 )
For example: cn=manager,dc=HanLong,dc=com
Password: Fill the same value as the rootpw mentioned before. (On page 6 )
For example:
Max.Hits: Fill the maximum number of the search results to be returned by the LDAP server.
LDAP Name Attributes: Fill the LDAP Name Filter, separated by a space between two values. If you set this attribute, the LDAP Server will send the name attribute to SIP Server, for example: cn
LDAP Number Attributes: Fill the LDAP Number Filter, separated by a space between two values. If you set this attribute, the LDAP Server will send the number attribute to SIP Server, for example: telephoneNumber
LDAP Display Name: Fill the display name of the contact record displayed on the LCD screen, separated by a space between two values, for example: %cn %sn
Filled the relative value and then click "SaveSet" button to save the settings.
Following is the example screenshot for the configuration.
8.2 To Configure LDAP Key.
8.2.1 To configure LDAP Key via Web:
...
Note: This section shows you how to install an active directory on Anchor
...
LDAP Name Filter: This parameter specifies the name attributes for LDAP searching. The "%" symbol in the filter stands for the entering string used as the prefix of the filter condition.
For example (cn=%), when the name prefix of the cn of the contact record matches the search criteria, the record will be displayed on the IP PHONE LCD.
LDAP Number Filter: This parameter specifies the number attributes for LDAP searching.
Server Address: Fill the domain name or IP address of the LDAP Server.
For example: 192.168.0.191
Port: Fill the port of the LDAP Server, for example: 389 as default.
Base: Fill the same value as suffix value mentioned before.
For example: dc=HanLong,dc=com
User Name: Fill the same value as rootdn mentioned before.
For example: cn=manager,dc=HanLong,dc=com
Password: Fill the same value as the rootpw mentioned before.
For example: secret
Max.Hits: the maximum number of the search results to be returned by the LDAP server.
LDAP Name Attributes: Fill the LDAP Name Filter, separated by a space between two values. If you set this attribute, the LDAP Server will send the name attribute to SIP Server, for example: cn
LDAP Number Attributes: Fill the LDAP Number Filter, separated by a space between two values. If you set this attribute, the LDAP Server will send the number attribute to SIP Server, for example: telephoneNumber
LDAP Display Name: Fill the display name of the contact record displayed on the LCD screen, separated by a space between two values, for example: %cn %sn
Filled the relative value and then click "SaveSet" button to save the settings.
Following is the example screenshot for the configuration.
Example for Configuration
LDAP Name Filter: (|(cn=%)(sn=%))LDAP Number Filter: (|(telephoneNumber=%)(Mobile=%)(ipPhone=%))Server Address: 192.168.0.191Port: 389Base: dc=ldap,dc=htek,dc=comUsername: Anchor
...