Timeouts in HEAD ldap code.
Jeremy Allison
jra at samba.org
Wed Jun 1 16:31:15 GMT 2005
On Wed, Jun 01, 2005 at 06:21:12PM +0200, Volker Lendecke wrote:
> On Wed, Jun 01, 2005 at 08:57:31AM -0700, Jeremy Allison wrote:
> > We have 2 cases for LDAP activity :
> >
> > 1). We're using LDAP library code - not signal safe and using alarm() to
> > terminate timed out reads().
>
> ...
>
> > 2). We're using our own LDAP ASN.1 read code - using read_data_until().
>
> And as right now we only really do LDAP using 1) for merging I don't think
> anything needs to be done except making sure that current 3_0 is fine.
>
> Jerry: I'd be perfectly happy if you deleted the homegrown LDAP asn1 stuff
> from trunk, we have a copy in the ntprinting temporary tree.
I'm confused, do you want to abandon the home-written ASN.1 stuff ?
It'll be more efficient than Blocking/Unblocking signals on each
LDAP call.
Jeremy
More information about the samba-technical
mailing list