24.43. slapi_entry_schema_check()
#include "slapi-plugin.h" int slapi_entry_schema_check( Slapi_PBlock *pb, Slapi_Entry *e );
This function takes the following parameters:
|
pb
| Parameter block. |
|
e
| Entry of which you want to check the schema. |
The function returns one of the following values:
- 0 if the entry complies with the schema or if schema checking is turned off. The function also returns 0 if the entry has additional attributes not allowed by the schema and has the object class
extensibleObject. 1if the entry is missing theobjectclassattribute, if it is missing any required attributes, if it has any attributes not allowed by the schema but does not have the object classextensibleObject, or if the entry has multiple values for a single-valued attribute.
The pb argument can be NULL. It is only used to get the SLAPI_IS_REPLACED_OPERATION flag. If that flag is present, no schema checking is done.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.