Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Active Directory plugin available? (http://forums.winamp.com/showthread.php?t=272544)

DonaldDuck999 9th June 2007 12:58

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.

nycjv321 9th June 2007 17:53

why dont u "manage" active directory with scripts? calling tools such as dsadd,cvsde etc... etc...

DonaldDuck999 9th June 2007 20:33

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 .....

kichik 9th June 2007 20:50

There's a function in the Wiki that retrieves the user's group.

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

Mr Inches 13th June 2007 13:27

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


All times are GMT. The time now is 17:54.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.