Hi,

Sure you can store every kind of digital data in a directory.
The LDAP spec does not set any limit to the size of an object or an
attribute the only limits are system and implementation related. I made
myself some tests and I was able to store attributes witha size of about 10
Megs.

But, but, but.....

this is not the type of business an LDAP server has been thought for. An
LDAP Server should answer quickly queries about some attributes of the
object. 
If you begin to store BLOBS in your objects, you fill pretty quickly the
memory caches that every implementation uses to speed up the queries and you
should not wonder about the slow answer times.
This situation is not INHERENT to LDAP and probably the border will move up
in the future, but at the moment an object should be no bigger than 50
Kbytes.
You can get the best results with a couple of Kbytes.
My solution is to store an URL (pointing to a file store) instead of the
object itself.

Best regards
Giovanni



-----Ursprüngliche Nachricht-----
Von: qazmlp [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 12. September 2006 07:29
An: [email protected]
Betreff: [ldap] attributes type for storing files in directory servers??

I would like to know whether it is possible to store the files in an
directory server.
I could see that the following attribute definition is available currently
in the standard schema:
   attributetype ( 0.9.2342.19200300.100.1.60
        NAME 'jpegPhoto'
        DESC 'RFC2798: a JPEG image'
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 )

This means, I can store the .jpeg files in the directory.

I would like to know whether it is possible to introduce syntax for storing
other files(.txt, .asn etc.). If yes, what exactly needs to be done to
support this.

---
You are currently subscribed to [email protected] as:
[EMAIL PROTECTED] To unsubscribe send email to
[EMAIL PROTECTED] with the word UNSUBSCRIBE as the SUBJECT of the
message.


---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to