• ×
    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

I have recently followed the FAQ item (http://community.polycom.com/t5/VoIP/FAQ-Can-I-use-a-central-Phone-book-or-is-LDAP-Corporate/td-p/94...) to allow my users to search our Active Directory for contacts. I have ensured all staff have an IP Phone and a Mobile entry listed for their user, and this works great - I added a feature key to go straight to the directory, and search works as it should.

 

However, the first time the handset boots and a user goes into the directory it lists the entire contents of my LDAP from the BaseDN. Every time this directory is opened after that point it is blank and requires people to enter a search term. I did find this referenced in a post from earlier in the year - http://community.polycom.com/t5/VoIP/Polycom-LDAP-Corporate-Directory-contacts-display/m-p/80307#M16... and while it explains the same issue, I don't think the resolution is quite what I am after. I can see what "dir.corp.viewPersistence="0"" does - it retains the last search result the next time the directory is viewed. I am looking for a way of presenting the contents of the directory to the end user and them having the option of scrolling through the list or searching - currently they are forced to search.

 

My LDAP config is:

 

<LDAP>
<directory>
<sort dir.corp.sortControl="0" />
<vlv dir.corp.vlv.allow="0" />
<cache dir.corp.pageSize="16" dir.corp.cacheSize="64" />
<addr dir.corp.address="ldap://dc01.corp.domain" dir.corp.port="389" dir.corp.transport="tcp" />
<baseDN dir.corp.baseDN="OU=Staff,DC=corp,DC=domain" dir.corp.filterPrefix="(objectclass=person)(!(objectclass=computer))(ipPhone=*)" dir.corp.scope="sub" />
<sync dir.corp.backGroundSync="1" dir.corp.backGroundSync.period="3600" />
<view dir.corp.viewPersistence="0" />
<attr1 dir.corp.attribute.1.name="sn" dir.corp.attribute.1.label="Last Name" dir.corp.attribute.1.type="last_name " dir.corp.attribute.1.filter="" dir.corp.attribute.1.sticky="0" />
<attr2 dir.corp.attribute.2.name="givenName" dir.corp.attribute.2.label="First Name" dir.corp.attribute.2.type="first_name" dir.corp.attribute.2.filter="" dir.corp.attribute.2.sticky="0" dir.corp.attribute.2.searchable="1" />
<attr3 dir.corp.attribute.3.name="ipPhone" dir.corp.attribute.3.label="Extension" dir.corp.attribute.3.type="phone_number" dir.corp.attribute.3.filter="" dir.corp.attribute.3.sticky="0" />
<attr4 dir.corp.attribute.4.name="mobile" dir.corp.attribute.4.label="Mobile" dir.corp.attribute.4.type="phone_number" dir.corp.attribute.4.filter="" dir.corp.attribute.4.sticky="0" />
<login dir.corp.user="sv_polycom@domain" dir.corp.password="password" feature.corporateDirectory.enabled="1" />
</directory>
</LDAP>

 

While I am asking the question, I can see the filter is:

 

dir.corp.filterPrefix="(objectclass=person)(!(objectclass=computer))(ipPhone=*)"

 

Which is searching for objects that are a person, not a computer, and has non-null value for ipPhone. Can this filter accept an OR statement e.g. list all people that aren't computers that have an ipPhone OR mobile number listed?

 

Thanks

† 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>.