Locate objects in Active Directory

9 views
Skip to first unread message

Sagan

unread,
Sep 5, 2022, 2:49:53 PM9/5/22
to Ansible Project

Greetings,


I'm having a bit of a tool gap because I can't quite figure out where to go here... here's what I want to do.


I have a list with the OU names, very straightforward. And what I need to do is, use that list to find all the users that are in those UOs. Now here's the issue, the AD is very big and I have pinned down where all the users I need are but there are still a lot of branches and I can't tell where they are.


Is there a way that ansible can locate these UOs?

Dick Visser

unread,
Sep 5, 2022, 8:56:54 PM9/5/22
to ansible...@googlegroups.com
No. You need to tune the exact ldap query that will get the desired results (for instance with ldapquery) and then you can use 


--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/87f16d26-09ba-4207-9e95-363c870207e1n%40googlegroups.com.
--
Sent from Gmail Mobile
Reply all
Reply to author
Forward
0 new messages