diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-11-09 19:44:12 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-11-09 22:25:51 +0100 |
commit | 0e3a13f8cc2d1d56062945a9ccd9ab33153a2247 (patch) | |
tree | aaedd04bf390e2081c2d3da8f5c893f2ff842a3e /source4/dsdb/common/util.h | |
parent | c83a40ddbfe0710b9206f98f811bbf9056870ebe (diff) | |
download | samba-0e3a13f8cc2d1d56062945a9ccd9ab33153a2247.tar.gz |
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.h')
-rw-r--r-- | source4/dsdb/common/util.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/dsdb/common/util.h b/source4/dsdb/common/util.h index fa876484cb9..a09392284de 100644 --- a/source4/dsdb/common/util.h +++ b/source4/dsdb/common/util.h @@ -37,3 +37,16 @@ #define DSDB_PROVISION 0x0800 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", \ + "unicodePwd" |