Re: make an attribute default to object class?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux