[Date Prev][Date Next]
Re: Storing files in LDAP
- To: "Price, Jason (TLR Corp)" <Jason.Price@thomson.com>
- Subject: Re: Storing files in LDAP
- From: Hallvard B Furuseth <email@example.com>
- 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 firstname.lastname@example.org mailinglist might tell you of
- Or obtain an object identifier (OID) for your organization, if you
haven't already, and use that to define your own attribute and object