OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Incoming/7584
Full headers

From: fumiyas@osstech.co.jp
Subject: slapd ignores loglevel packets, ber and parse.
Compose comment
Download message
State:
0 replies:
2 followups: 1 2

Major security issue: yes  no

Notes:

Notification:


Date: Tue, 07 May 2013 07:18:18 +0000
From: fumiyas@osstech.co.jp
To: openldap-its@OpenLDAP.org
Subject: slapd ignores loglevel packets, ber and parse.
Full_Name: SATOH Fumiyasu
Version: master
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (240b:10:2640:bf0:222:5fff:fe95:3cda)


"slapd -s 'packets,ber,parse'" does not send specified log to syslog.
slapd ignores "loglevel packets ber parse" in slapd.conf too.

"slapd -d 'packets,ber,parse'" sends specified log to stderr as expected.

Followup 1

Download message
Date: Tue, 07 May 2013 03:39:37 -0700
From: Howard Chu <hyc@symas.com>
To: fumiyas@osstech.co.jp, openldap-its@openldap.org
Subject: Re: (ITS#7584) slapd ignores loglevel packets, ber and parse.
fumiyas@osstech.co.jp wrote:
> Full_Name: SATOH Fumiyasu
> Version: master
> OS:
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (240b:10:2640:bf0:222:5fff:fe95:3cda)
>
>
> "slapd -s 'packets,ber,parse'" does not send specified log to syslog.
> slapd ignores "loglevel packets ber parse" in slapd.conf too.
>
> "slapd -d 'packets,ber,parse'" sends specified log to stderr as expected.
>
This works as intended. syslog is too slow to keep up with this output so it's 
only provided for debug.


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/



Followup 2

Download message
Date: Wed, 08 May 2013 01:52:44 +0900
From: SATOH Fumiyasu <fumiyas@osstech.jp>
To: hyc@symas.com
Cc: openldap-its@openldap.org
Subject: Re: (ITS#7584) slapd ignores loglevel packets, ber and parse.
At Tue, 7 May 2013 10:39:47 GMT,
hyc@symas.com wrote:
> > "slapd -s 'packets,ber,parse'" does not send specified log to syslog.
> > slapd ignores "loglevel packets ber parse" in slapd.conf too.
> >
> > "slapd -d 'packets,ber,parse'" sends specified log to stderr as
expected.
> >
> This works as intended. syslog is too slow to keep up with this output so
it's 
> only provided for debug.

Some syslog implementation have "no sync" option (e.g. rsyslog
version 3.12.4+ has $ActionFileEnableSync global option and defaults
to "off") and is reasonably fast in some situation.

Anyway, if this issue is a specification (limitation) of slapd,
slapd(8) and slapd.conf(5) manpages should be fixed to describe it.

Thanks.

-- 
-- Name: SATOH Fumiyasu @ OSS Technology Corp. (fumiyas @ osstech co jp)
-- Business Home: http://www.OSSTech.co.jp/
-- GitHub Home: https://GitHub.com/fumiyas/
-- PGP Fingerprint: BBE1 A1C9 525A 292E 6729  CDEC ADC2 9DCA 5E1C CBCA


Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org