• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
HP Recommended

Hi,

 

Apologies to start a new thread but I have searched high and low across the site and internet for any help on this. I am not able to get any LDAP searches on my Polycom phones (works on other devices).

 

Model : VVX411

Software: 5.9.2.3690

LDAP server : OpenLDAP

 

Here is my config : 

 

<?xml version="1.0" encoding="utf-8"?>
<WEB
feature.corporateDirectory.enabled="1"
feature.broadsoftdir.enabled="0"
feature.broadsoftdir.enabled="0"
log.level.change.ldap="0"
feature.flexibleLineKey.enable="1"
dir.corp.scope="sub"
dir.corp.address="X.X.X.X"
dir.corp.port="389"
dir.corp.autoQuerySubmitTimeout="1"
dir.corp.backGroundSync.period="3600"
dir.corp.baseDN="ou=People,dc=example,dc=com"
dir.corp.cacheSize="128"
dir.corp.filterPrefix="(objectclass=person)"
dir.corp.pageSize="32"
dir.corp.transport="TCP"
dir.corp.domain="example.com"
dir.corp.user="cn=admin,dc=example,dc=com"
dir.corp.password="password"
dir.corp.viewPersistence="1"
dir.corp.attribute.1.filter=""
dir.corp.attribute.2.filter=""
dir.corp.attribute.3.filter=""
dir.corp.attribute.1.label="last name"
dir.corp.attribute.2.label="first name"
dir.corp.attribute.3.label="phone number"
dir.corp.attribute.1.name="sn"
dir.corp.attribute.2.name="givenName"
dir.corp.attribute.3.name="telephoneNumber"
dir.corp.attribute.1.searchable="1"
dir.corp.attribute.2.searchable="1"
dir.corp.attribute.3.searchable="1"
dir.corp.attribute.1.sticky="0"
dir.corp.attribute.2.sticky="0"
dir.corp.attribute.3.sticky="0"
dir.corp.attribute.1.type="last_name"
dir.corp.attribute.2.type="first_name"
dir.corp.attribute.3.type="phone_number"
dir.corp.attribute.4.type="phone_number"
/>

 

I have tried all kinds of variations of the BASE DN parameter as suggested by the self serve articles but just cannot get this to work. Here is the device logs for LDAP.

 

0503094821|ldap |1|00|ldapCfg::lookupHost:No srvLookup host=<X.X.X.X> port=<389>
0503094821|ldap |1|00|ldapCfg::lookupHost:No srvLookup host=<X.X.X.X> port=<389>
0503094821|ldap |4|00|cDynamicData::activate:cDynamicData::activate() m_pCfg->lookupHost() = 1

