Plantronics + Polycom. Now together as Poly Logo

VVX411 , LDAP integration

SOLVED
Occasional Visitor

VVX411 , LDAP integration

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.

 

 

Message 1 of 4
3 REPLIES 3
Highlighted
Polycom Employee & Community Manager

Re: VVX411 , LDAP integration

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




<======== Signature / Disclaimer ========>
Please be aware:For questions about the type of support to expect please check here

Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

Please remember, if you see a post that helped you , and it answers your question, please mark it as an "Accept as Solution".

The title Polycom Employee & Community Manager is an automatic setting within the community and any forum reply or post is based upon my personal experience and does not reflect the opinion or view of my employer.
Poly employee participation within this community is not mandatory and any post or FAQ article provided by myself is done either during my working hours or outside working hours, in my private time, and maybe answered on weekends, bank holidays or personal holidays.
Message 2 of 4
Occasional Visitor

Re: VVX411 , LDAP integration

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

Message 3 of 4
Polycom Employee & Community Manager

Re: VVX411 , LDAP integration

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




<======== Signature / Disclaimer ========>
Please be aware:For questions about the type of support to expect please check here

Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

Please remember, if you see a post that helped you , and it answers your question, please mark it as an "Accept as Solution".

The title Polycom Employee & Community Manager is an automatic setting within the community and any forum reply or post is based upon my personal experience and does not reflect the opinion or view of my employer.
Poly employee participation within this community is not mandatory and any post or FAQ article provided by myself is done either during my working hours or outside working hours, in my private time, and maybe answered on weekends, bank holidays or personal holidays.
Message 4 of 4