Full_Name: Gregory Noe Version: 2.4.44 OS: Debian 8.7 URL: ftp://ftp.openldap.org/incoming/gregory-noe-170605.tar Submission from: (NULL) (63.142.209.94) Slapcat is not honoring the '-g' option. The output includes entries from glued subordinates when it shouldn't. The attached test script (gregory-noe-170605.tar) sets up the following DIT with inetOrgPerson entries in each OU: dn: dc=example,dc=com |- ou=NonSub00,dc=example,dc=com |- ou=NonSub01,dc=example,dc=com |- ou=NonSub02,dc=example,dc=com glued sub: ou=Accounting,dc=example,dc=com glued sub: ou=Administrative,dc=example,dc=com glued sub: ou=Janitorial,dc=example,dc=com Then the script runs 'slapcat -g -b dc=example,dc=com | grep ^dn'. The result contains entries from all three glued subordinates. Tested using Symas OpenLDAP 2.4.44.5
On Mon, Jun 05, 2017 at 03:11:06PM +0000, gnoe@symas.com wrote: > Slapcat is not honoring the '-g' option. The output includes entries from glued > subordinates when it shouldn't. The attached test script > (gregory-noe-170605.tar) sets up the following DIT with inetOrgPerson entries in > each OU: > > dn: dc=example,dc=com > |- ou=NonSub00,dc=example,dc=com > |- ou=NonSub01,dc=example,dc=com > |- ou=NonSub02,dc=example,dc=com > > glued sub: ou=Accounting,dc=example,dc=com > glued sub: ou=Administrative,dc=example,dc=com > glued sub: ou=Janitorial,dc=example,dc=com > > Then the script runs 'slapcat -g -b dc=example,dc=com | grep ^dn'. The result > contains entries from all three glued subordinates. Hi Gregory, the branch linked below has a patch to this that results in the test script you provided produce output that's expected, let me know if it fixes your issue: https://github.com/mistotebe/openldap/tree/its8667 Regards, -- Ondřej Kuzník Senior Software Engineer Symas Corporation http://www.symas.com Packaged, certified, and supported LDAP solutions powered by OpenLDAP
changed notes changed state Open to Release moved from Incoming to Software Bugs
Fixed in master Fixed in RE24 (2.4.47)
changed notes changed state Release to Closed