[Fedora-directory-users] make an attribute default to object class?

Richard Megginson rmeggins at redhat.com
Mon Nov 7 17:41:18 UTC 2005


speedy zinc wrote:

>Ok, I have this weird idea that I want to make a new
>attribute an allowed attribute of an existing
>objectclass
>and all its sub-classes, but without modifying the 
>definition of the existing class, only thru extension.
>
>For example, if I define a new attribute called 
>"myWhackyAttr", and I want to make it part of an
>allowed
>attribute of nsRoleDefinition (or
>nsSimpleRoleDefinition),
>so that the attribute is available to all sub-classes.
>
>To do that, I can change the definition of
>nsRoleDefinition
>in 00core.ldif, which everyone would say "stop right
>there,
>you shouldn't do that". 
>
>The other way is, I can create an aux objectclass with
>
>that attribute, and everytime I create a new role,
>I have to make sure that I add that object class to
>the
>new entry. That's tedious, and might forget it.
>
>Is there a third way to enforce that?
>  
>
Create a new structural objectclass called MyRole - it will extend 
nsRoleDefinition and include the myWackyAttr attribute (as a MAY 
preferably, not a MUST).  Then, you'll have to create MyRole roles, for 
which there is also not console support.

>thanks for any hint.
>
>sz
>
>
>
>		
>__________________________________ 
>Start your day with Yahoo! - Make it your home page! 
>http://www.yahoo.com/r/hs
>
>--
>Fedora-directory-users mailing list
>Fedora-directory-users at redhat.com
>https://www.redhat.com/mailman/listinfo/fedora-directory-users
>  
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3312 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20051107/9965a197/attachment.bin>


More information about the Fedora-directory-users mailing list