On Mon, 2010-09-27 at 23:36 +0200, Arthur de Jong wrote: > nslcd hangs while disconnecting from the first server. It hangs inside > OpenLDAP code. For non-TLS bind the unbind() only writes some data and > doesn't care about any answers, for an unbind() of a TLS connection some > response is expected from the server. > > I'll see of something can be done about this but I suspect it may be a > problem within OpenLDAP.
I've implemented a workaround in nslcd. It sets socket receiving and sending timeouts to the timelimit option of nslcd.conf [0]. This fixes the problem in my test set-up. I've also reported a bug on the OpenLDAP bug tracker [1]. [0] http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1264 [1] http://www.openldap.org/its/index.cgi/Incoming?id=6673 -- -- arthur - adej...@debian.org - http://people.debian.org/~adejong --
signature.asc
Description: This is a digitally signed message part