[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Session Resumption problems with JSSE-OpenLDAP



>Still, there might be a good reason to hang on to all the ldap_conn
>structures that were built on a particular LDAP session, after unbind.

One thing nss_ldap uses is ldap_ld_free() (if available, otherwise it
resorts to a kludge; see the code) so that it can free the LDAP handle
without sending an unbind PDU. This is necessary if the process forks,
and the socket in the child must be closed (hopefully without leaking
any memory) but not written to.

-- Luke


--
Luke Howard | lukehoward.com
PADL Software | www.padl.com