Plantronics + Polycom. Now together as Poly Logo

Polycom VVX 310 Corporate Directory returns no entries found when searching LDAP server

Occasional Visitor

Polycom VVX 310 Corporate Directory returns no entries found when searching LDAP server

Hello,

 

I've been working quite some time in an attempt to get the Corporate Directory working on the Polycom VVX 310. I am able to get the phone to connect to my OpenLDAP server, but it fails in every search attempt. I have a Cisco phone that successfully queries the server as expected (I got that working in 8 minutes on the Cisco, I've spent over 16 work hours on this Polycom), so I know the server is working, but for some reason the Polycom is having trouble searching it, and I was wondering if anyone could help me figure out why.

 

I am running UC Software 5.5.0 and have been following this admin guide: http://supportdocs.polycom.com/PolycomService/support/global/documents/support/setup_maintenance/pro...


I've also been following this Technical Bulletin: http://support.polycom.com/global/documents/support/technical/products/voice/Corporate_Directory_Bes...

 

As instructed in TB41137 above, I made the following changes to core.schema on my OpenLDAP server:

attributetype ( 2.5.4.4 NAME ( 'sn' 'surname' )
DESC 'RFC2256: last (family) name(s) for which the entity is
known by'
SUP name
ORDERING caseIgnoreOrderingMatch)

attributetype ( 2.5.4.42 NAME ( 'givenName' 'gn' )
DESC 'RFC2256: first name(s) for which the entity is known by'
SUP name
ORDERING caseIgnoreOrderingMatch)

I am successfully provisioning the Polycom through TFTP, here are the relevant config file entries (with IP addresses, passwords, and domains edited for privacy), and as you can see I've turned on LDAP debugging:

 

<feature.corporateDirectory feature.corporateDirectory.enabled="1">
	<feature.corporateDirectory.alt feature.corporateDirectory.alt.enabled="0">
	</feature.corporateDirectory.alt>
