summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-11-09 22:22:40 +0100
committerStefan Metzmacher <metze@samba.org>2010-11-09 23:01:25 +0100
commitdedc9e32e57efa86475c32e6196b748df786892d (patch)
tree21b4d45e922c8871f0eb47f0b3feae82b808a8ec /source4/dsdb
parent2fba9500b380c14abd772a938a5c884521013b14 (diff)
downloadsamba-dedc9e32e57efa86475c32e6196b748df786892d.tar.gz
samba-dedc9e32e57efa86475c32e6196b748df786892d.tar.bz2
samba-dedc9e32e57efa86475c32e6196b748df786892d.zip
s4:dsdb/common: add DSDB_SECRET_ATTRIBUTES_EX()
metze
Diffstat (limited to 'source4/dsdb')
-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)