ACL and NetUserSetInfo
From: Tony (Tony@nospam.com)
- Next message: Tony: "how to remove shortcut from a user desktop"
- Previous message: Avi Drabkin: "Win2k Cert Server"
- In reply to: Dalibor Krleża: "ACL and NetUserSetInfo"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Tony" <Tony@nospam.com> Date: Mon, 15 Jul 2002 11:32:06 -0700
The best and the easiest way to change passwords in
Active Directory is to use ADSI as you can connect
directly to the database and read/make changes.
For more info, go to
There are lots of info and examples here that shows you
how to do things.
>I'm not sure if I'm in good group!?
>Well I have developed service application for some kind
of remote user
>management. Service was installed and
>started on several different computers, using Windows
2000, Windows XP, and
>there was no problems.
>I'm using NetUserSetInfo API for password changing. On
Windows 2000 Server
>with Active Directory I allways
>get error no 87 (Invalid Parameter). As you described in
>(August 2001.) there could be a problem
>using this API on machine with Active Directory.
Further, I need to set up
>security descriptors for this service
>and allow service to change passwords......
>Could you help me with this?? How to do that?? I was
reading help files and
>some books regarding Active Directory,
>Best regards, Dalibor!