summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-14 14:26:06 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-14 04:11:28 +0000
commit7cb0f95bf28c24c45955d6df52f505019341ef31 (patch)
tree189e64a17ebf38edf63be137352d756f00f67929 /source4
parent6582d4739c25a879c58fc768290b3f97ecf795c7 (diff)
downloadsamba-7cb0f95bf28c24c45955d6df52f505019341ef31.tar.gz
samba-7cb0f95bf28c24c45955d6df52f505019341ef31.tar.bz2
samba-7cb0f95bf28c24c45955d6df52f505019341ef31.zip
s4-auth: fixed infinite loop in krb5 auth
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
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/kerberos/krb5_init_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/krb5_init_context.c b/source4/auth/kerberos/krb5_init_context.c
index ebe19e6b25..78f3e1fca7 100644
--- 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 = ai->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) {