/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


Organization LDAP Filter

02/15/2018 1390 views
Hello IT Ninja community!
I'm a little rusty on the K1000.  It's been a few years since I regularly managed one.  Our organization just purchased it, and we're wanting to using it for both Servers and Workstations with orgs for each.  I am working on creating an org filter for the servers and not having much luck.

K1100 Server Version is 7.1.149
Agent version is 7.1.62

Testing LDAP Label Settings...
Testing anonymous connection to: redcanoecu.com on Port: 389
OK: Connection Successful.
OK: Setting Protocol Version 3 Successful.
OK: Setting LDAP REFERRALS Option 0 Successful.
OK: Search Bind using LDAP supplied credentials Successful.
Applying search filter [(&(objectCategory=Computer)(sAMAccountName=KMS))]
OK: LDAP search (with filter [(&(objectCategory=Computer)(sAMAccountName=KMS))]) Successful.
Error: LDAP search failed.  No entries found.
Error: LDAP Test Failed. Closing connection.

I'm not sure what I'm doing wrong, but I get no entries found.  Could it be because there's a space in my Base DN?  Do I need some quotes around it for the space to be understood?




Also, when I click the "LDAP Browser" button I get redirected to the dashboard page of the Default Organization.
Any thoughts or suggestions would be greatly appreciated!

Thank you,
awingren
3 Comments   [ + ] Show comments

Comments

  • Thanks Jon_at_GLS!
    I tried dsquery and it didn't like it until I put quotes around it. I hadn't thought to try that until you mentioned it, so thanks!

    "OU=Member Servers,DC=mydomain,DC=com"

    Unfortunately for some reason my Org LDAP filter still doesn't sort servers to the servers org.
  • My advanced search was backwards. It should've been:

    (&(name=KBOX_COMPUTER_NAME)(objectcategory=computer))

    Now I get a good test result, but I still don't see servers moving into the servers org.
  • Also, I figured out that quotes are not needed needed even with the space in my Base DN.


Community Chosen Answer

1
It could be the space, so try enclosing it in quotes.  I use dsquery to ensure that I'm copying the DN correctly.

dsquery OU -name {omitted}
"CN={omitted},DC=com"

Answered 02/20/2018 by: Jon_at_GLS
Senior White Belt

All Answers

This content is currently hidden from public view.
Reason: Removed by member request For more information, visit our FAQ's.

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