[Date Prev][Date Next]
slapd: undocumented sockbuf_max_incoming <integer> (ITS#1242)
Full_Name: Alexander Talos
Submission from: (NULL) (126.96.36.199)
I'm new to openldap and experimenting with netcape's roaming user feature. I had
problems storing my bookmark file (netscape doesn't alert the user when
goes wrong uploading it). The slapd-log (level 1) shows:
Jul 18 15:37:46 mx1 slapd: ber_get_next on fd 7 failed errno=34
(Result too large)
(Note that the text "Result too large" does not come from openldap, but from
libc translating ERANGE into some text, for openbsd, the text is the same, for
I believe it's Numerical result out of range).
Following the source (I wasn't able to find anything in the docs or the search
engines - sorry if I didn't try hard enough), I found that there is a variable
defaulting to (proto-slap.h):
SLAP_SB_MAX_INCOMING_DEFAULT (1<<18 - 1)
(ie. 131072, too short for my bookmarks) that can be reset in the slapd.conf:
did the trick for me.
I'd suggest to add a section 188.8.131.52 to the admin guide:
184.108.40.206 sockbuf_max_incoming (integer)
This directive specifies the maximum size in bytes an attribute can have.
Anyway, thank you for this fine product!