summaryrefslogtreecommitdiff
path: root/nsswitch/winbind_nss_linux.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-08-19 21:40:54 -0700
committerJeremy Allison <jra@samba.org>2011-08-19 21:40:54 -0700
commit6c3779c80bd2d657a88fb030e16dee10dca45f36 (patch)
tree584b307bc8af9716d38be511c280788611c73c74 /nsswitch/winbind_nss_linux.h
parentce8a1a29ad195add38908785e7a2f4ddec3235ba (diff)
downloadsamba-6c3779c80bd2d657a88fb030e16dee10dca45f36.tar.gz
samba-6c3779c80bd2d657a88fb030e16dee10dca45f36.tar.bz2
samba-6c3779c80bd2d657a88fb030e16dee10dca45f36.zip
Remove the tortured logic in another_ldap_try() and turn it into
get_cached_ldap_connect(), which much better describes it's function. Now we always break at the right places in the loop, we can replace the while (another_ldap_try(ldap_state, &rc, &attempts, abs_endtime)) construct with simply while (1).
Diffstat (limited to 'nsswitch/winbind_nss_linux.h')
0 files changed, 0 insertions, 0 deletions