From 2fba9500b380c14abd772a938a5c884521013b14 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 9 Nov 2010 19:50:17 +0100 Subject: s4:dsdb/local_password: use DSDB_SECRET_ATTRIBUTES metze --- source4/dsdb/samdb/ldb_modules/local_password.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'source4/dsdb') 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 */ -- cgit