diff options
author | Michael Adam <obnox@samba.org> | 2010-01-20 17:54:40 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-01-21 13:01:24 +0100 |
commit | fb4679638d03a555c722c08ee1de121fc8ff23f1 (patch) | |
tree | 9dec00065ddd137cdae13974bc55d9ae2f3ada60 /source3/libsmb/clisecdesc.c | |
parent | 24d4433bd75366774945ed59c0043428dedea4ba (diff) | |
download | samba-fb4679638d03a555c722c08ee1de121fc8ff23f1.tar.gz samba-fb4679638d03a555c722c08ee1de121fc8ff23f1.tar.bz2 samba-fb4679638d03a555c722c08ee1de121fc8ff23f1.zip |
s4:rpc-server:samr: fix setting of lockout duration < lockout window
This should return NT_STATUS_INVALID_PARAMETER.
This makes samba pass the first part of the samr-lockout test.
This constraint is documented here for the samr server:
http://msdn.microsoft.com/en-us/library/cc245667%28PROT.10%29.aspx
MS-SAMR 3.1.1.6 Attribute Constraints for Originating Updates
and here for the ldap backend:
http://msdn.microsoft.com/en-us/library/cc223462(PROT.10).aspx
MS-ADTS 3.1.1.5.3.2 Constraints
So the check should actually be moved down into the backend,
i.e. under dsdb/samdb/ldb_modules - TODO..
Michael
Diffstat (limited to 'source3/libsmb/clisecdesc.c')
0 files changed, 0 insertions, 0 deletions