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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux