diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-19 23:27:42 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:52:05 +0100 |
commit | 3e75f222bcdf114238cc4f2bcc61332dc059135f (patch) | |
tree | 9b1d7c25483c2819eb34e185459537b6a065e772 /source4/dsdb/samdb/ldb_modules/password_hash.c | |
parent | c2fffa8335ac68ff70de52f9fc80fb49e5d6d686 (diff) | |
download | samba-3e75f222bcdf114238cc4f2bcc61332dc059135f.tar.gz samba-3e75f222bcdf114238cc4f2bcc61332dc059135f.tar.bz2 samba-3e75f222bcdf114238cc4f2bcc61332dc059135f.zip |
r26539: Remove unnecessary statics.
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/password_hash.c')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/password_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c index d139cc23a4..03c2bbc7ae 100644 --- a/source4/dsdb/samdb/ldb_modules/password_hash.c +++ b/source4/dsdb/samdb/ldb_modules/password_hash.c @@ -1198,7 +1198,7 @@ static int build_domain_data_request(struct ph_context *ac) /* attrs[] is returned from this function in ac->dom_req->op.search.attrs, so it must be static, as otherwise the compiler can put it on the stack */ - static const char * const attrs[] = { "pwdProperties", "pwdHistoryLength", NULL }; + const char * const attrs[] = { "pwdProperties", "pwdHistoryLength", NULL }; char *filter; ac->dom_req = talloc_zero(ac, struct ldb_request); @@ -1662,7 +1662,7 @@ static int get_self_callback(struct ldb_context *ldb, void *context, struct ldb_ static int password_hash_mod_search_self(struct ldb_handle *h) { struct ph_context *ac; - static const char * const attrs[] = { "userAccountControl", "lmPwdHistory", + const char * const attrs[] = { "userAccountControl", "lmPwdHistory", "ntPwdHistory", "objectSid", "msDS-KeyVersionNumber", "objectClass", "userPrincipalName", |