/build/static/layout/Breadcrumb_cap_w.png

LDAP Label - long computer name

Hi

I currently have a working LDAP label against an AD group with computer objects in it.  My issue is that the AD group only keeps the first 15 characters of the name of the computer object in the group, and I have some computer names that are more than 15 characters.

This is what the Advanced Search of my LDAP query has right now:

(&(CN=KBOX_COMPUTER_NAME)(memberOf=CN=Patching-Workstation-Pilot,OU=Kace,DC=ex,DC=example,DC=com))

For example, the computer name that I want is Hernandez-laptop but the computer object added to the Patching-Workstation-Pilot group is Hernandez-lapto

How can I modify the LDAP query so that it is able to add Hernandez-laptop to the LDAP label correctly?


1 Comment   [ + ] Show comment
  • Have you found a solution to this? I am in the same predicament. - jabadm 6 years ago
    • I got around it by making it look at dnshostname knowing that all my computers have the same DNS suffix.

      (&(dnshostname=KBOX_COMPUTER_NAME.ex.example.com)(memberOf=CN=Patching-Workstation-Pilot,OU=Kace,DC=ex,DC=example,DC=com)) - tuyen 6 years ago

Answers (0)

Be the first to answer this question

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