do not treat extensibleObject as special; add comment about referral

This commit is contained in:
Pierangelo Masarati 2003-01-30 21:21:20 +00:00
parent cbf7b063e3
commit e3b9e0a565

View File

@ -243,18 +243,33 @@ do_add( Connection *conn, Operation *op )
goto done;
}
/* check for special objectClass */
/*
* check for special objectClasses: alias, to allow
*
* dn: DC=alias,DC=example,DC=net
* aliasedObjectName: DC=aliased,DC=example,DC=net
* objectClass: alias
*/
if ( oc == slap_schema.si_oc_alias ) {
break;
}
/*
* FIXME: a referral should be implemented
* as exemplified in RFC3296:
*
* dn: DC=sub,DC=example,DC=net
* dc: sub
* ref: ldap://B/DC=sub,DC=example,DC=net
* objectClass: referral
* objectClass: extensibleObject
*
* in this case there would be no need to treat
* the "referral" objectClass as special.
*/
if ( oc == slap_schema.si_oc_referral ) {
break;
}
if ( oc == slap_schema.si_oc_extensibleObject ) {
break;
}
}
/*