0503094821|clist|4|00|dbCfg::getServerDir:Unknown dbCfg type
0503094821|clist|4|00|dbCfg::getServerDir:Unknown dbCfg type
0503094821|app1 |4|00|[AppPhoneC::makeIdleSoftkey] pPhone->m_acdState = 4
0503094821|app1 |4|00|[AppPhoneC::makeIdleSoftkey] pPhone->m_acdState = 4
0503094821|ldap |1|00|ldapData::queryResults:Sort-No Persist-No VLV-No
0503094821|ldap |1|00|ldapCfg::getCaFile:LDAP:CA filepath = /ffs0/ca1.crt
0503094821|ldap |1|00|ldapCfg::getCaFile:LDAP:CA filepath = /ffs0/ca1.crt
0503094821|ldap |1|00|ldapQueryNoSort::setQLimits:1::<UP> m_curSubset=<0/1>
0503094821|ldap |1|00|ldapEntry::show:setQLimits 1::top <0>
0503094821|ldap |1|00|ldapEntry::show:setQLimits 1::bot <zz>
0503094821|ldap |1|00|ldapQueryNoSort::assmCondition:...1
0503094821|ldap |1|00|ldapQueryNoSort::fillQuery:qDepth=<1> same=<0> incl=<No>
0503094821|ldap |1|00|ldapEntry::show:fillQuery::prevTop <0>
0503094821|ldap |1|00|ldapEntry::show:fillQuery::prevBot <zz>
0503094821|ldap |1|00|ldapEntry::show:fillQuery::top <>
0503094821|ldap |1|00|ldapEntry::show:fillQuery::bot <>
0503094821|ldap |1|00|ldapQueryNoSort::isQueryValid:status=<1> top=<0> bot=<zz> sel=<>
0503094821|ldap |1|00|cDynamicData::getData:filter OK <(&(objectclass=person)(sn%3E=0)(sn%3C=zz))>
0503094821|ldap |1|00|cDynamicData::finalizeInit:finalizeInit state=<5>
0503094821|ldap |4|00|cDynamicData::finalizeInit:finalizeInit Failed state=<5>
0503094821|app1 |4|00|[AppPhoneC::makeIdleSoftkey] pPhone->m_acdState = 4
0503094822|ldap |3|00|ldapData::runSearch:dir=<DOWN> reverse=<No> index=<OFF> filter=<(&(objectclass=person)(sn>=0)(sn<=zz))>
0503094822|ldap |1|00|cDynamicData::dataReady:total=0-restart
0503094822|ldap |1|00|ldapQueryNoSort::getNewLimits:status=<0>
0503094822|ldap |1|00|ldapQueryNoSort::assmCondition:cannot create query=<(&(objectclass=person)> <DOWN>

 

 

Please can anyone advise as to why this is not working?

There doesnt seem to be much information on this feature. As mentioned i dont think the LDAP server is at fault as I have other devices working.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

Hello @Polycom User 101 ,

 

welcome to the Poly Community.

We have a specif openLDAP FAQ here:

 

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

Resolution: Please check this post => here <=

 

It states this parameter:

 

<test dir.corp.serverSortNotSupported="1" />

 

I could not see this in your config.

 

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

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

View solution in original post

3 REPLIES 3
HP Recommended

Hello @Polycom User 101 ,

 

welcome to the Poly Community.

We have a specif openLDAP FAQ here:

 

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

Resolution: Please check this post => here <=

 

It states this parameter:

 

<test dir.corp.serverSortNotSupported="1" />

 

I could not see this in your config.

 

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

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
HP Recommended

Hi SteffenBaierUK,

 

Thank you for responding to me. I thought I had cancelled this post but will respond here in case it helps anyone else.

 

I found the solution and my particular problem was that I either had not noticed (or ignored) the whole issue around the LDAP Schema requiring slight alteration as per your LDAP best practices guide. I apologise for jumping and posting what seems to be a common (mis)step.

 

If anyone stumbles on this post and is having the same issue (No results returned from LDAP but working on other devices) try to locate the Polycom LDAP best practices guide and slowly work though that, it worked for me.

 

The document is here : LDAP Best Practice Guide

 

Server type : OpenLDAP

Devices : Polycom VVX 411 (Software 5.9.2.3690)

 

The Config that worked for me on the devices was :

<?xml version="1.0" encoding="utf-8"?>
<WEB 
	feature.corporateDirectory.enabled="1" 
	feature.broadsoftdir.enabled="0" 
	feature.broadsoftdir.enabled="0"
	log.level.change.ldap="0"
	feature.flexibleLineKey.enable="1"
	dir.corp.scope="sub"
	dir.corp.address="ldap://server_ipaddress"
	dir.corp.port="389"
	dir.corp.autoQuerySubmitTimeout="1" 
	dir.corp.backGroundSync.period="3600" 
	dir.corp.baseDN="ou=People,dc=example,dc=com" 
	dir.corp.cacheSize="128" 
	dir.corp.filterPrefix=""
	dir.corp.pageSize="32" 
	dir.corp.transport="TCP" 
	dir.corp.domain="example.com" 
	dir.corp.user="cn=admin,dc=example,dc=com" 
	dir.corp.password="password"
	dir.corp.viewPersistence="0"
	dir.corp.vlv.allow="1"
	dir.corp.vlv.sortOrder="sn givenName telephoneNumber"
	dir.corp.attribute.1.filter=""
	dir.corp.attribute.2.filter=""
	dir.corp.attribute.3.filter=""
	dir.corp.attribute.4.filter=""
	dir.corp.attribute.1.label="last name"
	dir.corp.attribute.2.label="first name"
	dir.corp.attribute.3.label="phone number"
	dir.corp.attribute.4.label="company name"
	dir.corp.attribute.1.name="sn"
	dir.corp.attribute.2.name="givenName"
	dir.corp.attribute.3.name="telephoneNumber"
	dir.corp.attribute.4.name="o"
	dir.corp.attribute.1.searchable="1"
	dir.corp.attribute.2.searchable="1"
	dir.corp.attribute.3.searchable="1"
	dir.corp.attribute.4.searchable="1"
	dir.corp.attribute.1.sticky="0"
	dir.corp.attribute.2.sticky="0"
	dir.corp.attribute.3.sticky="0"
	dir.corp.attribute.4.sticky="0"
	dir.corp.attribute.1.type="last_name"
	dir.corp.attribute.2.type="first_name"
	dir.corp.attribute.3.type="phone_number"
	dir.corp.attribute.4.type="other"
/>

I hope someone might find this useful.

 

Regards

HP Recommended

Hello @Polycom User 101 

 

I assume it would help users to share your working configuration and maybe a link to what document you are referring to?

 

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
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.