[Fedora-directory-devel] Please Review: (251262) ldap-agent needs to find slapd.stats file dynamically

Andrew Bartlett abartlet at samba.org
Thu Aug 9 05:57:57 UTC 2007


On Wed, 2007-08-08 at 20:25 -0600, Richard Megginson wrote:
> Andrew Bartlett wrote:
> > On Tue, 2007-08-07 at 23:26 -0700, Nathan Kinder wrote:
> >   
> >> Rich brought up a good point in the bug report about the need to handle
> >> wrapped lines in the dse.ldif.
> >>
> >> This new set of diffs addresses this concern by using the ldif parsing
> >> functions from the libldif library that is part of the Mozilla LDAP C 
> >> SDK.  I
> >> also did some error checking cleanup, particularly ensuring that we 
> >> close any
> >> files that we opened if we encounter an error condition while processing the
> >> config.
> >>
> >> I have also tested that these changes work when there is a wrapped line for
> >> one of the attributes that we read in dse.ldif.
> >>
> >> https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160880&action=diff
> >>     
> >
> > This may well fix my bug
> > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239754
> >   
> I don't think so.  I think the crash you reported was in slapd?  
> Nathan's fix is for the snmp subagent.

Sure, but the issue starts because we could feed in invalid ldif in the
dse.ldif.  

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/389-devel/attachments/20070809/9033e5d4/attachment.bin 


More information about the 389-devel mailing list