sk said:
Is it possible to save a file in the ldap server?
I think in ladap we can search through a simple metadata but not files.
Shin
Assuming you mean the LDAP server's underlying database, then yes, you
can can save files in it. That's how you can save jpg files in the
jpegPhoto attribute. Binary data has to be stored in binary attributes,
which in Java you would use a byte[] data type for handling that type of
data. I've never attempted to store plaintext files in an LDAP database
and that isn't what they are supposed to be used for anyway. If you have
textual data then put it in attributes because the plaintext files can't
be searched while they are in the LDAP database. They would have to be
retrieved one at a time and then searched by the client; not very
efficient to say the least.