Instruction On LDAP Phonebook
Instruction On LDAP Phonebook
Instruction On LDAP Phonebook
, LTD
www.yealink.com
Catalogue
1. Overview ........................................................................................................................................................................... 2
2. Configuration..................................................................................................................................................................... 2
3. Attributes ........................................................................................................................................................................... 3
3.1 Common Attributes ................................................................................................................................................... 3
3.2 Attributes on Yealink Configured Page ..................................................................................................................... 3
3.2.1 LDAP Name Filter............................................................................................................................................. 3
3.2.2 LDAP Number Filter ......................................................................................................................................... 3
3.2.3 Server Address................................................................................................................................................... 4
3.2.4 Port .................................................................................................................................................................... 4
3.2.5 Base ................................................................................................................................................................... 4
3.2.6 User Name ......................................................................................................................................................... 4
3.2.7 Password ............................................................................................................................................................ 4
3.2.8 Max.Hits(1~32000) ........................................................................................................................................... 5
3.2.9 LDAP Name Attributes ..................................................................................................................................... 5
3.2.10 LDAP Number Attributes .................................................................................................................................. 5
3.2.11 LDAP Display Name ......................................................................................................................................... 5
3.2.12 Protocol.............................................................................................................................................................. 5
3.2.13 Search Delay(ms)(0~2000) ................................................................................................................................ 6
3.2.14 LDAP Lookup for Incoming Call ...................................................................................................................... 6
3.2.15 LDAP Sorting Results ....................................................................................................................................... 6
3.2.16 LDAP Lookup for PreDial/Dial......................................................................................................................... 6
3.3 Example for Configuration ........................................................................................................................................ 6
4. Configuration on Yealink Phone........................................................................................................................................ 7
5. LDAP Server Installation .................................................................................................................................................. 9
5.1 Install OpenLDAP Server on Windows System ........................................................................................................ 9
5.2 Configure OpenLDAP Server.................................................................................................................................. 10
5.2.1 Configure slapd.conf file ................................................................................................................................. 10
5.2.2 Run slapd server .............................................................................................................................................. 11
5.2.3 Add contact...................................................................................................................................................... 12
6. Install LDAP Client tool in Windows System ................................................................................................................. 13
6.1 Install LDAPExploreTool2 ...................................................................................................................................... 13
6.2 Create the Configurations in LDAPExploreTool2................................................................................................... 13
6.3 Add the Entry .......................................................................................................................................................... 15
1. Overview
LDAP stands for Lightweight Directory Access Protocol which is a client-server protocol for accessing a directory service.
LDAP lets you locate organizations, individuals, and other resources such as files and devices in a network, whether on the
Internet or on a corporate intranet, and whether or not you know the domain name, IP address, or geographic whereabouts.
An LDAP directory can be distributed among many servers on a network, then replicated and synchronized regularly.
2. Configuration
Please note that LDAP Phonebook support on T28\T26\T22\T12, the version must be V51 (x.51.x.x) and higher, then access
to the web UIContactsLDAP page, you can find the configured option is like following picture.
3. Attributes
3.1Common Attributes
3.2.4 Port
Description: This setting specifies the LDAP server port.
Default Value: 389
3.2.5 Base
Description: This setting specifies the LDAP search base (the distinguished name of the search base object) which
corresponds to the location in the directory from which the LDAP search is requested to begin. The search base
narrows the search scope and decreases directory lookup time. If you have multiple organizational units in your
directory (for example, OU=Sales in O=COMPANY and OU=Development in O=COMPANY), but the "OU=Sales"
organization never uses AOL AIM, you can restrict the lookup to the OU=Development subtree only by entering
providing the following search base: OU=Development, O=COMPANY. Other examples see below.
Default Value: <blank>
Examples:
o=UNIVERSITY OF NEW ORLEANS,c=US
o=SFU,c=CA
dc=yealink,dc=de
3.2.7 Password
Description: This setting specifies the bind “Password” for LDAP servers. Yealink phones use “simple” authentication
scheme for bind requests. This setting can be left blank in case the server allows anonymous binds. Otherwise you will
need to provide the Password along with the Username in order to access the LDAP server.
Default Value: <blank>
3.2.8 Max.Hits(1~32000)
Description: This setting specifies the maximum number of search results to be returned by the LDAP server. If
Max.hits is 0 or blank the LDAP server will return all search results. Please note that a very large value of the “Max.
Hits” will slow down the LDAP lookup, therefore the setting should be configured according to the available
bandwidth. The default value for this setting is blank.
Default Value: 50
3.2.12 Protocol
Description: Protocol is the protocol version for the phone when send the bind request to the server. Please make sure
your LDAP server support version 3/2 bind request.
Valid Values: version 3/version 2
Default Value: version 3
3. If you enable the “LDAP Lookup for PreDial/Dial”, you can use LDAP feature either in PreDial/Dial page or by
pressing DSS Key.
If run the server successfully, you can find the command of “slapd starting”
NOTE:
Please do not close this window to make sure the LDAP Server keep running.
NOTE:
Server name or IP\Server port\Version settings are relate with the settings on the Yealink phone.
c. Configure the “cn=manager,dc=yealink,dc=cn” on User DN, and tick the Store password for protect your settings, enter
the password which you configure on the server.
The Base DN will auto-configure if you press the [Guess value]
After the settings above, you can press [Test connection] to test your settings, if it prompt warning message, please
re-try the steps above again, we can continue the next steps if the test is passed.
Then you can get the page like following picture. Please right click the action to add the contacts.