Functions for Managing Entries
Chapter
15
Function Reference
339
Memory Concerns
Never free the returned
attr
. Use
slapi_attr_dup()
to make a copy if a copy is
needed.
See Also
slapi_attr_dup()
slapi_entry_rdn_values_present()
Determines whether or not the values in an entry’s relative distinguished name
(RDN) are also present as attribute values. (For example, if the entry’s RDN is
cn=Barbara Jensen
, the function determines if the entry has the
cn
attribute with
the value
Barbara Jensen
.)
Syntax
#include “slapi-plugin.h”
int slapi_entry_rdn_values_present( Slapi_Entry *e );
Parameters
This function takes the following parameter:
Returns
The function returns one of the following values:
•
1
if the values in the RDN are present in attributes of the entry.
•
0
if the values are not present.
slapi_entry_schema_check()
Determines whether or not the specified entry complies with the schema for its
object class.
Syntax
#include “slapi-plugin.h”
int slapi_entry_schema_check( Slapi_PBlock *pb, Slapi_Entry *e );
e
Entry from which you want to get the attribute.
Содержание NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Страница 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Страница 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 26: ...Types of Directory Server Plug Ins 26 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 38: ...Compiling a Directory Server Plug In 38 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 54: ...An Example Pre Operation Plug In 54 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 90: ...Processing an LDAP Abandon Operation 90 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 110: ...Using SASL with an LDAP Client 110 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 122: ...Specifying Start and Close Functions 122 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 214: ...Summary of Data Types and Structures 214 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 554: ...Functions for Registering Additional Plug Ins 554 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 596: ...Parameters for the Virtual Attribute Service 596 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...