Logo

[FAQ] Can I use a central Phone book or is LDAP / Corporate Directory supported?

SteffenBaierUK
Polycom Employee & Community Manager

[FAQ] Can I use a central Phone book or is LDAP / Corporate Directory supported?

Poly Phones can support a corporate Directory.

 

Depending on the Software Release the Phones are running a Productivity Suite License is needed. 

 

  • Free Site License (excluding VQMon) can be found => here <=

Using UC Software 4.0.0 or later does no longer require a License!

 

The following phones support the LDAP / Corporate Directory:

 

NOTE: Please check the Admin Guide matching your Software Release (SIP / UCS) for further details / limitations!

 

The following LDAP Servers have been tested with Poly Corporate Directory feature:


• Microsoft Active Directory 2003 or 2008
• SUN ONE Directory Server 5.2 p6
• OPEN LDAP 2.4.12
• Microsoft ADAM (Active Directory Application Mode) 1.0 SP1

 

Details regarding the setup or troubleshooting can be found in this Technical Bulletin => here <=

 

Information on how to use a Local Directory File without having to use a Corporate Directory can be found => here <=

 

An example that has been verified and tested on UCS 3.3.2 and UCS 4.0.1:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- PlcmConversionCreatedFile version=1.2 converted=Wed Jun 22 13:50:12 2011 -->
<!-- LDAP Example for Active Directorty Server -->
<!-- 10.252.149.120-->
<polycomConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="polycomConfig.xsd">
<feature feature.corporateDirectory.enabled="1"
	dir.corp.address="ldap://10.252.149.120" 
	dir.corp.backGroundSync="0" 
	dir.corp.baseDN="dc=sbaierhome,dc=lab" 
	dir.corp.filterPrefix="(objectclass=person)(!(objectclass=computer))(telephoneNumber=*)" 
	dir.corp.password="T3ch!ab" 
	dir.corp.scope="sub" 
	dir.corp.port="389" 
	dir.corp.transport="tcp" 
	dir.corp.user="Administrator@sbaierhome.lab"
	dir.corp.attribute.1.label="Last Name" 
	dir.corp.attribute.1.name="sn" 
	dir.corp.attribute.1.type="last_name " 
	dir.corp.attribute.2.label="First Name" 
	dir.corp.attribute.2.name="givenName" 
	dir.corp.attribute.2.type="first_name" 
	dir.corp.attribute.3.name="telephoneNumber" 
	dir.corp.attribute.3.label="Phone Number" 
	dir.corp.attribute.3.type="phone_number" 
	dir.corp.attribute.3.searchable="1" 
	dir.corp.attribute.4.label="Department" 
	dir.corp.attribute.4.name="department" 
	dir.corp.attribute.4.type="other" 
	dir.corp.attribute.5.label="HomePhone" 
	dir.corp.attribute.5.name="homePhone" 
	dir.corp.attribute.5.type="phone_number" 
	dir.corp.sortControl="0"
	dir.corp.serverSortNotSupported="0"
	log.render.level="0" 
	log.render.file.upload.append.sizeLimit="51200" 
	log.render.file.size.Trio8800="10240" 
	log.render.file.size.Trio8500="10240" 
	log.render.file.size.TrioC60="10240" 
	log.render.file.size.CCX400="10240" 
	log.render.file.size.CCX500="10240" 
	log.render.file.size.CCX600="10240" 
	log.render.file.size.CCX700="10240" 
	log.render.file.size="1000" 
	log.level.change.ldap="0" />
/>
</polycomConfig>

 

 

NOTE: Please check the above example if your are using SIP 3.2.x or older!

 

Searching for a Name (I searched for a):

 

LDAP_01.PNG

 

Details of a Search result (press the view softkey):

 

LDAP_02.PNG

 

Troubleshooting:

 

Log Levels

SteffenBaierUK_0-1634214129079.png

 

 

000056.996|ldap |0|00|ldapCfg::updateCaFromUrl just entered 
000056.997|ldap |0|00|ldapCfg::updateCaFromUrl No URL configured
000056.997|ldap |1|00|ldapCfg::lookupHost:No srvLookup host=<10.252.149.120> port=<389>
000056.997|ldap |1|00|ldapCfg::lookupHost:No srvLookup host=<10.252.149.120> port=<389>
000056.997|ldap |4|00|cDynamicData::activate:cDynamicData::activate() m_pCfg->lookupHost() = 1
000056.997|ldap |1|00|ldapData::runCmd: wlanModeHighThroughput Id(0)
000056.997|ldap |0|00|ldapData::newFilter:baseRequest=ldap://10.252.149.120/dc=sbaierhome,dc=lab?sn,givenName,telephoneNumber,department,homePhone?sub
..
000057.035|ldap |1|00|ldapData::queryResults:Sort-Yes Persist-No VLV-No
000057.035|ldap |0|00|ldapCfg::show:<LDAP configuration:> status=<1>
000057.035|ldap |0|00|   <server version=3> <sort:ctrl=0x4-cfg=0x0> <vlv=No> <vrCrt=Yes>
000057.035|ldap |0|00|   <host=ldap://10.252.149.120> <pfix=ldap://> <port=389> <trans=tcp> <bindOnInit=Yes>
000057.035|ldap |0|00|   <baseDN=dc=sbaierhome,dc=lab> <filterPrefix=(objectclass=person)(!(objectclass=computer))(telephoneNumber=*)> <sortOrder=sn> <invSortOrder=NULL>
000057.035|ldap |1|00|ldapCfg::getCaFile:LDAP:CA filepath = /data/polycom/ffs0/ca1.crt
000057.035|ldap |1|00|ldapCfg::getCaFile:LDAP:CA filepath = /data/polycom/ffs0/ca1.crt
000057.035|ldap |0|00|   <attrib=sn,givenName,telephoneNumber,department,homePhone><sub></data/polycom/ffs0/ca1.crt>
000057.035|ldap |0|00|   <persistView=No> <persistSearch=No>
000057.035|ldap |0|00|   <backgroundSyncPeriod=0> <autoQuerySubmitTimeout=0>
000057.035|ldap |0|00|   <domain=NULL> <user=ldap@sbaierhome> <pass=***>
000057.035|ldap |0|00|ldapCfg::showAttr:   Attributes:
000057.035|ldap |0|00|ldapCfg::showAttr:   [0] <name=sn><label=Last Name><type=last_name><filter=><sticky=No><srch=Yes>
000057.035|ldap |0|00|ldapCfg::showAttr:   [1] <name=givenName><label=First Name><type=first_name><filter=><sticky=No><srch=No>
000057.035|ldap |0|00|ldapCfg::showAttr:   [2] <name=telephoneNumber><label=Phone Number><type=phone_number><filter=><sticky=No><srch=Yes>
000057.035|ldap |0|00|ldapCfg::showAttr:   [3] <name=department><label=Department><type=other><filter=><sticky=No><srch=No>
000057.035|ldap |0|00|ldapCfg::showAttr:   [4] <name=homePhone><label=HomePhone><type=phone_number><filter=><sticky=No><srch=No>

 

 

