gtejo1 Absent Member.
Absent Member.
563 views

LDAP: error code 80 - error: insufficient buffer on add attr

Hello everyone,
Im gettin this error
LDAP: error code 80 - NDS error: insufficient buffer (-649)
when i triying to add a value thats has 41501 characters long inside an attribute (string type) of a ldap "nrfRole" class using LDIF import methods. Also we tryed to add the attribute value using the iManager but the result is the same.
Is there anyway of expand that the limit of 63k, or a workarround? We need to persist this information in the directory.
Thanks in advance!
Labels (1)
0 Likes
1 Reply
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: LDAP: error code 80 - error: insufficient buffer on add attr

On 12/10/2018 02:34 PM, gtejo wrote:
>
> Hello everyone,
> Im gettin this error
> *LDAP: error code 80 - NDS error: insufficient buffer (-649)*
> when i triying to add a value thats has 41501 characters long inside an
> attribute (string type) of a ldap "nrfRole" class using LDIF import
> methods. Also we tryed to add the attribute value using the iManager but
> the result is the same.


As it should be; prior to eDirectory 9.x the NCP packet limit was 64-ish
KB, meaning once you get over 32k characters or so (Unicode, two bytes
each) you push past that limit and replication no longer works, which
means you get -699's in your attempts to sync. I wrote the bug on that
long, long ago, and was pretty thrilled when 9.x fixed it, but on 8.8.x it
will never work for a non-stream attribute.

> Is there anyway of expand that the limit of 63k, or a workarround? We
> need to persist this information in the directory.


Upgrade to eDirectory 9.x and try again. Alternatively, use a stream
attribute. Since you're using something starting with 'nrf' I presume you
are playing with IDM attributes, and redefining that as a Stream attribute
sounds like a terrible idea, though having this long of a string in almost
any attributes also sounds terrible (there are reasons for it in some
things, like photo/jpegPhoto, but I would verify assumptions thoroughly
before doing it with something you do not own like nrfRole).

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.