https://bugs.openldap.org/show_bug.cgi?id=9874
Issue ID: 9874 Summary: slapadd is returning garbage error data Product: OpenLDAP Version: 2.6.2 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: quanah@openldap.org Target Milestone: ---
When slapadd encounters an error, instead of returning that error it is returning garbage text.
Example:
slapadd: could not add entry dn="olcDatabase={1}mdb,cn=config" (line=1119): #]I
Note the: "#]I"
If run with -d -1, we see the actual error is:
mdb_db_init: Initializing mdb database olcDbDirectory: value #0: invalid path: No such file or directory slapadd: could not add entry dn="olcDatabase={1}mdb,cn=config" (line=1119): olcDbDirectory: value #0: invalid path: No such file or directory slapadd shutdown: initiated
https://bugs.openldap.org/show_bug.cgi?id=9874
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|2.6.2 |unspecified
https://bugs.openldap.org/show_bug.cgi?id=9874
--- Comment #1 from Howard Chu hyc@openldap.org --- Cannot reproduce:
viola:~/OD/hobj/tests> ../servers/slapd/slapd -Ta -F testrun/slapd.d -n0 -l cf1.ldif olcDbDirectory: value #0: invalid path: No such file or directory slapadd: could not add entry dn="olcDatabase={1}mdb,cn=config" (line=1658): olcDbDirectory: value #0: invalid path: No such file or directory Closing DB... viola:~/OD/hobj/tests>
https://bugs.openldap.org/show_bug.cgi?id=9874
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Interesting... I see it if I build under centos7. I do not see it if I build under Ubuntu20. I'll chalk this up to a compiler error. (both on current master).
https://bugs.openldap.org/show_bug.cgi?id=9874
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Status|RESOLVED |VERIFIED