Mike,

> If I want multiple inheirtance, then I'll need the following setup
> 1. objectclassB inherits from objectclassA
> 2. objectclassC inheirts from objectclassB

>> No, it doesn't work. Superior classes can only inherit from top.

Um... That's strange, because I'm able to do that.
Maybe my description is not clear?

If I have the following schema setup
1. objectClassA with attribute1 inherits from top
2. objectClassB with attribute2 inherits from objectClassA
3. objectClassC with attribute3 inherits from objectClassB
then I can achieve multiple schema object class inheritance.

objectClassC will contains attribute1, attribute2 and attribute3.

objectClassA is my superior class who inherits from top.

Am I correct?

Thanks,

David Chu



On 7/12/06, Mike Jackson <mj@sci.fi> wrote:
Chun Tat David Chu wrote:
> Hi,
>
> I think I got the answer, but I would like to confirm that if I'm correct.
>
> At any given time, a single object class can only inherit from one and
> only one object class (no multiple inheritance).
>
> For example, if I have 3 object classes
> 1. objectclassA with attribute1
> 2. objectclassB with attribute2
> 3. objectclassC with attribute3
> Then objectclassC can only either inherit from objectclassA or objectclassB.

Correct.


> If I want multiple inheirtance, then I'll need the following setup
> 1. objectclassB inherits from objectclassA
> 2. objectclassC inheirts from objectclassB

No, it doesn't work. Superior classes can only inherit from top.


Mike
--
http://www.netauth.com - LDAP Directory Consulting

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