-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Poly Phones
- Desk and IP Conference Phones
- Re: ldap invalid DN syntax

Create an account on the HP Community to personalize your profile and ask a question

07-20-2012 10:42 AM
I'm trying to set up the ldap corporate directory, but the corp dir on the phone only says please try again, looking at the syslog output, I see:
Jul 20 16:55:12 192.168.80.137 192.168.80.137 0720165508|ldap |4|00|ldapData::ldapConnBind:ldap_x_bind_s - rc=0x22 <Invalid DN syntax>
Jul 20 16:55:12 192.168.80.137 192.168.80.137 0720165508|ldap |4|00|cDynamicData::finalizeInit:finalizeInit Failed state=<2>
The ldap server is well established and working, my config is:
<dir>
<dir.corp dir.corp.address="ldap://192.168.70.12"
dir.corp.baseDN="ou=Staff,dc=autologic"
dir.corp.filterPrefix="(objectclass=inetorgPerson)">
<dir.corp.attribute
dir.corp.attribute.1.filter=""
dir.corp.attribute.1.label="Last Name"
dir.corp.attribute.1.name="sn"
dir.corp.attribute.1.searchable="0"
dir.corp.attribute.1.sticky="0"
dir.corp.attribute.1.type="last_name"
dir.corp.attribute.2.filter=""
dir.corp.attribute.2.label="First Name"
dir.corp.attribute.2.name="gn"
dir.corp.attribute.2.searchable="0"
dir.corp.attribute.2.sticky="0"
dir.corp.attribute.2.type="first_name"
dir.corp.attribute.3.filter=""
dir.corp.attribute.3.label="Tel Number"
dir.corp.attribute.3.name="telephoneNumber"
dir.corp.attribute.3.searchable="0"
dir.corp.attribute.3.sticky="0"
dir.corp.attribute.3.type="phone_number">
</dir.corp.attribute>
<dir.corp.backGroundSync dir.corp.backGroundSync.period="86400">
</dir.corp.backGroundSync>
<dir.corp.vlv dir.corp.vlv.allow="0" dir.corp.vlv.sortOrder="">
</dir.corp.vlv>
</dir.corp>
</dir>
07-20-2012 12:29 PM
Have a look at the corporate directory FAQ and maybe lower the ldap logging level to 2
Best regards
Steffen Baier
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.
Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN

08-01-2012 12:16 PM
I used the following syntax and was able to get to work. The issue was the naming which I have highlighted in red.
I am using Polycom 670 and 4.0
<dir>
<dir.corp dir.corp.address="ldap://192.168.70.12"
dir.corp.baseDN="ou=Staff,dc=autologic"
dir.corp.filterPrefix="(objectclass=inetorgPerson)">
<dir.corp.attribute
dir.corp.attribute.1.filter=""
dir.corp.attribute.1.label="Last name"
dir.corp.attribute.1.name="sn"
dir.corp.attribute.1.searchable="0"
dir.corp.attribute.1.sticky="0"
dir.corp.attribute.1.type="last_name"
dir.corp.attribute.2.filter=""
dir.corp.attribute.2.label="First name"
dir.corp.attribute.2.name="givenName"
dir.corp.attribute.2.searchable="0"
dir.corp.attribute.2.sticky="0"
dir.corp.attribute.2.type="first_name"
dir.corp.attribute.3.filter=""
dir.corp.attribute.3.label="phone number"
dir.corp.attribute.3.name="telephoneNumber"
dir.corp.attribute.3.searchable="0"
dir.corp.attribute.3.sticky="0"
dir.corp.attribute.3.type="phone_number">
</dir.corp.attribute>
<dir.corp.backGroundSync dir.corp.backGroundSync.period="86400">
</dir.corp.backGroundSync>
<dir.corp.vlv dir.corp.vlv.allow="0" dir.corp.vlv.sortOrder="">
</dir.corp.vlv>
</dir.corp>
</dir>
08-01-2012 01:31 PM
Hello sangar,
welcome to the Polycom Community.
Thanks for getting back but these are just the labels the phone displays on the screen. The FAQ contains a working example and the original user has unfortunately not yet replied.
Best Regards
Steffen Baier
Polycom Global Services
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.
Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN

08-01-2012 06:09 PM
When incroporated the sytax that you have provided in FAQ, I was getting an error "Try Again". As soon i changed them to what I supplied, it started to work. I have it working curently with my configuration. Perhaps I am nissing some other parameter