|
|
|
|
#1 |
|
Junior Member
Join Date: Jun 2007
Posts: 2
|
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. |
|
|
|
|
|
#2 |
|
Junior Member
|
why dont u "manage" active directory with scripts? calling tools such as dsadd,cvsde etc... etc...
|
|
|
|
|
|
#3 |
|
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 .....
|
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] 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 |
|
|
|
|
|
#5 |
|
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 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|