[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Storing files in LDAP
- To: "Price, Jason (TLR Corp)" <Jason.Price@thomson.com>
- Subject: Re: Storing files in LDAP
- From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
- Date: Sun, 4 Apr 2004 10:48:18 +0200
- Cc: openldap-software@OpenLDAP.org
- In-reply-to: <2BA6C6C05F83C74D85AE87F0407CE7C726F707@tlrusmneagmbx02.ERF.THOMSON.COM>
- References: <2BA6C6C05F83C74D85AE87F0407CE7C726F707@tlrusmneagmbx02.ERF.THOMSON.COM>
Price, Jason (TLR Corp) writes:
> I'm relatively new to LDAP, and am looking for a way to store complete
> files as an attribute in LDAP. The files need to be able to be
> retrieved as complete files, identical to how they were before being
> inserted into LDAP.
Store the contents of the file in an attribute with Octet String syntax.
The LDAP entry must also have an object class which allows that
attribute. Use normal LDAP operations to store and retrieve the data.
You need to
- Either find an appropriate attribute (and object class) which someone
else has defined. The ldap@umich.edu mailinglist might tell you of
one.
- Or obtain an object identifier (OID) for your organization, if you
haven't already, and use that to define your own attribute and object
class:
http://www.openldap.org/faq/index.cgi?_highlightWords=oid%20iana&file=391
--
Hallvard