/build/static/layout/Breadcrumb_cap_w.png

Miscellaneous Question


LDAP Labels for users not applying

05/24/2016 1081 views
I've already taken a look at one post that has been linked several times when it comes to creating labels:
http://www.itninja.com/blog/view/k1000-labels-effective-organization-process-flow-using-manual-smart-ldap-labels-and-label-groups

That post was very helpful when I was trying to solve a problem with my LDAP labels applying to all users that was logging in on the network. I was wanting to do something similar with labeling people that were from different offices in the company, but my college and I do not use the department field like what Jverbosk used in his examples. Instead, I created a search that returned the users I wanted to label and added (samaccountname=KBOX_USER_NAME) into my search in hope that would fix the problem with the label applying to all users. 

My end result was a search that looked like this.
Base: OU=User OU,DC=Domain,DC=local
Filter: (&(&(samaccountname=KBOX_USER_NAME)(objectClass=user))(memberOf=CN=User Group,OU=User OU,DC=Domain,DC=local))

I would like if someone could point out if I am making any errors, or confirm that the LDAP user label bug is still present in version 6.4.120756 of the kbox. 
1 Comment   [ + ] Show comment

Comments

  • Are your users logging into the KBox user portal? It is my understanding that smart labels for users only get applied after the login to the user portal.
    • At the moment, we have a GPO pushed out to log the users in when ever they use chrome or IE. We've imported credentials from AD to make it easier on the user along with single sign on. I know that it was working at least in some kind of fashion before I started using the kbox variables because everyone was being given the label when they were coming back from lunch.
  • This content is currently hidden from public view.
    Reason: Removed by member request For more information, visit our FAQ's.

All Answers

1
I finally answered my own question after sometime of struggling. It just took me a little while to come back in case someone is having issues. 

The syntax I was using for the search was wrong: 
Base: OU=User OU,DC=Domain,DC=local
Filter: (&(samaccountname=KBOX_USER_NAME)(memberOf=CN=User Group,OU=User OU,DC=Domain,DC=local))

I had to drop the objectclass part of the filter along with taking off the extra & symbol in the front. The objectClass is only used to test if the body of the filter is correct when using the LDAP browser. 
Answered 05/31/2016 by: Bcrunner
White Belt

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