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

large binary file storage



Hi,

  I try to store large files in an openldap 2.1.23 with BDB 4.1 backend.
I use

sockbuf_max_incoming 100000000
sockbuf_max_incoming_auth 100000000

in slapd.conf.
  However when I try to insert a large file using an .ldif file:

dn: cn=test4,ou=test,o=files,dc=rubin,dc=hu
changetype: modify
add: jpegPhoto
jpegPhoto:< file:///home/pragai/LDAP/thebigfile

the result is:

tower:/home/pragai/LDAP# ldapadd -x -W -D "cn=***,dc=****,dc=****" -f bigfile.ldif
Enter LDAP Password:
modifying entry "cn=test4,ou=test,o=files,dc=rubin,dc=hu"
ldapadd: update failed: cn=test4,ou=test,o=files,dc=rubin,dc=hu
ldap_modify: Critical extension is unavailable (12)
additional info: entry update failed


Questions:
0. Which extension is unavailable in this case?
1. Is BDB capable of storing a single attribute 100MB large?
2. What should I configure/install/compile to make such thing work?
3. Maybe I should use some other database backend: which one?
4. Does anyone managed to store such amount of data in a single attribute?

thanks,
Robert