On Tue, Jul 23, 2013 at 1:45 PM, Kiran Ayyagari <[email protected]>wrote:
> > > > On Tue, Jul 23, 2013 at 1:09 PM, Alexander Broekhuis < > [email protected]> wrote: > >> > > what is the scope you set in the search request? is your baseDN >> > "cn=testadd,ou=system"? >> > >> >> The entry has been added using: >> >> AddRequestImpl requestImpl = new AddRequestImpl(); >> >> requestImpl.setEntry(new DefaultEntry( >> >> "cn=testadd,ou=system", // The Dn >> >> "ObjectClass: top", >> >> "ObjectClass: person", >> >> "cn: testadd_cn", >> >> "sn: testadd_sn" >> >> ) ); >> >> AddResponse add = con.add( requestImpl); >> >> Does that mean the basedn is "cn=testadd,ou=system"? >> >> The search is done using: new Dn("cn=testadd,ou=system"), >> "(objectclass=*)", >> SearchScope.ONELEVEL >> >> The search scope is onelevel, changing this to object I do see the >> existing >> entry and the delete event, but not the add. Perhaps I am using the wrong >> scope, but I didn't expect to see A(Scope.OBJECT) the existing entry and >> the delete but not the add, or B (Scope.ONELEVEL): not the existing entry >> but the delete and add. >> >> I _think_ there is an issue with evaluating scope in psearch, I will > check and let you > know > > have fixed this[1] in trunk if you want to build from sources do: 1. svn co https://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependenciestrunk 2. cd trunk 3. mvn clean install -DskipTests (remove -DskipTests if you want to run tests, but this takes around 15 minutes to build) [1] https://issues.apache.org/jira/browse/DIRSERVER-1874 > >> > >> > > >> > > -- >> > > Met vriendelijke groet, >> > > >> > > Alexander Broekhuis >> > > >> > >> > >> > >> > -- >> > Kiran Ayyagari >> > http://keydap.com >> > >> >> >> >> -- >> Met vriendelijke groet, >> >> Alexander Broekhuis >> > > > > -- > Kiran Ayyagari > http://keydap.com > -- Kiran Ayyagari http://keydap.com
