I'm glad tell you that all is working fine right now
Here are all things that I did:
I installed AD in a virtual server using vbox, the SO is windows 2003
SP2
I added following objects to my schema:
pwmEventLog as "Octet String" single-valued attribute
pwmLastPwdUpdate as "Generalized time" single-valued attribute
pwmResponseSet as "Octet String" single-valued attribute
pwmUser as Auxiliary class with these 3 attributes as optionals
(not mandatory)
I configured PWM to use ldap (368) with a proxy user as member of
"Domain Admins", "Schema Admins", "Enterprise Admins" and
"Administrators"
I tried to setup my password responses using the user "Rene" (as
member of all admins groups like the proxy user) and I got a error, to
resolve this issue I had to elevate the functional level to Windows
2003 in the domain and the forest.
I tried again and it was sucessfull
After that, I tried to setup my password using the "Forgotten
Password" utility and I got a ldap error unwilling_to_perform when the
PWM was trying to change the password.
I did all these tests using wireshark to sniff the requests.
After some searches in google I found that Windows permit change the
password only when the request comes with SASL\SSL encryption (http://
support.microsoft.com/?kbid=269190). I tried to change to ldaps
connection and I got a handshake_failure in wireshark when the PWM was
trying to setup the SSL channel. To work around this issue I installed
a self signed certificate to enable ldaps in my AD as Windows says
here:
http://support.microsoft.com/kb/321051 and I enabled
"Promiscuous SSL mode".
With this I was able to get the ChangePassword form but when I wrote
my new password and I did click in Change Password I got:
Unknown error. If this error occurs repeatedly please contact your
helpdesk.
2011-04-11 20:00:31, WARN , pwm.PasswordUtility, {~,rene} error
setting password for user 'CN=rene,CN=Users,dc=misantla,dc=com'' 5015
ERROR_UNKNOWN ([LDAP: error code 19 - 0000052D: AtrErr:
DSID-03190F00,
#1: [140.50.4.58]
0: 0000052D: DSID-03190F00, problem 1005
(CONSTRAINT_ATT_TYPE), data
0, Att 9005a (unicodePwd)
]), [LDAP: error code 19 - 0000052D: AtrErr: DSID-03190F00, #1:
0: 0000052D: DSID-03190F00, problem 1005
(CONSTRAINT_ATT_TYPE), data
0, Att 9005a (unicodePwd)
]
Today I changed my passwords policies to:
Enforce Password History: 0 (Do not keep password history)
Maximum Password Age : 30
Minimum Password Age: 0 (Password can be changed immediately)
Minimum Password Length: 8
Password must meet complexity requirements: disable
Store passwords using reversible encryption: disable
And what was the problem??? Minimum password age..... ha ha ha ha....
Now... what must I do?? I must remove the users from groups and add
the especific rights... and I'll try again...
Thank you Matt and Jason... I hope that my comments could help others
who are trying to implement PWM with Windows AD
On 12 abr, 05:49, Jason Rivard <
jriv...@gmail.com> wrote:
> Other possibility might be that your using cleartext 'ldap' where AD
> requires 'ldaps' for password changes.
>
>
>
>
>
>
>
> On Mon, Apr 11, 2011 at 10:35 PM, Matt Weisberg <
mweisb...@gmail.com> wrote:
>
> > That sure sounds like an issue either with the password not meeting the AD
> > policy or the user not being allowed to change their own password.
>
> > This is Windows 2003, correct? 2003 functional level? How do you have these
> > set in the domain security policy:
>
> > Enforce Password History
> > Maximum Password Age
> > Minimum Password Age
> > Minimum Password Length
> > Password must meet complexity requirements
> > Store passwords using reversible encryption
>
> > If this user logs in with a regular Windows client/desktop, can they change
> > their password?
>
> > Matt
>