</feature.corporateDirectory>

  <dir>
    <dir.broadsoft dir.broadsoft.regMap="1" dir.broadsoft.useXspCredentials="1">
      <dir.broadsoft.xsp dir.broadsoft.xsp.address="" dir.broadsoft.xsp.password="" dir.broadsoft.xsp.username="">
      </dir.broadsoft.xsp>
    </dir.broadsoft>
    <dir.corp dir.corp.address="ldap://0.0.0.0" dir.corp.autoQuerySubmitTimeout="0" dir.corp.backGroundSync="0" dir.corp.baseDN="dc=example,dc=com" dir.corp.bindOnInit="1" dir.corp.cacheSize="128" dir.corp.customError="" dir.corp.domain="" dir.corp.filterPrefix="" dir.corp.pageSize="32" dir.corp.password="********" dir.corp.port="389" dir.corp.querySupportedControlOnInit="1" dir.corp.scope="sub" dir.corp.sortControl="0" dir.corp.transport="TCP" dir.corp.user="cn=admin,dc=example,dc=com" dir.corp.viewPersistence="0">
      <dir.corp.alt dir.corp.alt.address="" dir.corp.alt.autoQuerySubmitTimeout="0" dir.corp.alt.backGroundSync="0" dir.corp.alt.cacheSize="128" dir.corp.alt.domain="" dir.corp.alt.label="Global Address Book" dir.corp.alt.password="" dir.corp.alt.port="0" dir.corp.alt.protocol="sopi" dir.corp.alt.secCacheSize="32" dir.corp.alt.sortControl="0" dir.corp.alt.transport="TCP" dir.corp.alt.user="" dir.corp.alt.verifyCert="1" dir.corp.alt.viewPersistence="0">
        <dir.corp.alt.attribute dir.corp.alt.attribute.1.filter="" dir.corp.alt.attribute.1.label="" dir.corp.alt.attribute.1.name="" dir.corp.alt.attribute.1.sticky="0" dir.corp.alt.attribute.1.type="last_name" dir.corp.alt.attribute.2.filter="" dir.corp.alt.attribute.2.label="" dir.corp.alt.attribute.2.name="" dir.corp.alt.attribute.2.sticky="0" dir.corp.alt.attribute.2.type="last_name">
        </dir.corp.alt.attribute>
        <dir.corp.alt.auth dir.corp.alt.auth.useLoginCredentials="0">
        </dir.corp.alt.auth>
        <dir.corp.alt.backGroundSync dir.corp.alt.backGroundSync.period="86400">
        </dir.corp.alt.backGroundSync>
        <dir.corp.alt.utfSubset dir.corp.alt.utfSubset.1.start="" dir.corp.alt.utfSubset.1.stop="" dir.corp.alt.utfSubset.2.start="" dir.corp.alt.utfSubset.2.stop="">
        </dir.corp.alt.utfSubset>
      </dir.corp.alt>
      <dir.corp.attribute dir.corp.attribute.1.addstar="1" dir.corp.attribute.1.filter="" dir.corp.attribute.1.label="Last Name" dir.corp.attribute.1.name="sn" dir.corp.attribute.1.searchable="1" dir.corp.attribute.1.sticky="0" dir.corp.attribute.1.type="last_name" dir.corp.attribute.2.addstar="1" dir.corp.attribute.2.filter="" dir.corp.attribute.2.label="First Name" dir.corp.attribute.2.name="givenName" dir.corp.attribute.2.searchable="1" dir.corp.attribute.2.sticky="0" dir.corp.attribute.2.type="first_name" dir.corp.attribute.3.addstar="0" dir.corp.attribute.3.filter="" dir.corp.attribute.3.label="Phone" 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.auth dir.corp.auth.useLoginCredentials="0">
      </dir.corp.auth>
      <dir.corp.backGroundSync dir.corp.backGroundSync.period="86400">
      </dir.corp.backGroundSync>
      <dir.corp.viewPersistence dir.corp.viewPersistence.form="1">
      </dir.corp.viewPersistence>
      <dir.corp.vlv dir.corp.vlv.allow="1" dir.corp.vlv.sortOrder="sn givenName telephoneNumber">
      </dir.corp.vlv>
    </dir.corp>
    <dir.genband>
      <dir.genband.local>
        <dir.genband.local.contacts dir.genband.local.contacts.maxSize="100">
        </dir.genband.local.contacts>
      </dir.genband.local>
    </dir.genband>
    <dir.local dir.local.passwordProtected="0" dir.local.readonly="0">
      <dir.local.contacts dir.local.contacts.maxNum="9999" dir.local.contacts.maxNum.CX5500="500" dir.local.contacts.maxNum.VVX101="99" dir.local.contacts.maxNum.VVX201="99" dir.local.contacts.maxNum.VVX300="500" dir.local.contacts.maxNum.VVX301="500" dir.local.contacts.maxNum.VVX310="500" dir.local.contacts.maxNum.VVX311="500" dir.local.contacts.maxNum.VVX400="500" dir.local.contacts.maxNum.VVX401="500" dir.local.contacts.maxNum.VVX410="500" dir.local.contacts.maxNum.VVX411="500" dir.local.contacts.maxNum.VVX500="500" dir.local.contacts.maxNum.VVX501="500" dir.local.contacts.maxNum.VVX600="500" dir.local.contacts.maxNum.VVX601="500">
      </dir.local.contacts>
    </dir.local>
    <dir.search dir.search.field="0">
    </dir.search>
  </dir>

<log>
	<log.level>
		<log.level.change log.level.change.ldap="0">
		</log.level.change>
	</log.level>
	<log.render log.render.level="0">		
	</log.render>
</log>

As per TB41137, I've set dir.corp.filterPrefix to NULL. However, I've also tried the following to no avail: (objectclass=*), (objectclass=person), (cn=*), (sn=*). I've also tried setting dir.corp.sortControl to both 0 and 1, among many other differing config adjustments.

 

Here is the LDAP Debug log from the Polycom, it should have returned one search result, but instead the phone told me no entries found:

