git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6582d47
)
s4-auth: fixed infinite loop in krb5 auth
author
Andrew Tridgell
<tridge@samba.org>
Sun, 14 Nov 2010 03:26:06 +0000
(14:26 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Sun, 14 Nov 2010 04:11:28 +0000
(
04:11
+0000)
we were continually trying the first address returned, instead of
moving to the next address
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sun Nov 14 04:11:28 UTC 2010 on sn-devel-104
source4/auth/kerberos/krb5_init_context.c
patch
|
blob
|
history
diff --git
a/source4/auth/kerberos/krb5_init_context.c
b/source4/auth/kerberos/krb5_init_context.c
index ebe19e6b2580c0d439cb84dc39dbce4e2b6050dc..78f3e1fca7df247656cad1ae6efbbd90bfeff472 100644
(file)
--- a/
source4/auth/kerberos/krb5_init_context.c
+++ b/
source4/auth/kerberos/krb5_init_context.c
@@
-238,7
+238,7
@@
krb5_error_code smb_krb5_send_and_recv_func(krb5_context context,
return ret;
}
- for (a = ai; a; a = a
i
->ai_next) {
+ for (a = ai; a; a = a->ai_next) {
struct socket_address *remote_addr;
smb_krb5 = talloc(tmp_ctx, struct smb_krb5_socket);
if (!smb_krb5) {