/build/static/layout/Breadcrumb_cap_w.png
03/28/2019 81 views

Hello All,

I've created an LDAP label that queries machines that belong to an AD security group.  The associated "parent" manual label is restricted to Device Inventory and the LDAP smart label details are set.  Testing the query is successful. (results below)

When attempting to filter devices in the Inventory -> Devices view using the "View By:" drop down, the label is not visible.  The device smart labels I created are visible, but not the LDAP label.  I am able to see the LDAP label in a Patch detection schedule as well.  I also tried adding the LDAP label to a device label group, but it still won't show in the "View By:" drop down.  Am I missing something?

Thanks in advance for any help you can lend.

Scott


Testing LDAP Label Settings...
Testing "<Redacted> Group" connection to: 192.<redacted> 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 [(&(name=*)(memberOf=CN=<Redacted>_Group,OU=Security,OU=Groups,DC=<redacted>,DC=net))]
OK: LDAP search (with filter [(&(name=*)(memberOf=CN=<Redacted>_Group,OU=Security,OU=Groups,DC=<redacted>,DC=net))]) Successful.
OK: LDAP Search successful with 14 entries found.
OK: LDAP Test Successful. Closing connection.


0 Comments   [ + ] Show comments

Comments


All Answers

0

Apparently the LDAP label needed devices to perform an inventory in order to show as a 'member' of the label.  The LDAP label now shows in the "View By:" drop down but only showed one workstation vs. the expected 14.  But that one workstation had done an inventory since the label was created.  To confirm, I forced an inventory on another machine and it started to show as well.  So, I just wasn't patient enough.

Scott

Answered 03/28/2019 by: sferguson@bodmanlaw.com
White Belt

  • This is the expected behavior for all smart and LDAP labels, they will be applied when the machine updates inventory. Also, as you discovered, only labels with a device associated with them will be shown in the View By: dropdown.