On 2020/03/15 14:14:56, Emmanuel Lécharny <[email protected]> wrote: 
> Hi Francesco,
> 
> On 15/03/2020 14:49, Francesco Chicchiriccò wrote:
> > Hi there,
> > I am upgrading Apache DS from 2.0.0.AM25 to 2.0.0 and experiencing some 
> > troubles.
> 
> Hmmm, there is no such 2.0.0.

Ah, sorry, I was meaning 2.0.0.AM26 of course.

> > For example, this used to work fine (e.g.  to find the group with the given 
> > cn) previously:
> >
> > ldapsearch -h localhost -p 1389 -D "uid=admin,ou=system" -x -W -b 
> > "ou=groups,o=isp" 
> > '(&(&(objectClass=top)(objectClass=groupOfUniqueNames))(cn=lastGroup3ae5600a))'
> >  cn
> >
> > Now this does not return any result; when I change the filter to
> >
> > '(&(objectClass=groupOfUniqueNames)(cn=lastGroup3ae5600a))'
> >
> > it works again.
> >
> > Also
> >
> > '(&(objectClass=top)(cn=lastGroup3ae5600a))'
> >
> > is working fine; so it seems that top is somehow disturbing.
> >
> > Any ideas? Thanks!
> 
> Do you have an env I can use to test that ?

Repo is https://github.com/ilgrosso/syncope - in the branch 
2_1_X_APACHE_DS_2_0_0_M26

With JAVA_HOME set to JDK 8, do first

mvn -T 1C -PskipTests,all,without-eclipse

then

cd fit/build-tools
mvn -Pdebug

At this point you will see that

ldapsearch -h localhost -p 1389 -D "uid=admin,ou=system" -x -w secret -b 
"ou=groups,o=isp" '(&(objectClass=top)(cn=testLDAPGroup))' cn

finds no items while

ldapsearch -h localhost -p 1389 -D "uid=admin,ou=system" -x -w secret -b 
"ou=groups,o=isp" '(&(objectClass=groupOfUniqueNames)(cn=testLDAPGroup))' cn

works.

Thanks for you support.
Regards.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to