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

Re: Managing documents

> First of all I don't know if I am on the right mailing list. Please tell 
> me if I'm not.

You probably want to go over to umich's general LDAP list since this
isn't really OpenLDAP specific.

> I set up an LDAP server and I want to manage documents with it. That 
> means I want users to upload documents and store information about it in 
>   the LDAP directory that I can search and browse through uploaded 
> documents.

I'd recommend storing the actuall document on something like WebDAV
referenced from LDAP using a URI.  OS/X, GNOME/VFS, and M$-XP all
support WebDAY oughta the box and you can do some pretty cool scripting
stuff to automate some of the maint.  LDAP isn't really suited to
storing tremendously large chunks of data as attribute values.

> Is there a schema for doing such things? Are there objectclasses already?
> I'm quite new to all the ldap stuff so ANY help will be appreciated.

There is schema for some document management in cosine.schema -

attributetype ( 0.9.2342.19200300.100.1.11 NAME 'documentIdentifier'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX{256} )

... etc...

objectclass ( 0.9.2342.19200300.100.4.6 NAME 'document'
        SUP top STRUCTURAL
        MUST documentIdentifier
        MAY ( commonName $ description $ seeAlso $ localityName $
                organizationName $ organizationalUnitName $
                documentTitle $ documentVersion $ documentAuthor $
                documentLocation $ documentPublisher )

At least thats what I think they are for.  I haven't really found any
decent documentation on what these values should actually mean.