summaryrefslogtreecommitdiff
path: root/source3/passdb/login_cache.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2004-12-20 18:42:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:42 -0500
commit84e0aafc78f9d91cde3a6b1c4a57d8ed3b6fd58c (patch)
treea1294bf12199d5da44ddbe13959c506a6b90d746 /source3/passdb/login_cache.c
parent111f62c00c31ac98d50c0a01e31cb1d44082be29 (diff)
downloadsamba-84e0aafc78f9d91cde3a6b1c4a57d8ed3b6fd58c.tar.gz
samba-84e0aafc78f9d91cde3a6b1c4a57d8ed3b6fd58c.tar.bz2
samba-84e0aafc78f9d91cde3a6b1c4a57d8ed3b6fd58c.zip
r4289: Close LDAP-Connection before retrying to open a new connection in the
retry-loop. This fixes a deadlock-situation when ldapsam is used with the ldapi interface: getpeername won't fail while trying to detect dead connections on unix domain sockets. When the ldapi-connection was closed server-side (due to OpenLDAP's idletimeout) we *never* got a new LDAP connection. Guenther (This used to be commit ac8032bacff10451fa03f155d43f0d20389512fa)
Diffstat (limited to 'source3/passdb/login_cache.c')
0 files changed, 0 insertions, 0 deletions