diff options
author | Gerald Carter <jerry@samba.org> | 2007-09-11 14:30:30 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2007-09-11 14:30:30 +0000 |
commit | 0d6560c568027ffd9899bc2dcada3ae69ec7d1a2 (patch) | |
tree | f6c3be6743d8d255c828666669972fc62b9d01cd /source/nsswitch/winbindd_cache.c | |
parent | c151f3a3c322baff21293327d6e4683fcafb10e9 (diff) | |
download | samba-0d6560c568027ffd9899bc2dcada3ae69ec7d1a2.tar.gz samba-0d6560c568027ffd9899bc2dcada3ae69ec7d1a2.tar.xz samba-0d6560c568027ffd9899bc2dcada3ae69ec7d1a2.zip |
r25078: Checking in changes for 3.0.26asamba-3.0.26a
Diffstat (limited to 'source/nsswitch/winbindd_cache.c')
-rw-r--r-- | source/nsswitch/winbindd_cache.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source/nsswitch/winbindd_cache.c b/source/nsswitch/winbindd_cache.c index a2b8cb4193e..a88a061686c 100644 --- a/source/nsswitch/winbindd_cache.c +++ b/source/nsswitch/winbindd_cache.c @@ -1133,14 +1133,15 @@ do_query: domain->name )); status = domain->backend->query_user_list(domain, mem_ctx, num_entries, info); - if (!NT_STATUS_IS_OK(status)) + if (!NT_STATUS_IS_OK(status)) { DEBUG(3, ("query_user_list: returned 0x%08x, " "retrying\n", NT_STATUS_V(status))); - if (NT_STATUS_EQUAL(status, NT_STATUS_UNSUCCESSFUL)) { - DEBUG(3, ("query_user_list: flushing " - "connection cache\n")); - invalidate_cm_connection(&domain->conn); - } + } + if (NT_STATUS_EQUAL(status, NT_STATUS_UNSUCCESSFUL)) { + DEBUG(3, ("query_user_list: flushing " + "connection cache\n")); + invalidate_cm_connection(&domain->conn); + } } while (NT_STATUS_V(status) == NT_STATUS_V(NT_STATUS_UNSUCCESSFUL) && (retry++ < 5)); |