[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
large binary file storage
- To: openldap-software@OpenLDAP.org
- Subject: large binary file storage
- From: Prágai Róbert <pragai@rubin.hu>
- Date: Thu, 27 May 2004 12:56:23 +0200
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113
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