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

cannot insert records larger than 128k (precisely 139055 bytes) ?



I am having difficulties inserting records into my LDAP tree if the data is
larger than 139055 bytes. Is there a size limit in the network interface of
the LDAP software?

I can successfully add the same data via the 'slapadd' command, for this
reason I am discounting the problem as being by the database compiled with LDAP.

I've tried with both ldapadd and ldapmodify...
If my data size if 139056 or larger, this is the error I get:

                    ldap_modify: Can't contact LDAP server

My command was:
 ldapmodify -r -f /tmp/entrymods

the file: '/tmp/entrymods':
 
dn: realm=junk,app=f058a.20020610110958CDT,ou=applications,o=1,x=0111
changetype: modify
replace: imagedata
imagedata:< file:///tmp/II

# ls -al /tmp/II
-rw-r--r--    1 root     root       184699 Jun 14 16:27 /tmp/II


I am using OpenLdap version 2.0.15 with Berkeley DB version 3.3.11

Anyone have any clues what might be going wrong? 

Thanks.

-- 
Frank Koenen
Director of Technical Services
Monet Technologies Inc.
Email: fkoenen@vonworld.com