MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
LDAPDELETE(3)                                                  LDAPDELETE(3)



NAME
       ldapdelete, ldapdeletes - Perform an LDAP delete operation

LIBRARY
       OpenLDAP LDAP (libldap, -lldap)

SYNOPSIS
       ##include <>

       int ldapdeletes(ld,, dn)
       LDAP *ld;
       char *dn;

       int ldapdelete(ld,, dn)
       LDAP *ld;
       char *dn;

DESCRIPTION
       The ldapdeletes() routine is used to perform an LDAP delete operation
       synchronously.  It takes dn, the DN of the entry  to  be  deleted.   It
       returns  an  LDAP  error code, indicating the success or failure of the
       operation.

       The ldapdelete() routine is used to perform an LDAP  delete  operation
       asynchronously.   It  takes the same parameters as ldapdeletes(), but
       returns the message id of the request it initiated.  The result of  the
       delete can be obtained by a subsequent call to ldapresult(3).

ERORS
       ldapdeletes()  returns an LDAP error code which can be interpreted by
       calling one of ldapperror(3) and friends.  ldapdelete() returns -1 if
       something  went wrong initiating the request.  It returns the non-nega-
       tive message id of the request if things went ok.

SEE ALSO
       ldap(3), ldaperror(3)

ACKNOWLEDGEMENTS
       OpenLDAP  is  developed  and  maintained  by   The   OpenLDAP   Project
       (http:/www.openldap.org/).   OpenLDAP  is  derived  from University of
       Michigan LDAP 3.3 Release.



OpenLDAP 2.2.19                   2004/11/26                    LDAPDELETE(3)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™