Old 9th June 2007, 12:58   #1
DonaldDuck999
Junior Member
 
Join Date: Jun 2007
Posts: 2
Question Active Directory plugin available?

Is there a plugin for a Windows 2003 Active Directory domain, e.g to get the group membership of an user, to manipulate user attributes or to add a user to an Active Directory group?

Thanks in advance for your help.
DonaldDuck999 is offline   Reply With Quote
Old 9th June 2007, 17:53   #2
nycjv321
Junior Member
 
Join Date: Sep 2006
Posts: 7
Send a message via AIM to nycjv321
why dont u "manage" active directory with scripts? calling tools such as dsadd,cvsde etc... etc...
nycjv321 is offline   Reply With Quote
Old 9th June 2007, 20:33   #3
DonaldDuck999
Junior Member
 
Join Date: Jun 2007
Posts: 2
Thank you for your feedback. I know that there are a lot of nice tools to manage the Active Directory but I need a simple solution to check from a NSIS installer package if a user is member of a specific group or not .....
DonaldDuck999 is offline   Reply With Quote
Old 9th June 2007, 20:50   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
There's a function in the Wiki that retrieves the user's group.

http://nsis.sourceforge.net/User_Man...s_Group.28s.29

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 13th June 2007, 13:27   #5
Mr Inches
Member
 
Join Date: Jan 2006
Location: Canberra, Australia
Posts: 76
I put some code together to do LDAP style searches on AD mid last year. e.g. it can do searches like:

/filter="(&(objectCategory=Group)(sAMAccountName=Domain*))" /attributelist="distinguishedName,objectSid"

(where filter is the search criteria and the attribute list is what attributes for each matching object to return.)

I never released it as it was a bit patchy, and still isn't complete.

I will see if it can be made presentable enough for a release, might be a couple of days though. It will probably be alpha release level code but I am happy to work on improving it, if there is a need for this type of functionality in NSIS.

Doing AD administration is a bit more involved, but I think could be done in a NSIS plug-in, possibly by extending the framework I developed for the search function.

Duncan
Mr Inches is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump