Hello all,
I derive an objectClass from organizationalUnit and make it AUXILIARY. I am getting this error
Can any one please explain , me why this error comes
user-defined ObjectClass has inappropriate SUPerior
Thanks in advance,
Arunachalam
**************************************************************************** **************************** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
Arunachalam Parthasarathy wrote:
Hello all,
I derive an objectClass from organizationalUnit and make it AUXILIARY. I am getting this error
Can any one please explain , me why this error comes
user-defined ObjectClass has inappropriate SUPerior
You probably aren't loading core.schema first.
Gavin Henry wrote:
Arunachalam Parthasarathy wrote:
Hello all,
I derive an objectClass from organizationalUnit and make it AUXILIARY. I am getting this error
Can any one please explain , me why this error comes
user-defined ObjectClass has inappropriate SUPerior
You probably aren't loading core.schema first.
organizationalUnit is STRUCTURAL; you can't make AUXILIARY a class derived from a STRUCTURAL one.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it --------------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Email: pierangelo.masarati@sys-net.it ---------------------------------------
Pierangelo Masarati wrote:
Gavin Henry wrote:
Arunachalam Parthasarathy wrote:
Hello all,
I derive an objectClass from organizationalUnit and make it AUXILIARY. I am getting this error
Can any one please explain , me why this error comes
user-defined ObjectClass has inappropriate SUPerior
You probably aren't loading core.schema first.
organizationalUnit is STRUCTURAL; you can't make AUXILIARY a class derived from a STRUCTURAL one.
Thanks for that reminder...I should go to sleep now!
Gavin.
On Saturday 29 September 2007 08:52:18 Arunachalam Parthasarathy wrote:
Hello all,
I derive an objectClass from organizationalUnit and make it AUXILIARY. I am getting this error
Can any one please explain , me why this error comes
user-defined ObjectClass has inappropriate SUPerior
There's no reason to derive an AUXILIARY from a STRUCTURAL anyway. Derive your AUXILIARY from top, or make it STRUCTURAL and derive from a STRUCTURAL.
Regards, Buchan
Hello all,
I derive an objectClass from organizationalUnit and make it AUXILIARY. I
am getting this error
Can any one please explain , me why this error comes
user-defined ObjectClass has inappropriate SUPerior
There's no reason to derive an AUXILIARY from a STRUCTURAL anyway. >Derive
your
AUXILIARY from top, or make it STRUCTURAL and derive from a STRUCTURAL.
Regards,
Buchan
Hello Buchan,
Thanks for the reply.
1) Second choice of making new objectClass STRUCTURAL is fine for me , but will there be any restrictions for new STRUCTURAL object classes to be created from any parent (for instance, organizationalUnit)
And from this, new STRUCTURAL class, if I derive one more hierarchy down , will there be any restrictions for that grand child object class.
2) Can I know why is that restriction that AUXILIARY cannot be derived from STRUCTURAL?
Thanks in advance,
Arunachalam.
**************************************************************************** ****************************
This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
- Second choice of making new objectClass STRUCTURAL is fine for me ,
but will there be any restrictions for new STRUCTURAL object classes to be created from any parent (for instance, organizationalUnit)
Only that they be STRUCTURAL.
And from this, new STRUCTURAL class, if I derive one more hierarchy down , will there be any restrictions for that grand child object class.
None beyond what apply to all object classes. Proprietary/custom schema is treated no differently than standard schema.
- Can I know why is that restriction that AUXILIARY cannot be derived
from STRUCTURAL?
Because it makes no sense. Look-up the meanings of AUXILIARY and STRUCTURAL.
Adam Tauno Williams wrote:
Because it makes no sense. Look-up the meanings of AUXILIARY and STRUCTURAL.
See RFC 4512 "Lightweight Directory Access Protocol (LDAP): Directory Information Models".
Citing from section 2.4.3:
"Auxiliary object classes cannot subclass structural object classes."
Ciao, Michael.
openldap-software@openldap.org