https://bugs.openldap.org/show_bug.cgi?id=9190

            Bug ID: 9190
           Summary: Limits being applied to rootdn incorrectly
           Product: OpenLDAP
           Version: 2.4.48
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: ---
         Component: slapd
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

With the following, seeing the global limit (50) being applied to the database
rootdn.

Relevant config pieces:

sizelimit 50


...

database mdb
...
rootdn cn=admin,dc=xxx,dc=yyy
limits dn.exact="cn=admin,dc=xxx,dc=yyy" size=unlimited time=unlimited


However, we *sometimes* see a sizelimit error:

Mar 20 22:05:47 localhost slapd[30041]: conn=1059 fd=23 ACCEPT from
IP=xx.yy.zz.aa:35621 (IP=0.0.0.0:389)
Mar 20 22:05:47 localhost slapd[30041]: conn=1059 op=0 BIND
dn="cn=admin,dc=xxx,dc=yyy" method=128
Mar 20 22:05:47 localhost slapd[30041]: conn=1059 op=0 BIND
dn="cn=admin,dc=xxx,dc=yyy" mech=SIMPLE ssf=0
Mar 20 22:05:47 localhost slapd[30041]: conn=1059 op=0 RESULT tag=97 err=0
qtime=0.000017 etime=0.576530 text=
Mar 20 22:05:47 localhost slapd[30041]: conn=1059 op=1 SRCH base="" scope=0
deref=0 filter="(objectClass=*)"
Mar 20 22:05:47 localhost slapd[30041]: conn=1059 op=1 SRCH attr=namingContexts
Mar 20 22:05:47 localhost slapd[30041]: conn=1059 op=1 SEARCH RESULT tag=101
err=0 qtime=0.000019 etime=0.595522 nentries=1 text=
Mar 20 22:05:47 localhost slapd[30041]: conn=1059 op=2 SRCH
base="dc=xxx,dc=yyy" scope=2 deref=0 filter="(uid=*)"
Mar 20 22:05:47 localhost slapd[30041]: conn=1059 op=2 SEARCH RESULT tag=101
err=4 qtime=0.000019 etime=0.614634 nentries=1 text=
Mar 20 22:05:47 localhost slapd[30041]: conn=1059 op=3 UNBIND
Mar 20 22:05:47 localhost slapd[30041]: conn=1059 fd=23 closed

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to