On Mon, Jun 05, 2017 at 03:11:06PM +0000, [email protected] 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
