[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: pilotPerson and inetOrgPerson



Beast wrote:
Hello,

Why i can't use objectClass: pilotPerson and inetOrgPerson together?

I just need to use otherMailbox attribute, but it giving error :

ldap_add: Object class violation (65)
        additional info: invalid structural object class chain
(pilotPerson/inetOrgPerson)

In OpenLDAP 2.1.x you have a stronger schemacheck than in 2.0.x. You now can only have ONE structural object class in an entry. So you have to change one of the objectClasses to be non-structural.

regards
--
          \\\ ||| ///                               _\=/_
           (  @ @  )                                (o o)
+--------oOOo-(_)-oOOo--------------------------oOOo-(_)-oOOo------+
| Markus Schabel      TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service          A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| markus.schabel@tgm.ac.at                   Tel.: +43(1)33126/316 |
| markus.schabel@members.fsf.org             Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|        oOOo        Yet Another Spam Trap:     oOOo               |
|       (    )    oOOo    yast@tgm.ac.at       (   )     oOOo      |
+--------\  (----(   )--------------------------\ ( -----(   )-----+
          \_)     ) /                            \_)      ) /
                 (_/                                     (_/

Computers are like airconditioners:
  They stop working properly if you open windows.