1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/rpc_server/samr
Michael Adam fb4679638d 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
2010-01-21 13:01:24 +01:00
..
dcesrv_samr.c s4:rpc-server:samr: fix setting of lockout duration < lockout window 2010-01-21 13:01:24 +01:00
dcesrv_samr.h s4:samr Use ldb_context * rather than void * 2009-04-23 12:19:10 +02:00
samr_password.c s4:samr RPC - Use more LDB constants 2009-11-21 19:53:37 +01:00