mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
libcli: Increase the debug level for expired tickets
In libads/sasl.c we do a retry in this case. We should not spam syslog with that. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Nov 2 05:22:38 CET 2016 on sn-devel-144
This commit is contained in:
parent
79dd22aacb
commit
e217b3ee41
@ -341,8 +341,13 @@ static NTSTATUS gse_get_client_auth_token(TALLOC_CTX *mem_ctx,
|
||||
status = NT_STATUS_MORE_PROCESSING_REQUIRED;
|
||||
break;
|
||||
default:
|
||||
DEBUG(0, ("gss_init_sec_context failed with [%s]\n",
|
||||
gse_errstr(talloc_tos(), gss_maj, gss_min)));
|
||||
if ((gss_maj == GSS_S_FAILURE) &&
|
||||
(gss_min == KRB5KRB_AP_ERR_TKT_EXPIRED)) {
|
||||
DBG_NOTICE("Ticket expired\n");
|
||||
} else {
|
||||
DBG_ERR("gss_init_sec_context failed with [%s]\n",
|
||||
gse_errstr(talloc_tos(), gss_maj, gss_min));
|
||||
}
|
||||
status = NT_STATUS_INTERNAL_ERROR;
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user