[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) (80.126.75.243)


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
 68

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
                        section
                        ...
                        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
<%s>\n",
                                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
product/version/project.

The initial bug report is located at:
https://intevation.de/roundup/kolab/issue1622