From dedc9e32e57efa86475c32e6196b748df786892d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 9 Nov 2010 22:22:40 +0100 Subject: s4:dsdb/common: add DSDB_SECRET_ATTRIBUTES_EX() metze --- source4/dsdb/common/util.h | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/source4/dsdb/common/util.h b/source4/dsdb/common/util.h index a09392284d..afcb3dc7e7 100644 --- a/source4/dsdb/common/util.h +++ b/source4/dsdb/common/util.h @@ -38,15 +38,18 @@ bool is_attr_in_list(const char * const * attrs, const char *attr); -#define DSDB_SECRET_ATTRIBUTES \ - "currentValue", \ - "dBCSPwd", \ - "initialAuthIncoming", \ - "initialAuthOutgoing", \ - "lmPwdHistory", \ - "ntPwdHistory", \ - "priorValue", \ - "supplementalCredentials", \ - "trustAuthIncoming", \ - "trustAuthOutgoing", \ +#define DSDB_SECRET_ATTRIBUTES_EX(sep) \ + "currentValue" sep \ + "dBCSPwd" sep \ + "initialAuthIncoming" sep \ + "initialAuthOutgoing" sep \ + "lmPwdHistory" sep \ + "ntPwdHistory" sep \ + "priorValue" sep \ + "supplementalCredentials" sep \ + "trustAuthIncoming" sep \ + "trustAuthOutgoing" sep \ "unicodePwd" + +#define DSDB_SECRET_ATTRIBUTES_COMMA , +#define DSDB_SECRET_ATTRIBUTES DSDB_SECRET_ATTRIBUTES_EX(DSDB_SECRET_ATTRIBUTES_COMMA) -- cgit