[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#4853) A debug message is printed, from the released version

Full_Name: Richard Bos
Version: 2.3.27
OS: linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

I just upgraded to the new slapd.conf file from cvs and now when I run 
slapcat I get the following output:

# slapcat >/dev/null
/etc/openldap/slapd.conf: line 67: new attribute <member>

The config file contains:
 63 #### Using overlays to improve data consistency
 64 # Ensure that we never get dangling member attributes
 65 # Checked on rename and delete
 66 overlay refint
 67 refint_attributes member

The code in servers/slapd/overlays/refint.c reads as follows:

        if(!strcasecmp(*argv, "refint_attributes")) {
                for(i = 1; i < argc; i++) {
                        some checks for error conditions here but if
                        all is fine we fall through to the following
                        ip = ch_malloc(sizeof(refint_attrs));
                        ip->attr = ad;
                        ip->next = id->attrs;
                        id->attrs = ip;
                        Debug(LDAP_DEBUG_ANY, "%s: line %d: new attribute
                                fname, lineno, argv[i]);

The final debug message results seems to be the message that is printed.

It's my assumption that no debug messages should be printed in a released

The initial bug report is located at: