mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Don't revert something until you've seen if volker has already fixed it :-).
Jeremy.
(This used to be commit d57d9b99df
)
This commit is contained in:
parent
f5799f2db2
commit
316c77ed0b
@ -140,7 +140,6 @@ NTSTATUS ads_verify_ticket(ADS_STRUCT *ads, const DATA_BLOB *ticket,
|
||||
goto out;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* Lock a mutex surrounding the replay as there is no locking in the MIT krb5
|
||||
* code surrounding the replay cache... */
|
||||
|
||||
@ -149,7 +148,6 @@ NTSTATUS ads_verify_ticket(ADS_STRUCT *ads, const DATA_BLOB *ticket,
|
||||
sret = NT_STATUS_LOGON_FAILURE;
|
||||
goto out;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* We need to setup a auth context with each possible encoding type in turn. */
|
||||
for (i=0;enctypes[i];i++) {
|
||||
@ -176,9 +174,7 @@ NTSTATUS ads_verify_ticket(ADS_STRUCT *ads, const DATA_BLOB *ticket,
|
||||
(unsigned int)enctypes[i], error_message(ret)));
|
||||
}
|
||||
|
||||
#if 0
|
||||
release_server_mutex();
|
||||
#endif
|
||||
|
||||
if (!auth_ok) {
|
||||
DEBUG(3,("ads_verify_ticket: krb5_rd_req with auth failed (%s)\n",
|
||||
|
Loading…
Reference in New Issue
Block a user