Yealink Forums

Full Version: LDAP settings for Active Directory
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to setup my Yealink T41P (Firmware Version 36.72.0.55) to use LDAP to search through our Active Directory users.

When searching in the LDAP directory there are always "None" results
I've tested the connection settings with LDAPExplorerTool

Am I forgetting something ? Huh

This is my configuration
[ LDAP ]
bEnable = 1
strLdapName =
strNameFilter = (|(cn=%)(sn=%))
strNumberFilter = (|(telephoneNumber=%)(mobile=%))
strServerName = 192.168.1.1
nServerPort = 389
strBase = dc=companyname,dc=local
strUserName = domainadmin@companyname.local
strUserPin =
nMaxHits = 5
strNameAttr = cn sn
strNumbAttr = mobile telephoneNumber
strDisplayName = %cn
nProtocolVersion = 3
bLookup4CallIn = 1
bLookup4Dial = 0
bSortResult = 1
nSearchDelay = 0
Hi,

Have you tested these LDAP parameter in other device like in a PC? Here are the setting sample we use to test in our LDAP server. They are written through autoprovision parameter.

Or you can get a pcap trace and check whether there is a error prompt.

ldap.enable = 1
ldap.name_filter = (|(cn=%)(sn=%))
ldap.number_filter = (|(telephoneNumber=%)(mobile=%)(ipPhone=%)(homePhone=%))
ldap.host = 10.2.1.55
ldap.port = 389
ldap.base = dc=yealink,dc=cn
ldap.user = cn=manager,dc=yealink,dc=cn
ldap.password = secret
ldap.max_hits =
ldap.name_attr = sn cn
ldap.numb_attr = telephoneNumber mobile ipPhone homePhone
ldap.display_name = %sn
ldap.version = 3
ldap.call_in_lookup = 1
ldap.ldap_sort = 1
ldap.dial_lookup = 1


Regards,
James
James, how can I test these settings on a PC ?
I'm trying the settings locally on the yealink interface before I'm sending them with autoprovisioning.

PCAP analysis shows me only one ldap packet with [TCP out-of-order]
http://i.imgur.com/4GTtNec.png
I used LDAP Explorer 2 Tool to troubleshoot the LDAP queries when I was testing the options I needed.
http://ldaptool.sourceforge.net/

We are using LDAP on T48G and T38G without issues.
Reference URL's