summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-28 22:30:50 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-30 11:12:24 +0200
commit9bfd2c8ebc4d7dbd3fd6f47877d31e7e8f4721a5 (patch)
treebc602f442e6797671e1929af19121e656a07c2cc
parentf1d7d6d4df64b74ce00498e6cd9e49b2c0ec7ea0 (diff)
downloadsamba-9bfd2c8ebc4d7dbd3fd6f47877d31e7e8f4721a5.tar.gz
samba-9bfd2c8ebc4d7dbd3fd6f47877d31e7e8f4721a5.tar.bz2
samba-9bfd2c8ebc4d7dbd3fd6f47877d31e7e8f4721a5.zip
s4:auth/credentials/credentials.c - initialise "password_last_changed_time"
Otherwise it could remain uninitialised.
-rw-r--r--source4/auth/credentials/credentials.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/auth/credentials/credentials.c b/source4/auth/credentials/credentials.c
index a129efe919..8aff75373e 100644
--- a/source4/auth/credentials/credentials.c
+++ b/source4/auth/credentials/credentials.c
@@ -94,6 +94,8 @@ _PUBLIC_ struct cli_credentials *cli_credentials_init(TALLOC_CTX *mem_ctx)
cred->kvno = 0;
+ cred->password_last_changed_time = 0;
+
cred->smb_krb5_context = NULL;
cred->machine_account_pending = false;