summaryrefslogtreecommitdiff
path: root/source4/dsdb/common/util.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-11-09 19:44:12 +0100
committerStefan Metzmacher <metze@samba.org>2010-11-09 22:25:51 +0100
commit0e3a13f8cc2d1d56062945a9ccd9ab33153a2247 (patch)
treeaaedd04bf390e2081c2d3da8f5c893f2ff842a3e /source4/dsdb/common/util.c
parentc83a40ddbfe0710b9206f98f811bbf9056870ebe (diff)
downloadsamba-0e3a13f8cc2d1d56062945a9ccd9ab33153a2247.tar.gz
samba-0e3a13f8cc2d1d56062945a9ccd9ab33153a2247.tar.bz2
samba-0e3a13f8cc2d1d56062945a9ccd9ab33153a2247.zip
s4:dsdb/common: create a DSDB_SECRET_ATTRIBUTES define with all secret attributes
We should have them just in one place, so that we don't forget some of them. metze
Diffstat (limited to 'source4/dsdb/common/util.c')
-rw-r--r--source4/dsdb/common/util.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index 79a4c143c7..16d5011278 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -4070,18 +4070,8 @@ int dsdb_validate_dsa_guid(struct ldb_context *ldb,
return LDB_SUCCESS;
}
-static const char *secret_attributes[] = {
- "currentValue",
- "dBCSPwd",
- "initialAuthIncoming",
- "initialAuthOutgoing",
- "lmPwdHistory",
- "ntPwdHistory",
- "priorValue",
- "supplementalCredentials",
- "trustAuthIncoming",
- "trustAuthOutgoing",
- "unicodePwd",
+static const char * const secret_attributes[] = {
+ DSDB_SECRET_ATTRIBUTES,
NULL
};