[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3604) different behaviour with back-bdb and back-ldbm



The log indicates that the Solaris client is using the PagedResults 
control, which was added to back-bdb in 2.2 and that's why you only see 
this behavior on 2.2 back-bdb. Paged Results uses its own set of limits, 
and they need to be explicitly configured if you want to allow more than 
the default (1000) entries to be returned. See slapd.conf(5) for more 
explanation of the limits keyword.

reinhard.sojka@parlinkom.gv.at wrote:

>Good morning,
>
>
>here is the requested log with "loglevel 4" when doing a "getent
>passwd". In my understanding, the client submitted value of 0 for
>sizelimit, which means unlimited. Or am I wrong here?
>
>Maybe I was a bit unclear when I opened the case. This behaviour can
>only be seen with Sun's LDAP client authenticating against OpenLDAP
>2.2.x with back-bdb when submitting "getent passwd". 
>Apart from the above problem everything is fine with back-bdb. The basic
>things like user authentication, automount, etc. are working for
>Solaris. Linux clients do not show any problems. Regular LDAP tools are
>always behaving as expected, and I have never been able to reproduce
>this behaviour with ldapsearch. 
>Note that Solaris authenticating against OpenLDAP 2.1.x with back-bdb is
>not affected.
>
>
>Mar 23 08:33:31 tcl2 last message repeated 1 time
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 121414 local4.debug] ==>
>bdb_bind: dn: cn=proxyagent,dc=parlament,dc=gv,dc=at
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 291653 local4.debug]
>send_ldap_result: err=0 matched="" text=""
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 525477 local4.debug]
>connection_get(12)
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 829381 local4.debug] SRCH
>"ou=people,dc=parlament,dc=gv,dc=at" 2 3
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 998714 local4.debug]     0 30 0
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 141783 local4.debug]     filter:
>(objectClass=posixAccount)
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 503656 local4.debug]     attrs:
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 823470 local4.debug]  cn
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 823470 local4.debug]  uid
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 823470 local4.debug]  uidnumber
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 823470 local4.debug]  gidnumber
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 823470 local4.debug]  gecos
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 823470 local4.debug]  description
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 823470 local4.debug]
>homedirectory
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 823470 local4.debug]  loginshell
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 100000 local4.debug]
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 187165 local4.debug]
>bdb_idl_fetch_key: [01872a84]
>Mar 23 08:33:31 tcl2 slapd[28676]: [ID 187165 local4.debug]
>bdb_idl_fetch_key: @ou=people,dc=parlament,dc=gv,dc=at
>Mar 23 08:33:32 tcl2 slapd[28676]: [ID 187165 local4.debug]
>bdb_idl_fetch_key: [b49d1940]
>Mar 23 08:33:32 tcl2 slapd[28676]: [ID 187165 local4.debug]
>bdb_idl_fetch_key: [5941c014]
>Mar 23 08:33:32 tcl2 slapd[28676]: [ID 174679 local4.debug]
>send_paged_response: lastid=0x0000043b nentries=1000
>Mar 23 08:33:32 tcl2 slapd[28676]: [ID 291653 local4.debug]
>send_ldap_result: err=0 matched="" text=""
>Mar 23 08:33:32 tcl2 slapd[28676]: [ID 525477 local4.debug]
>connection_get(12)
>
>
>kind regards,
>Reinhard
>  
>


-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support