summaryrefslogtreecommitdiffstats
path: root/libcli/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-12-17 19:35:37 +0100
committerStefan Metzmacher <metze@samba.org>2013-12-24 09:10:06 +0100
commit202bcf9096e53d94b294936d6144ae77f1536b72 (patch)
treecddc251540ace08ea1f24fa3abcfe26465a6fb06 /libcli/auth
parent819e1f561df5074ae21db77c6558b34f4b0e1351 (diff)
downloadsamba-202bcf9096e53d94b294936d6144ae77f1536b72.tar.gz
samba-202bcf9096e53d94b294936d6144ae77f1536b72.tar.xz
samba-202bcf9096e53d94b294936d6144ae77f1536b72.zip
libcli/auth: set the return_authenticator->timestamp = 0
This is what windows returns, the value is ignored by the client anyway. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli/auth')
-rw-r--r--libcli/auth/credentials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/auth/credentials.c b/libcli/auth/credentials.c
index 1f664d35b61..197db86818c 100644
--- a/libcli/auth/credentials.c
+++ b/libcli/auth/credentials.c
@@ -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);