diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-20 21:15:57 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-20 21:15:57 +0100 |
commit | d9f97cd57f9f797c25212f2fc2d9791733a24ca0 (patch) | |
tree | b04f849d6a493d4930a884cc6bddfc8b0a3a1eef /source4/dsdb/samdb/ldb_modules | |
parent | 87ddd5a807298348c95ce5cb720fd9cd87618953 (diff) | |
download | samba-d9f97cd57f9f797c25212f2fc2d9791733a24ca0.tar.gz samba-d9f97cd57f9f797c25212f2fc2d9791733a24ca0.tar.bz2 samba-d9f97cd57f9f797c25212f2fc2d9791733a24ca0.zip |
s4:objectclass_attrs LDB module - add more delete protected attributes
And enhance the testsuite
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/objectclass_attrs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c b/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c index 67d11b302d..ba1f7abad1 100644 --- a/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c +++ b/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c @@ -203,7 +203,10 @@ static int attr_handler2(struct oc_context *ac) /* There exists a hardcoded delete-protected attributes list in AD */ const char *del_prot_attributes[] = { "nTSecurityDescriptor", "objectSid", "sAMAccountType", "sAMAccountName", "groupType", - "primaryGroupID", "userAccountControl", NULL }, **l; + "primaryGroupID", "userAccountControl", "accountExpires", + "badPasswordTime", "badPwdCount", "codePage", "countryCode", + "lastLogoff", "lastLogon", "logonCount", "pwdLastSet", NULL }, + **l; const struct dsdb_attribute *attr; unsigned int i; bool found; |