svn commit: samba r21240 - in branches/SAMBA_3_0/source: include libads libsmb nsswitch rpc_client utils

Jeremy Allison jra at samba.org
Thu Feb 8 17:48:14 GMT 2007


On Thu, Feb 08, 2007 at 05:02:42PM +0000, gd at samba.org wrote:
> Author: gd
> Date: 2007-02-08 17:02:39 +0000 (Thu, 08 Feb 2007)
> New Revision: 21240
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21240
> 
> Log:
> Fix longstanding Bug #4009.
> 
> For the winbind cached ADS LDAP connection handling
> (ads_cached_connection()) we were (incorrectly) assuming that the
> service ticket lifetime equaled the tgt lifetime. For setups where the
> service ticket just lives 10 minutes, we were leaving hundreds of LDAP
> connections in CLOSE_WAIT state, until we fail to service entirely with
> "Too many open files".
> 
> Also sequence_number() in winbindd_ads.c needs to delete the cached LDAP
> connection after the ads_do_search_retry() has failed to submit the
> search request (although the bind succeeded (returning an expired
> service ticket that we cannot delete from the memory cred cache - this
> will get fixed later)).

Worth adding to SAMBA_3_0_25 also ? Or not yet safe ?


More information about the samba-technical mailing list