I am new to LDAP. I need to store mult-line-strings against configuration preferences. I am planning to use nsValueItem as suggested in LDAP Programming in Java.I am going to store configuration preferences as entries of nsValueItem.
uid=scarter,ou=people,o=airius.com
objectclass: nsValueItem.
1) How do I store mls in nsValueItem ( extend it or store as multi valued nsValueCIS or just store it directly in nsValueCIS).
2) I need to retrieve all the preferences in the same order in which was input (like a config file) keeping in mind inserts and updates. Should I put line number in nsValueInt and index it and manage it.
3) I need to be able to access more than one file with same uid. Should I have another leaf under uid or manipulate cn to have both file and preferences?
uid=scarter,ou=people,o=airius.com
objectclass: nsValueItem.
1) How do I store mls in nsValueItem ( extend it or store as multi valued nsValueCIS or just store it directly in nsValueCIS).
2) I need to retrieve all the preferences in the same order in which was input (like a config file) keeping in mind inserts and updates. Should I put line number in nsValueInt and index it and manage it.
3) I need to be able to access more than one file with same uid. Should I have another leaf under uid or manipulate cn to have both file and preferences?