Get Windows Active Directory Groups

Share your advanced PureBasic knowledge/code with the community.
User avatar
OldSkoolGamer
Enthusiast
Enthusiast
Posts: 150
Joined: Mon Dec 15, 2008 11:15 pm
Location: Nashville, TN
Contact:

Re: Get Windows Active Directory Groups

Post by OldSkoolGamer »

I was doing some research on MSDN (all I have to say is WHOA) & it looks like it may be a domain issue. One thing I noticed was that by default when you do a search it's only on your current domain, it seem you have to change the search parameters to the default AD base directory before doing the search, but I got no idea on how to do that :roll: or I would.
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Re: Get Windows Active Directory Groups

Post by flaith »

First post modified with the possibility to use several DC (look at the datasection) :wink:
“Fear is a reaction. Courage is a decision.” - WC
User avatar
OldSkoolGamer
Enthusiast
Enthusiast
Posts: 150
Joined: Mon Dec 15, 2008 11:15 pm
Location: Nashville, TN
Contact:

Re: Get Windows Active Directory Groups

Post by OldSkoolGamer »

Sweet !!, Thank you very much, talk about fast response time. Hopefully I'll understand all this & more someday... :roll:
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Re: Get Windows Active Directory Groups

Post by flaith »

OldSkoolGamer wrote:Sweet !!, Thank you very much, talk about fast response time.
Thanks :mrgreen:
OldSkoolGamer wrote:Hopefully I'll understand all this & more someday... :roll:
You certainly will :D
“Fear is a reaction. Courage is a decision.” - WC
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Re: Get Windows Active Directory Groups

Post by flaith »

Added a version with all of the Domain Controllers in a pref file (see first post)

tip : a '?' in the user login gives you version, program,.. and list of your selected domains :mrgreen:
“Fear is a reaction. Courage is a decision.” - WC
Post Reply