diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-11-09 19:50:17 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-11-09 22:53:01 +0100 |
commit | 2fba9500b380c14abd772a938a5c884521013b14 (patch) | |
tree | 55a13315c5d5314c751d0eef93362f8fb2f1cde3 /source4/dsdb | |
parent | 9f39d4bfa4048dceaef98876085fe6a0263c80d5 (diff) | |
download | samba-2fba9500b380c14abd772a938a5c884521013b14.tar.gz |
s4:dsdb/local_password: use DSDB_SECRET_ATTRIBUTES
metze
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/local_password.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/local_password.c b/source4/dsdb/samdb/ldb_modules/local_password.c index e1b30544d24..f544689b8bc 100644 --- a/source4/dsdb/samdb/ldb_modules/local_password.c +++ b/source4/dsdb/samdb/ldb_modules/local_password.c @@ -35,6 +35,7 @@ #include "librpc/ndr/libndr.h" #include "dsdb/samdb/ldb_modules/password_modules.h" #include "dsdb/samdb/ldb_modules/util.h" +#include "dsdb/common/util.h" #define PASSWORD_GUID_ATTR "masterGUID" @@ -51,13 +52,8 @@ */ static const char * const password_attrs[] = { - "supplementalCredentials", - "unicodePwd", - "dBCSPwd", - "lmPwdHistory", - "ntPwdHistory", - "msDS-KeyVersionNumber", - "pwdLastSet" + "pwdLastSet", + DSDB_SECRET_ATTRIBUTES }; /* And we merge them back into search requests when asked to do so */ |