Doal Miller
2008-Feb-27 20:21 UTC
[Fedora-directory-users] Can Fedora DS ensure objectClass attributes are unique?
Can you force attributes in an objectClass to be unique? I''ve been reading up on Fedora DS and although I''m fairly new to it, our product has been using it for a while. I have a situation with an objectClass like the one below where I want to ensure through the directory service that both id and uniqueField are unique attributes on the objects. Is there a way to do that in Fedora DS. We are currently using fedora-ds-1.0.2-1.RHEL4.i386.opt.rpm on Fedora core 3 but we are going to Fedora core 6 at this moment. It looks like OpenLDAP can do this through slapo-unique overlay. Is there something comparable for Fedora DS? objectClasses: ( 1.3.6.1.4.1.20826.2.5.1 NAME ''Customer'' DESC ''Customer Account'' SUP top MUST ( id $ uniqueField ) MAY ( configItemMod $ permission ) )
Rob Crittenden
2008-Feb-28 15:07 UTC
Re: [Fedora-directory-users] Can Fedora DS ensure objectClass attributes are unique?
Doal Miller wrote:> Can you force attributes in an objectClass to be unique? I’ve been > reading up on Fedora DS and although I’m fairly new to it, our product > has been using it for a while. I have a situation with an objectClass > like the one below where I want to ensure through the directory service > that both id and uniqueField are unique attributes on the objects. Is > there a way to do that in Fedora DS. We are currently using > fedora-ds-1.0.2-1.RHEL4.i386.opt.rpm on Fedora core 3 but we are going > to Fedora core 6 at this moment. > > > > It looks like OpenLDAP can do this through slapo-unique overlay. Is > there something comparable for Fedora DS? > > > > objectClasses: ( > > 1.3.6.1.4.1.20826.2.5.1 > > NAME ‘Customer’ > > DESC ‘Customer Account’ > > SUP top > > MUST ( id $ uniqueField ) > > MAY ( configItemMod $ permission ) ) >There is an attribute uniquess plugin. http://www.redhat.com/docs/manuals/dir-server/ag/8.0/Using_the_Attribute_Uniqueness_Plug_in.html rob