/build/static/layout/Breadcrumb_cap_w.png

LDAP not grabbing computers in K1000

I have a LDAP script which is supposed to be grabbing computers out of a specific OU and putting them into a label within KACE.

The Search Base DN is : OU=Adelaide,OU=TPA - INTL,OU=TOPCON,DC=TOPCON,DC=com

and Search Filter : (&(objectCategory=computer)(name=KBOX_COMPUTER_NAME))

 

It returns 0 results which I expect. If I change the KBOX to a known computer name it also returns no results as well. If I change it to (&(CN=*)) then it says it finds 230 results but then the filter adds all 1400ish machines into that label.

 

Where am I going wrong?

 

0 Comments   [ + ] Show comments

Answers (1)

Posted by: nshah 10 years ago
Red Belt
0

If only computers are on the OU=Adelaide you don't need to do the objectcategory, just (cn=KBOX_COMPUTER_NAME).


You might want to try (&(objectClass=computer)(CN=KBOX_COMPUTER_NAME))


Comments:
  • I tried that and nothing seems to populate into the label. - phoniclynx 10 years ago
  • Is there any way I can show you more what I've set up and try to find out why I'm not getting any results? - phoniclynx 10 years ago

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