summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-07-30 16:34:14 +0000
committerJeremy Allison <jra@samba.org>2003-07-30 16:34:14 +0000
commit316c77ed0b0feaded8d384d3e602842a41d5bb2a (patch)
tree3b0bff366e86c45bcecbe46c6310dde513e0cbd5
parentf5799f2db2080633999807cbaccea923f915588d (diff)
downloadsamba-316c77ed0b0feaded8d384d3e602842a41d5bb2a.tar.gz
samba-316c77ed0b0feaded8d384d3e602842a41d5bb2a.tar.bz2
samba-316c77ed0b0feaded8d384d3e602842a41d5bb2a.zip
Don't revert something until you've seen if volker has already fixed it :-).
Jeremy. (This used to be commit d57d9b99dfc2a83d91b952a11eb1ae4cf37e6467)
-rw-r--r--source3/libads/kerberos_verify.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/libads/kerberos_verify.c b/source3/libads/kerberos_verify.c
index 779028c7af..48b61cd1f2 100644
--- a/source3/libads/kerberos_verify.c
+++ b/source3/libads/kerberos_verify.c
@@ -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",