[Fedora-directory-users] Which is better - attribute of type dn or multivalued attribute?

Ankur Agarwal ankur_agwal at yahoo.com
Sat Dec 2 18:01:51 UTC 2006


Hi,
   
  In our schema we need to have users who will belong to multiple groups. These groups are independent groups and do not have any parent child relationship. So while defining the ObjectClass for my user i have two options:
   
  1) Have an attribute called - isMemberOf and make it of type distinguishedName. This will be a list of all groups to which a user belongs.
   
  2) Have a multivalued attribute - groupName. 
   
  which option makes more sense. Assume the functionalities that i need to support are:
  1) Search all users belonging to a group
  2) edit a user to add/remove a group from profile
  3) Delete all the users belonging to a group
   
  regards,
  Ankur
   

 
---------------------------------
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20061202/f86bf168/attachment.html>


More information about the 389-users mailing list