Re: Changing ADAM user password
- From: "Lee Flight" <lef@xxxxxxxxxxxxxxx>
- Date: Thu, 22 Jun 2006 10:49:29 +0100
I just tried this using ldp and an Delete/Add on unicodePwd:
--
0 = ldap_set_option(ld, LDAP_OPT_ENCRYPT, 1)
res = ldap_bind_s(ld, NULL, &NtAuthIdentity,
DIGEST (16518)); // v.3
{NtAuthIdentity:
User='cn=test1,ou=testou1,o=myorg,dc=myroot';
Pwd=<unavailable>; domain = ''}
Authenticated as:
'CN=test1,OU=testOU1,O=myorg,DC=myroot'.
***Call Modify...
ldap_modify_s(ld, 'CN=test1,OU=testOU1,O=myorg,DC=myroot'
,[2] attrs);
Error: Modify: Operations Error. <1>
Server error: 00002077: SvcErr:
DSID-0338070C, problem 5012 (DIR_ERROR), data 8237
Error 0x2077 Illegal modify operation.
Some aspect of the modification is not permitted.
--
Not sure if there is anything in code that could improve on this but at
first glance it appears that the security of the channel is not being
recognized in this case. Simple bind + SSL worked fine.
Lee Flight
"Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx> wrote
in message news:%23KRfPgalGHA.4540@xxxxxxxxxxxxxxxxxxxxxxx
I'll give the digest/encryption thing a try as soon as I get a chance to
flip my ADAM back to requiring encrypted password mods. :)
.
- Follow-Ups:
- Re: Changing ADAM user password
- From: Joe Kaplan \(MVP - ADSI\)
- Re: Changing ADAM user password
- References:
- Changing ADAM user password
- From: compurhythms@xxxxxxxxx
- Re: Changing ADAM user password
- From: compurhythms@xxxxxxxxx
- Re: Changing ADAM user password
- From: Joe Kaplan \(MVP - ADSI\)
- Re: Changing ADAM user password
- From: compurhythms@xxxxxxxxx
- Re: Changing ADAM user password
- From: compurhythms@xxxxxxxxx
- Re: Changing ADAM user password
- From: Joe Kaplan \(MVP - ADSI\)
- Re: Changing ADAM user password
- From: compurhythms@xxxxxxxxx
- Re: Changing ADAM user password
- From: Dmitri Gavrilov [MSFT]
- Re: Changing ADAM user password
- From: compurhythms@xxxxxxxxx
- Re: Changing ADAM user password
- From: Dmitri Gavrilov [MSFT]
- Re: Changing ADAM user password
- From: Joe Kaplan \(MVP - ADSI\)
- Changing ADAM user password
- Prev by Date: Re: Account Rename Policy
- Next by Date: Re: Domain Controller backup
- Previous by thread: Re: Changing ADAM user password
- Next by thread: Re: Changing ADAM user password
- Index(es):