Yealink Forums
LDAP settings for Active Directory - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: T4x Series (/forumdisplay.php?fid=31)
+--- Thread: LDAP settings for Active Directory (/showthread.php?tid=3822)



LDAP settings for Active Directory - goback - 05-18-2015 08:18 PM

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


RE: LDAP settings for Active Directory - James_Yealink - 05-18-2015 10:52 PM

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


RE: LDAP settings for Active Directory - goback - 05-19-2015 03:05 PM

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


RE: LDAP settings for Active Directory - cptjack - 05-29-2015 02:04 AM

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.