[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#3937) slapo-unique logs to user.debug with slapcat
quanah@stanford.edu wrote:
> Full_Name: Quanah Gibson-mount
> Version: 2.3.5
> OS: Solaris 8
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (171.66.182.82)
>
>
> Looking at my syslog today, I found the following lines:
>
> Aug 14 11:45:13 ldap-dev0.Stanford.EDU slapd[16688]: [ID 871918 user.debug]
> /usr/local/etc/openldap/slapd.conf: line 102: new base dn
> <cn=people,dc=stanford,dc=edu>
> Aug 14 11:45:13 ldap-dev0.Stanford.EDU slapd[16688]: [ID 267234 user.debug]
> /usr/local/etc/openldap/slapd.conf: line 103: new attribute <suunivid>
> Aug 14 11:45:13 ldap-dev0.Stanford.EDU slapd[16688]: [ID 267234 user.debug]
> /usr/local/etc/openldap/slapd.conf: line 103: new attribute <suproxycardnumber>
> Aug 14 11:45:13 ldap-dev0.Stanford.EDU slapd[16688]: [ID 267234 user.debug]
> /usr/local/etc/openldap/slapd.conf: line 103: new attribute <sucardnumber>
> Aug 14 11:45:13 ldap-dev0.Stanford.EDU slapd[16688]: [ID 267234 user.debug]
> /usr/local/etc/openldap/slapd.conf: line 103: new attribute
> <suuniqueidentifier>
>
> This appeared to have occurred while running the "slapcat" tool mode of slapd.
We only call openlog() for slapd, not in tool mode. We initialize
ldap_syslog to zero in tool mode, because there's no reason for command
line tools to be sending any messages to syslog (as opposed to stderr)
but if you have a "loglevel" directive in your slapd config, that will
take effect and so Debug messages from the tools will get copied to
syslog. We can't just ignore the loglevel directive in tool mode,
otherwise using slaptest to convert a slapd.conf file to slapd.d format
will miss this directive.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/