LDAP Error in pdbedit

Дейтер Александр Валери Дейтер Александр Валери
Fri Sep 15 05:05:15 GMT 2006

John H Terpstra wrote:

> A rather large site has reported to me the following error info:
> server:/ # pdbedit -L -v
> ldapsam_setsampwent: LDAP search failed: Size limit exceeded
> The Samba code module that reports this is:
> 	passdb/pdb_ldap.c line 1259
> The problem appears to be that when the returned data is larger than the size 
> of an int there is a problem. It seems we should be using 
> smbldap_search_paged() instead of smbldap_search().
> The site in question has over 4000 LDAP entries and the returned data is much 
> larger than 64KB.
> What is the best fix for this?

For OpenLDAP add into slapd.conf:

sizelimit -1
timelimit -1


Alex Deiter

More information about the samba-technical mailing list