000140.401|ldap |0|00|ldapData::newFilter:baseRequest=ldap://0.0.0.0/dc=example,dc=com?sn,givenName,telephoneNumber?sub
0705181245|ldap |0|00|ldapData::newFilter:baseRequest=ldap://0.0.0.0/dc=example,dc=com?sn,givenName,telephoneNumber?sub
0705181245|ldap |0|00|ldapCfg::show:<LDAP configuration:> status=<1>
0705181245|ldap |0|00|   <server version=3> <sort:ctrl=0x1-cfg=0x1> <vlv=No> <vrCrt=Yes>
0705181245|ldap |0|00|   <host=ldap://0.0.0.0> <pfix=ldap://> <port=389> <trans=tcp> <bindOnInit=Yes>
0705181245|ldap |0|00|   <baseDN=dc=example,dc=com> <filterPrefix=> <sortOrder=sn givenName telephoneNumber> <invSortOrder=NULL>
0705181245|ldap |0|00|   <attrib=sn,givenName,telephoneNumber><sub></ffs0/ca1.crt>
0705181245|ldap |0|00|   <persistView=No> <persistSearch=No>
0705181245|ldap |0|00|   <backgroundSyncPeriod=0> <autoQuerySubmitTimeout=0>
0705181245|ldap |0|00|   <domain=NULL> <user=cn=admin,dc=example,dc=com> <pass=***>
0705181245|ldap |0|00|   <SSLv2v3Enabled=0>
0705181245|ldap |0|00|ldapCfg::showAttr:   Attributes:
0705181245|ldap |0|00|ldapCfg::showAttr:   [0] <name=sn><label=Last Name><type=last_name><filter=><sticky=No><srch=Yes>
0705181245|ldap |0|00|ldapCfg::showAttr:   [1] <name=givenName><label=First Name><type=first_name><filter=><sticky=No><srch=Yes>
0705181245|ldap |0|00|ldapCfg::showAttr:   [2] <name=telephoneNumber><label=Phone><type=phone_number><filter=><sticky=No><srch=No>
0705181410|ldap |0|00|ldapData::newFilter:baseRequest=ldap://0.0.0.0/dc=example,dc=com?sn,givenName,telephoneNumber?sub
0705181410|ldap |0|00|ldapData::runSearch:ldap_search_ext_s: rc=0, state=3, m_last=0, bDone=1
0705181410|ldap |0|00|ldapQuery::assmQuery:assmCondition error numC=<-1>
0705181410|ldap |0|00|ldapQuery::assmQuery:query cleared & released

I would really appreciate any help on this. Thank you very much for your time!

Message 1 of 7
6 REPLIES 6
Highlighted
Polycom Employee & Community Manager

Re: Polycom VVX 310 Corporate Directory returns no entries found when searching LDAP server

Hello The_Thomas,

welcome to the Polycom Community.

The community's VoIP FAQ contains this post here:

Aug 25, 2015 Question:How can I setup an openLDAP server to work with a Polycom phone?

Resolution: Please check this post => here <=

 

Did you check against the above yet?

 

In addition the community search => here <= reveals a few other topics when seacrhing for OpenLDAP

 

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services

----------------
The title Polycom Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. My official "day" Job is 3rd Level support at Poly but I am unable to provide official support via the community.

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 2 of 7
Highlighted
Occasional Visitor

Re: Polycom VVX 310 Corporate Directory returns no entries found when searching LDAP server

Hi SteffenBaierUK,

 

Yes, I've checked that and many others. Like I've said, I've spent overt 16 hours working on this, including combing through this entire community's forms looking for anything that could help. Unable to find anything, I have registered for this site and posted my question with detailed logs and configs.

 

Here's a brief list of the postings I have already gone through:

http://community.polycom.com/t5/VoIP/FAQ-Setup-an-openLDAP-server/m-p/75035/highlight/true#M14180
http://community.polycom.com/t5/SpectraLink/Corporate-Directory/m-p/2289/highlight/true#M34
http://community.polycom.com/t5/VoIP/Polycom-LDAP-Corporate-Directory-contacts-display/m-p/80307/hig...
http://community.polycom.com/t5/VoIP/LDAP-Corporate-Directory/m-p/21750/highlight/true#M3170
http://community.polycom.com/t5/VoIP/VVX-500-corporate-directory-populating/m-p/39752/highlight/true...

