s4:auth/credentials/credentials.c - initialise "password_last_changed_time"
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Fri, 28 May 2010 20:30:50 +0000 (22:30 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 30 May 2010 09:12:24 +0000 (11:12 +0200)
Otherwise it could remain uninitialised.

source4/auth/credentials/credentials.c

index a129efe919fcb75998ad0d98c45e155ac6643263..8aff75373e71f74186edd604c6334dd207915be5 100644 (file)
@@ -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;