summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-11-09 19:50:17 +0100
committerStefan Metzmacher <metze@samba.org>2010-11-09 22:53:01 +0100
commit2fba9500b380c14abd772a938a5c884521013b14 (patch)
tree55a13315c5d5314c751d0eef93362f8fb2f1cde3
parent9f39d4bfa4048dceaef98876085fe6a0263c80d5 (diff)
downloadsamba-2fba9500b380c14abd772a938a5c884521013b14.tar.gz
samba-2fba9500b380c14abd772a938a5c884521013b14.tar.bz2
samba-2fba9500b380c14abd772a938a5c884521013b14.zip
s4:dsdb/local_password: use DSDB_SECRET_ATTRIBUTES
metze
-rw-r--r--source4/dsdb/samdb/ldb_modules/local_password.c10
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 e1b30544d2..f544689b8b 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 */