Searching for a Name:

 

1014132112|ldap |3|00|ldapQuerySimple::assmCondition:empty query attribute
1014132112|ldap |1|00|cDynamicData::getData:filter OK <(&(objectclass=person)(!(objectclass=computer))(telephoneNumber=*)(|(sn=Baier*)(telephoneNumber=Baier*)))>
1014132112|ldap |1|00|ldapData::runCmd: wlanModeHighThroughput Id(0)
1014132112|ldap |0|00|ldapData::newFilter:baseRequest=ldap://10.252.149.120/dc=sbaierhome,dc=lab?sn,givenName,telephoneNumber,department,homePhone?sub
1014132112|ldap |3|00|ldapData::runSearch:dir=<DOWN> reverse=<No> index=<OFF> filter=<(&(objectclass=person)(!(objectclass=computer))(telephoneNumber=*)(|(sn=Baier*)(telephoneNumber=Baier*)))>
1014132112|ldap |0|00|ldapEntry::show:->new: <Baier> 
1014132112|ldap |0|00|ldapData::runSearch:ldap_search_ext_s: rc=0, state=3, m_last=1, bDone=0
1014132112|ldap |1|00|ldapEntry::iCmpEntry: 'Baier,Steffen' > ','
1014132112|ldap |0|00|ldapQuerySimple::show:updateQuery
1014132112|ldap |0|00|ldapEntry::show:top= <Baier> 
1014132112|ldap |0|00|ldapEntry::show:bot= <Baier> 
1014132112|ldap |1|00|cDynamicData::dataReady:total=1-process
1014132112|ldap |1|00|ldapData::runCmd: wlanModeStandby Id(0)

 

 

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

If official support is required please check how to phone or open a case here

----------------
The title Poly 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. All posts and words are my own & do not represent the views of Employer.

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


⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓SIGNATURE ⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓
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.
Please also ensure you always check the VoIP , Video Endpoint , Microsoft Voice , PSTN or other FAQ's in the different sections
1 REPLY 1
SteffenBaierUK
Polycom Employee & Community Manager

Using LDAP with a Poly VVX x50 Obi Edition or Edge B phone

Hello all,

 

a quick FAQ on how to use Microsoft LDAP with a Poly VVX x50 Obi Edition or Edge B phone

 

SteffenBaierUK_0-1650990467220.png

 

 

On the phone press the Menu Button and select Directories:

SteffenBaierUK_1-1650707502981.png

 

Select LDAP Search:

SteffenBaierUK_2-1650707523701.png

 

LDAP will display the standard result:

SteffenBaierUK_3-1650707559692.png

 

Configuration to provision (redacted)

 

<?xml version="1.0" encoding="UTF-8"?>
<!-- OBi Configuration File (07:52     27/4/2022)-->
<ParameterList>
  <Object>
    <Name>X_DeviceManagement.LDAPServer.</Name>
    <ParameterValueStruct>
      <Name>Host</Name>
      <Value>ldap://10.252.149.120</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>Port</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>TLSSecurityProfile</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
  </Object>
  <Object>
    <Name>X_DeviceManagement.LDAPSearch.</Name>
    <ParameterValueStruct>
      <Name>BindDN</Name>
      <Value>Administrator@sbaierhome.lab</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>SearchBase</Name>
      <Value>dc=sbaierhome,dc=lab</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>ProtocolVersion</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>TLS_ReqCert</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>ResultsPerPage</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>DefaultSearchFilter</Name>
      <Value>(&amp;(&amp;(objectclass=person)(!(objectclass=computer)))(telephoneNumber=*))</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>QueryFields</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>ResultFields</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>NameFieldPreference</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>NumberFieldPreference</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>SortByAttribute</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>Attributes</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
  </Object>
  <Object>
    <Name>X_DeviceManagement.LDAPSearchSASL.</Name>
    <ParameterValueStruct>
      <Name>SASL_AuthMethod</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>SASL_AuthCID</Name>
      <Value X_UseDefault="Yes"/>
    </ParameterValueStruct>
  </Object>
</ParameterList>

 

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

If official support is required please check how to phone or open a case here

----------------
The title Poly 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. All posts and words are my own & do not represent the views of Employer.

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


⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓SIGNATURE ⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓
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.
Please also ensure you always check the VoIP , Video Endpoint , Microsoft Voice , PSTN or other FAQ's in the different sections
Message 2 of 2