summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/common/util.h25
1 files 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)