[389-devel] Re: Groups are not accessible by filter

2019-04-28 Thread Anuj Borah
Yes, it is. On Mon, Apr 29, 2019 at 11:17 AM William Brown wrote: > > > > On 29 Apr 2019, at 15:00, Anuj Borah wrote: > > > > @William Brown > > > > Sorry my bad , syntax was wrong . > > > > (Pdb) len(Accounts(topo.standalone, > DEFAULT_SUFFIX).filter("(testUserAccountControl:1.2.840.113556.1.4

[389-devel] Re: Groups are not accessible by filter

2019-04-28 Thread William Brown
> On 29 Apr 2019, at 15:00, Anuj Borah wrote: > > @William Brown > > Sorry my bad , syntax was wrong . > > (Pdb) len(Accounts(topo.standalone, > DEFAULT_SUFFIX).filter("(testUserAccountControl:1.2.840.113556.1.4.803:=8388608, > ['attrlist=cn:sn:uid:testUserAccountControl'])")) > 6 > > Tha

[389-devel] Re: Groups are not accessible by filter

2019-04-28 Thread Anuj Borah
@William Brown Sorry my bad , syntax was wrong . (Pdb) len(Accounts(topo.standalone, DEFAULT_SUFFIX).filter("(testUserAccountControl:1.2.840.113556.1.4.803:=8388608, ['attrlist=cn:sn:uid:testUserAccountControl'])")) 6 Thanks . On Mon, Apr 29, 2019 at 10:26 AM Anuj Borah wrote: > @William Br

[389-devel] Re: Groups are not accessible by filter

2019-04-28 Thread Anuj Borah
@William Brown This is the filter : "testUserAccountControl:1.2.840.113556.1.4.803:=8388608", ['attrlist=cn:sn:uid:testUserAccountControl'] len(topo.standalone.search_s(DEFAULT_SUFFIX, ldap.SCOPE_SUBTREE,"testUserAccountControl:1.2.840.113556.1.4.803:=8388608", ['attrlist=cn:sn:uid:testUserAccou

[389-devel] Re: Groups are not accessible by filter

2019-04-28 Thread William Brown
> On 29 Apr 2019, at 12:33, Anuj Borah wrote: > > @William Brown > > Thanks for the tip! > > (Pdb) len(topo.standalone.search_s(DEFAULT_SUFFIX, > ldap.SCOPE_SUBTREE,"testUserAccountControl:1.2.840.113556.1.4.803:=8388608", > ['attrlist=cn:sn:uid:testUserAccountControl'])) > 6 > (Pdb) len(

[389-devel] Re: Groups are not accessible by filter

2019-04-28 Thread Anuj Borah
@William Brown Thanks for the tip! (Pdb) len(topo.standalone.search_s(DEFAULT_SUFFIX, ldap.SCOPE_SUBTREE,"testUserAccountControl:1.2.840.113556.1.4.803:=8388608", ['attrlist=cn:sn:uid:testUserAccountControl'])) 6 (Pdb) len(Accounts(topo.standalone, DEFAULT_SUFFIX).filter("(testUserAccountControl

[389-devel] 389 DS nightly 2019-04-29 - 91% PASS

2019-04-28 Thread vashirov
https://fedorapeople.org/groups/389ds/ci/nightly/2019/04/29/report-389-ds-base-1.4.1.2-20190428git6a6b8d9.fc29.x86_64.html ___ 389-devel mailing list -- 389-devel@lists.fedoraproject.org To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.

[389-devel] Re: Groups are not accessible by filter

2019-04-28 Thread William Brown
> On 29 Apr 2019, at 12:15, Anuj Borah wrote: > > @William Brown > > Thank you for the clarification. Same thing was writing in the second mail of > this mail chain . I was missing the use case UniqueGroup(…).filter(). > > What about bellow filters . Can we use filter here also . > > topo.

[389-devel] Re: Groups are not accessible by filter

2019-04-28 Thread Anuj Borah
@William Brown Thank you for the clarification. Same thing was writing in the second mail of this mail chain . I was missing the use case UniqueGroup(…).filter(). What about bellow filters . Can we use filter here also . topo.standalone.search_s(DEFAULT_SUFFIX, ldap.SCOPE_SUBTREE, '(& (| (nsRol

[389-devel] Second opinion on backend filter testing

2019-04-28 Thread William Brown
Hi there, Would really like a second opinion here (especially looking at you Ludwig since you know this code well) about the behaviour of the filter test code. I have been following up on the filter optimisation patch to understand why in some conditions it causes IPA to fail. Examining the lo

[389-devel] Re: Groups are not accessible by filter

2019-04-28 Thread William Brown
> On 29 Apr 2019, at 11:53, Anuj Borah wrote: > > @William Brown > > The space did not make any difference . Look at bellow result . > > (Pdb) i > '(uniquemember=uid=kvaughan,ou=People,dc=example,dc=com)' > (Pdb) Accounts(topo.standalone, DEFAULT_SUFFIX).filter(i) ^ Because you are using th

[389-devel] Re: Groups are not accessible by filter

2019-04-28 Thread Anuj Borah
@William Brown The space did not make any difference . Look at bellow result . (Pdb) i '(uniquemember=uid=kvaughan,ou=People,dc=example,dc=com)' (Pdb) Accounts(topo.standalone, DEFAULT_SUFFIX).filter(i) [] (Pdb) topo.standalone.search_s(DEFAULT_SUFFIX, ldap.SCOPE_SUBTREE, i) [dn: cn=Accounting M

[389-devel] Re: Groups are not accessible by filter

2019-04-28 Thread William Brown
> On 26 Apr 2019, at 01:56, Anuj Borah wrote: > > @Ludwig > > Under the same condition . > > Accounts(topo.standalone, DEFAULT_SUFFIX).filter('(uniquemember=uid=kvaughan, > ou=People, dc=example,dc=com)') >>> gives 0 result . (From filter > script) > > > (Pdb) topo.standalone.sear

[389-devel] Re: memory leak with dblayer perf counters

2019-04-28 Thread William Brown
> On 26 Apr 2019, at 01:45, Mark Reynolds wrote: > > > On 4/25/19 11:10 AM, Ludwig wrote: >> Hi, >> >> >> when running ASAN builds I noticed in some tests a memory leak for dblayer >> perf counters. >> >> A closer look showd it happens with an online restore, in this case we have >> start