[Samba] LDAP search failed: Size limit exceeded

George Farris farrisg at mala.bc.ca
Thu Sep 2 21:30:13 GMT 2004

On Thu, 2004-09-02 at 11:02, Jerome Alet wrote:
> On Thu, Sep 02, 2004 at 08:00:54PM +0200, jerome wrote:
> > 
> > what about this one in slapd.conf :
> > 
> >   limits dn="admin,dc=example,dc=com" size.soft=-1 size.hard=soft
> sorry, it was instead :
>  limits dn="cn=admin,dc=example,dc=com" size.soft=-1 size.hard=soft
> stupid manual copy & paste :-)
> Jerome Alet

Right, well, "pdbedit -L" failed with a size limit, ldapsearch also
failed with a size limit.  I have increased the sizelimt in both
/etc/ldap.conf and /etc/openldap/ldap.conf to 10000 and both these
commands now function.

However, the smbldap tools which I believe is responsible for returning
a list of groups or users to the workstation spits out an error of "size
limit exceeded".  Does anyone know how to increase this or is this still
a samba problem.  

I would think the win2k workstation is asking samba for a list of groups
(or users) and samba passes this off to the smbldap tools which fail. 
Does that make sense?

George Farris	farrisg at mala.bc.ca
Malaspina University-College - Cowichan Campus

More information about the samba mailing list