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

Nathan Kinder nkinder at redhat.com
Tue Aug 7 22:48:16 UTC 2007


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=251262
Resolves: bug 251262
Bug Description: Our SNMP subagent (ldap-agent) currently requires a 
full path to
  a DS instance in it's config file.  It is hardcoded to look in the log 
subdirectory
  for the slapd.stats file.  It also uses expects a config subdirectory 
to find the
  dse.ldif.  This will no longer work now that DS has been restructured 
to follow
FHS standards.
Reviewed by: ???
Files: see diff
Branch: HEAD
Fix Description: The proposed fix changes the ldap-agent config to 
simply expect
  the instance name (i.e - slapd-foo).  The subagent will then use this 
instance
  name to load the dse.ldif from the proper location in 
$SYSCONFDIR/$PACKAGE_NAME.
  The subagent will look up the value of nsslapd-tmpdir to find out 
where the
  slapd.stats file is for that particular instance.  I also improved the 
error
  checking around processing the ldap-agent config file.
Platforms tested: FC6
Flag Day: no
Doc impact: Yes.  A bug will be opened to change the documentation of 
the ldap-agent "server" config parameter.
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160867&action=diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-devel/attachments/20070807/d846eef5/attachment.bin 


More information about the 389-devel mailing list