s4-dsdb: Extended samdb.newuser to accept security descriptor for the object and...
authorNadezhda Ivanova <nivanova@samba.org>
Tue, 23 Nov 2010 15:48:53 +0000 (17:48 +0200)
committerNadezhda Ivanova <nivanova@samba.org>
Tue, 23 Nov 2010 16:15:16 +0000 (17:15 +0100)
commit3001a514dd034f2ab2ab1b8d688302508b545741
treef39144c04d897a6190c4f2d99bd8f363be4bf22b
parentaa54713615c5d0367528733ff2c3a5650eed96f7
s4-dsdb: Extended samdb.newuser to accept security descriptor for the object and optionally skip password reset

Sometimes for testing purposes we create users without any permissions on their objects and password reset
cannot be performed at that point, and is not necessary. For this purpose we can now optionally skip this step.
The default is still to reset the user password.
Also, a security.descriptor object can be specified during the user creation to override using the default one.
defaultSecurityDescriptor is still used by default.
source4/scripting/python/samba/samdb.py