http://community.polycom.com/t5/VoIP/Are-there-any-recommended-guides-for-setting-up-OpenLDAP/m-p/83...

http://community.polycom.com/t5/VoIP/Polycom-contacts-directory-update-without-reboot/m-p/80072/high...

 

That's not all inclusive, since I have been working for days on this. 

 

Any other configs/logs that would be helpful to you? I have a packet capture of the conversation between the phone and the server if you think that would be of any help.

Message 3 of 7
Highlighted
Polycom Employee & Community Manager

Re: Polycom VVX 310 Corporate Directory returns no entries found when searching LDAP server

Hello The_Thomas,

My FAq post should be used to troubleshoot this.

 

Anything else is outside the scope for myself as a Polycom employee and needs to be raised as a support ticket.

In order to raise a support ticket you need to work with your Polycom reseller as they need to do this for you. In case this is some sort of an Internet discounter please post your phone's MAC address so I can look up who would be able to support you.

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services

----------------
The title Polycom Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. My official "day" Job is 3rd Level support at Poly but I am unable to provide official support via the community.

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 4 of 7
Highlighted
Occasional Visitor

Re: Polycom VVX 310 Corporate Directory returns no entries found when searching LDAP server

Hi SteffenBaierUK,

 

I've followed your FAQ, did you read my post at all? My Config's should mirror your FAQ exactly, as well as the Technical bulletin.

 

If my configs are incorrect, then your FAQ is flawed and should be updated since I have followed it to a tee.

 

I've done my homework, I've spent a lot of time developing this. I am confident my configurations are correct as per Polycom's instructions. I want to know if you have at least reviewed my configs/logs I have provided, because honestly, there is a larger problem with Polycom if everything I did was correct, and I believe it is.

 

We are a reseller of the polycom's and just did a deployment of 400 of them, do you want me to give you all 400 MAC addresses? I've been attempting to get this corporate directory to work, and it doesn't. It should work right out of the box since it is an advertised feature of this phone. I've done everything right and it is still not working. 

 

I'm not going to pay Polycom for technical support when I am doing everything right and it is their equipment that is not working. It sounds like some sort of ponzi scheme if you intentionally deliver defective products, and then charge customers for "technical support" when they don't work as they should.

 

This was just a small deployment of phones, and if this is the support I can expect from polycom and if this is how polycom phone's operate, then we are just going to have to tell our customer's that polycom's are unreliable and do not work as advertised. This works flawlessly on the Cisco devices, and took me just minuets to get it to work; I don't understand why Polycom is having such trouble with this.

 

 

Message 5 of 7
Highlighted
Polycom Employee & Community Manager

Re: Polycom VVX 310 Corporate Directory returns no entries found when searching LDAP server

Hello The_Thomas,

My FAQ post is a result of setting this up myself and verifying it works. This has been tested by other users and confirmed to work.

 

In addition the low amount of OpenLDAP posts "shows" that most users get this working and the post's that exist contain a solution.

 

You may want to re-read my answer as nowhere was a cost mentioned so not sure why you assume this.

 

As mentioned I am unable to troubleshoot this via the community.

 

Other users are invited to try and help you.

 

Please also familiarize yourself with the FAQ as it contains:

 

Mar 8, 2012 Question: What kind of support should I expect from the Community?
Clarification: Please check => here <=

 

So in order to safe everyone's time please follow this up as originally suggested,

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services

----------------
The title Polycom Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. My official "day" Job is 3rd Level support at Poly but I am unable to provide official support via the community.

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 6 of 7
Highlighted
Occasional Visitor

Re: Polycom VVX 310 Corporate Directory returns no entries found when searching LDAP server

I have found that when setting this up, the directory will load all of the entries only on the FIRST opening of the directory. Each other time, you must search for it to appear. I always assumed this was something to do with AD. 

 

Search for any of the entries to check if that works. 

 

If this fails, double check how you have the containers setup. I use AD Explorer to confirm I am logging in correctly and sending the PBX to the correct container for your contacts. 

 

Message 7 of 7