LDAP Error in pdbedit
John H Terpstra
jht at samba.org
Fri Sep 15 03:11:21 GMT 2006
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?
More information about the samba-technical