[Samba] LDAP search failed: Size limit exceeded

Jerome Alet alet at librelogiciel.com
Thu Sep 2 18:00:54 GMT 2004


On Thu, Sep 02, 2004 at 10:40:30AM -0700, George Farris wrote:
> When trying to browser users or groups on the server I see these
> messages in the log file.
> [2004/09/02 10:40:15, 0] lib/smbldap.c:smbldap_search_suffix(1101)
>   smbldap_search_suffix: Problem during the LDAP search:  (Size limit
> exceeded)
> [2004/09/02 10:40:15, 0] passdb/pdb_ldap.c:ldapsam_setsampwent(1173)
>   ldapsam_setsampwent: LDAP search failed: Size limit exceeded
> We are unable to browse users or groups which is a show stopper!!!
> I have added the line "sizelimit -1" in slapd.conf and restarted the
> ldap server but it doesn't seem to help.

what about this one in slapd.conf :

  limits dn="admin,dc=example,dc=com" size.soft=-1 size.hard=soft
set the dn value to the dn used to do the LDAP search  

hoping this helps

Jerome Alet

More information about the samba mailing list