ldap_create_omit_group_referential_integrity_control()--Create an Omit Group Referential Integrity Control


  Syntax
 #include < ldap.h > 
 
 int ldap_create_omit_group_referential_integrity_control (
        LDAP            *ld,
        LDAPControl     **control)

  Service Program Name: QSYS/QGLDCLNT

  Default Public Authority: *USE

  Threadsafe: Yes

The ldap_create_omit_group_referential_integrity_control() function is used to create an Omit Group Referential Integrity control. The Omit Group Referential Integrity control is used to cause an LDAP server not to do the group referential integrity processing for a delete or rename operation; groups that reference the deleted or renamed entry are not changed.


Parameters

ld
(Input)

The LDAP pointer returned by a previous call to ldap_init() or ldap_ssl_init().

control
(Output)

The address in which a pointer to the allocated LDAPControl is returned. The caller must free the returned LDAPControl using ldap_control_free().


Authorities and Locks

No IBM® i authority is required. Authority to use the Omit Group Referential Integrity control is determined by the LDAP server.


Return Value

LDAP_SUCCESS
The request was successful.

another LDAP error
The request was not successful. See LDAP Client API Error Conditions for possible LDAP error code values.

Related Information



API introduced: V6R1

[ Back to top | LDAP APIs | APIs by category ]