On Monday, 28 June 2010 04:43:11 shyuejyh.tw wrote: > HI All : > I have Big problem in replica account , when i add new account in old > 2.0.2x to new 2.4.11 i find error log in 123.223.111.222:389.rej (at old > server)
You *really* should upgrade your 2.0.x ... > ERROR: Object class violation > replica: 123.223.111.222:389 > time: 1233452016.0 > dn: uid=poorman,ou=33-22,dc=somewhere,dc=com > changetype: add > objectClass: account // This is Structural 1 > objectClass: pilotPerson // This is Structural 2 > objectClass: posixAccount > objectClass: top > objectClass: shadowAccount > > than i check , account and pilotPerson are both Structural, if i remove any > one of than , add is done. but, i really need to add 2 structural in a > record, how can i config ? i have try edit cosine.schema , but doesn't > work .. > > objectclass ( 0.9.2342.19200300.100.4.5 NAME 'account' > SUP top STRUCTURAL //Change to SUP top AUXILIARY > MUST userid > MAY ( description $ seeAlso $ localityName $ > organizationName $ organizationalUnitName $ host ) > ) > Drop objectclass 'account', if you need 'host' attribute, use 'hostObject' objectclass defined in ldapns.schema from nss_ldap. Regards, Buchan
