Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multi-line-strings

Status
Not open for further replies.

rpadmana

Programmer
Mar 6, 2002
1
US
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top