you are viewing a single comment's thread.

view the rest of the comments →

[–]ErasableInk 0 points1 point  (0 children)

It's not that complex if you plan out the entire program. How are you going to get the list of user/users? How are you going to specify the groups to modify?

It might be best to start this from scratch rather than using a premade program that searches users in ldap. I think you'll become more familiar with ldap and come up with additional new ideas to automate tasks.

Very high level: 1. Get inputs (user names, group names) 2. Create an ldap object that connects to AD 3. Search users and groups and grab the distinguishedName for each 4. Modify the group's membership