Public bug reported: In slapo-unique(5) manpage, I read I was using deprecated directives in my LDAP configuration files:
overlay unique >>>>> unique_attributes gidNumber uid uidNumber sambaSID >>>>> unique_base ou=people,dc=cefetrs,dc=tche,dc=br So, I changed to this: overlay unique >>>>> unique_uri >>>>> ldap:///ou=people,dc=cefetrs,dc=tche,dc=br?uid,uidnumber,sambasid,mail?sub And now, I get a failed assertion: $ ./create-master-base.sh slapadd: /build/buildd/openldap2.3-2.4.7/servers/slapd/dn.c:724: dnPrettyNormal: Assertion `pretty != ((void *)0)' failed. ./create-master-base.sh: line 2: 28237 Cancelado slapadd -f slapd.conf -l data.ldif -b 'dc=cefetrs,dc=tche,dc=br' This line shows the assertion fail in "slapadd" command, but it occurs in "slapd", if I use my main base. Steps to reproduce (almost same steps in #227178): # Download my attachment and extract the BZIP archive on an existing folder '/home/amg1127'. # "cd" to '/home/amg1127/ldap # Create the database from the included LDIF by running './create-master-base.sh' # Got a SIGABRT slapadd: /build/buildd/openldap2.3-2.4.7/servers/slapd/dn.c:724: dnPrettyNormal: Assertion `pretty != ((void *)0)' failed. # Remove /home/amg1127/ldap folder and entire content within # Extract the BZIP archive on that folder again # Edit the file /home/amg1127/ldap/maindb-commonparams.conf, comment line 45 and uncomment lines 42 and 43. # Create the database from the included LDIF by running './create-master-base.sh' # Edit the file /home/amg1127/ldap/maindb-commonparams.conf, uncomment line 45 and comment lines 42 and 43 (that is, undo the previous edition). # Run the server: './run-master-slapd.sh' # Got another SIGABRT slapd: /build/buildd/openldap2.3-2.4.7/servers/slapd/dn.c:724: dnPrettyNormal: Assertion `pretty != ((void *)0)' failed. ** Affects: openldap2.3 (Ubuntu) Importance: Undecided Status: New ** Tags: abort assert sigabrt slapo-unique unique -- dnPrettyNormal: Assertion `pretty != ((void *)0)' failed. https://bugs.launchpad.net/bugs/234196 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap2.3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs