libcli/auth: set the return_authenticator->timestamp = 0
authorStefan Metzmacher <metze@samba.org>
Tue, 17 Dec 2013 18:35:37 +0000 (19:35 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 17 Dec 2013 19:08:28 +0000 (20:08 +0100)
This is what windows returns, the value is ignored by the client anyway.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
libcli/auth/credentials.c

index 1f664d35b61d763fd368e1471ac115632e1e1afd..197db86818c471a41256cfac4b9843b894fb0e20 100644 (file)
@@ -479,7 +479,7 @@ NTSTATUS netlogon_creds_server_step_check(struct netlogon_creds_CredentialState
        netlogon_creds_step(creds);
        if (netlogon_creds_server_check_internal(creds, &received_authenticator->cred)) {
                return_authenticator->cred = creds->server;
-               return_authenticator->timestamp = creds->sequence;
+               return_authenticator->timestamp = 0;
                return NT_STATUS_OK;
        } else {
                ZERO_STRUCTP(return_authenticator);