-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MS AD group of groups #4
Comments
|
I try your changes but did not work in my enviroment, i get no Objects back from ldapsearch Thx |
Turmio
added a commit
to Turmio/zabbix-ldap-sync-bash
that referenced
this issue
Aug 24, 2022
Fixes BernhardLinz#4. When using nested group search, full path to group must be provided.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
https://ldapwiki.com/wiki/Active%20Directory%20Group%20Related%20Searches
example
(memberOf:1.2.840.113556.1.4.1941:=CN=GroupOne,OU=Security Groups,OU=Groups,DC=YOURDOMAIN,DC=NET)
My MS AD group is made up of groups !
tested your script and it added in my groups ! :)
you can do 2 things, instead of taking the name of the group, ask for the DN
the instead of looking for member of the group do this
ldapsearch -x -o ldif-wrap=no -H -D "" -w XXX -b "(&(objectCategory=user)(memberOf:1.2.840.113556.1.4.1941:=))" -LLL dn mail
-LLL reduces the noise
make sure you only get users
and show only users who are members of the group
The text was updated successfully, but these errors were encountered: