OU of an specific CN? for example all ou=roles and ou=groups of a cn=user
Mohammad does 1 question and he gets 3 answers... but my question 0 answers...
I found how to do that, if somebody wants to know, im searching from the main DC, and greping like this: $ ldapsearch "a lot of parameters" | egrep "dn:|username" | grep -B1 username this way i search over all the fucking ldap and greping all the "dn:" entries and then the username, the next grep gets the user appearance and gets the last DN entry, this indicates that this DN is the object refering the user
Обсуждают сегодня