![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 305](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642305.webp)
Functions for Managing DNs
Chapter
15
Function Reference
305
See Also
slapi_dn_normalize()
slapi_dn_ignore_case()
slapi_dn_normalize_to_end()
Normalizes part of a DN value, specifically, the part going from what is pointed to
by dn to that pointed to by
end
. Note that this routine does not
NULL
terminate the
normalized bit pointed to by
dn
at the return of the function.
If the argument end happens to be NULL, this routine does basically the same
thing as
slapi_dn_normalize()
, except for
NULL
terminating the normalized DN.
Syntax
#include “slapi-plugin.h”
char *slapi_dn_normalize_to_end( char *dn, char *end);
Parameters
This function takes the following parameters:
Returns
This function returns a pointer to the end of the
dn
that has been normalized. For
example, if the RDN is
cn=Jane
and the DN is
c=US,o=example
, the new DN will
be
cn=Jane,c=US,0=example
.
See Also
slapi_dn_normalize()
slapi_dn_parent()
Gets a copy of the distinguished name (DN) of the parent of an entry. Before calling
this function, you should call
slapi_dn_normalize_case()
to normalize the DN
and convert all characters to lowercase.
dn
DN value to be normalized.
end
Pointer to the end of what will be normalized from the DN value
in
dn
. If this argument is
NULL
, the DN value in dn will be
wholly normalized.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...