Yes you can. If you are using ADSI then you could modify the sample at
http://msdn.microsoft.com/library/en...r_password.asp
changing the credentials in the OpenDsObject call to be those of the ADAM
principal.
ADAM principals have Change Password permission on the object that
represents them
by default, however see below.
A few points to note:
the ADAM principal will not, by default, be able to bind to the (user)
object that represents them
you will need to grant them that access, depending on how fine-grained you
want access to be
there are a variety of options for doing this.
password operations require a secure channel by default, as you are binding
as an ADAM principal
you will be doing a simple bind and so both the bind and the password
change operation will need
to be performed over SSL
passwords for ADAM principals on ADAM instances on servers in AD domains
are subject to
password complexity restrictions for the domain by default. I have a
problem with this in that I have
never managed to get an ADSI invoke of ChangePassword to work against an
ADAM instance when
password complexity is enabled, you may have better luck.
[If Dmitiri is tuned in I always get "Set password failed with error
8007202F" for ChangePassword
if I have password complexity enabled (SetPassword is OK).]
Hope this helps
Lee Flight
"Gene Vangampelaere" <> wrote in message
news: om...
> Can you bind to ADAM with an ADAM-user
> account and then change the password of that user?