During validation stage
The Server API does some minor error checking on the
arguments passed to
it. Most of the error checking must be done by the OSA.
The Server API will generate errors for:
-
specifying an attribute multiple times.
-
specifying an attribute which is already implicitly
specified via a group attribute.
-
passing attributes to the delete operation.
-
passing attributes with values to the get and
replaceWithDefault operations.
(SCO_OSA_ERR_INVALID_ATTRIBUTE_VALUE)
-
passing attributes without values to the replace, add, remove and
create operations. (SCO_OSA_ERR_INVALID_ATTRIBUTE_VALUE)
-
specifying an unsupported operation. (SCO_OSA_ERR_UNRECOGNIZED_OPERATION)
-
specifying an illegal attribute. (SCO_OSA_ERR_NO_SUCH_ATTRIBUTE)
-
specifying an illegal object class. (SCO_OSA_ERR_NO_SUCH_OBJECT_CLASS)
-
containing a garbled command. (SCO_OSA_ERR_MISTYPED_ARGUMENT)
-
specifying an illegal filter. (SCO_OSA_ERR_INVALID_FILTER)
-
Assigning set values to a single valued attribute. (SCO_OSA_ERR_INVALID_ATTRIBUTE_VALUE)
-
specifying an attribute without a value for the set, replace,
add, create or remove operation.
(SCO_OSA_ERR_MISSING_ATTRIBUTE_VALUE)
Next topic:
During application stage
Previous topic:
Error checking
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004