problem with passwords.py solved
nivanova at samba.org
Tue Jun 29 07:49:31 MDT 2010
With Kamen's help, we determined that the reason the tests was not passing
in my environment is that it appears by default minPwdAge is set to one day.
therefore we simply cannot change the user password several times in one
second, and get constraint violation. So it turns out, we have to set/reset
minPwdAge as well at the beginning and end of the testsuite to avoid the
kind of problems I had. I'll do this in acl.py to handle the negative tests,
and if you don't mind will add the same to passwords.py. We should not
forget, however, that this means that Samba 4 does not take minPwdAge into
account the same way Windows does, which is maybe a bug...
More information about the samba-technical