/build/static/layout/Breadcrumb_cap_w.png

LDAP label for computers

I have three different LDAP labels set up to target computers in 3 different OUs.  The queries test fine in the LDAP browser by replacing the KBOX_ variable with a computer name, but the devices never seem to update with the label.  I've read that this only happens on device check-in, so I've let it sit for a couple hours and I've also been forcing inventory on some test machines to no avail...  The LDAP queries are:

Base DN: OU=All Computers,DC=sub,DC=domain,DC=com
Advanced Search: (&(Name=KBOX_COMPUTER_NAME)(objectClass=Computer))

Base DN: DC=sub,DC=domain,DC=com
Advanced Search: distinguishedName=CN=KBOX_COMPUTER_NAME,OU=Servers,DC=ad,DC=adcomparisons,DC=com

Base DN: OU=Non-Production,OU=Servers,DC=sub,DC=domain,DC=com
Advanced Search: (&(Name=KBOX_COMPUTER_NAME)(objectClass=Computer))

Any ideas?

3 Comments   [ + ] Show comments
  • I'm sure you did but I'll ask anyways.. Did you checkbox enable at the top of each of those LDAP Smart Labels?

    2nd example: why is there a pathway for the adv search? Should just be (distinguishedName=KBOX_COMPUTER_NAME)

    and honestly if there are no users accounts in those base DN you dont need to use objectclass in the adv search. Keep it simple with (CN=KBOX_COMPUTER_NAME)


    Your examples

    Base DN: OU=All Computers,DC=sub,DC=domain,DC=com
    Advanced Search (CN=KBOX_COMPUTER_NAME)

    Base DN: DC=sub,DC=domain,DC=com
    Advanced Search: (CN=KBOX_COMPUTER_NAME)

    Base DN: OU=Non-Production,OU=Servers,DC=sub,DC=domain,DC=com
    Advanced Search: (CN=KBOX_COMPUTER_NAME) - nshah 8 years ago
  • Wow... I did not have the enable button checked, thanks.

    So, upon enabling, it looks like my label for the All Computers and Non-Production OUs (examples 1 and 3) are working, but the label for Servers is not. I had to specify the full path in the 2nd example because Non-Production is a sub-OU of Servers, and I don't want the Servers label to apply to the non-production servers. I could restructure AD if needed, just being curious at this point I guess... - dwrusse 8 years ago
  • It's working fine now, no changes, maybe I wasn't giving it enough time? Anyways, thanks for reminding me to enable... Doh! - dwrusse 8 years ago

Answers (0)

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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