Hello. In one if the directory we are managing it is desirable to attach documents to the entries. e.g. attach multiple CVs to an employee entry.
What would be the best practice for such requirement? 1. Directly attach it to the entry using a binary attribute. The downside: file name is lost (because a binary attributes holds file content as value but not including the filename). If file type is limited to types that contain proper metadata (e.g. TIFF, PDF) then we can use the document title inside the document as filename. 2. Maintain a directory on the server file system with the same name as the DN of the entry. LDAP client (which is an web application) should try to get the files from there through ftp or http. Downside: maintain two repository of data; 3. Set up SQL database holding these data. Downside: same as above. Currently I am thinking about solution 1 partly because I think limiting document types to TIFF/PDF is helpful for management reason as well, so this limitation wouldn't hurt me too much. However this is my first time trying to offer binary document to users. How do you recommend? Thanks & best regards