diff options
-rw-r--r-- | nsswitch/winbind_krb5_locator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/winbind_krb5_locator.c b/nsswitch/winbind_krb5_locator.c index db6e8d0d6c..e921caea59 100644 --- a/nsswitch/winbind_krb5_locator.c +++ b/nsswitch/winbind_krb5_locator.c @@ -192,7 +192,7 @@ static krb5_error_code smb_krb5_locator_call_cbfunc(const char *name, break; } - if (ret == EAI_AGAIN) { + if ((ret == EAI_AGAIN) && (count > 1)) { count--; continue; } |