$28 GRAYBYTE WORDPRESS FILE MANAGER $43

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/openldap11/share/man/man3/

HOME
Current File : /opt/alt/openldap11/share/man/man3//ldap_modify.3
.lf 1 stdin
.TH LDAP_MODIFY 3 "2018/03/22" "OpenLDAP 2.4.46"
.\" $OpenLDAP$
.\" Copyright 1998-2018 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
.SH NAME
ldap_modify_ext, ldap_modify_ext_s \- Perform an LDAP modify operation
.SH LIBRARY
OpenLDAP LDAP (libldap, \-lldap)
.SH SYNOPSIS
.nf
.ft B
#include <ldap.h>
.LP
.ft B
int ldap_modify_ext(
.RS
.ft B
LDAP *\fIld\fB,
char *\fIdn\fB,
LDAPMod *\fImods[]\fB,
LDAPControl **\fIsctrls\fB,
LDAPControl **\fIcctrls\fB,
int *\fImsgidp\fB );
.RE
.LP
.nf
.ft B
int ldap_modify_ext_s(
.RS
.ft B
LDAP *\fIld\fB,
char *\fIdn\fB,
LDAPMod *\fImods[]\fB,
LDAPControl **\fIsctrls\fB,
LDAPControl **\fIcctrls\fB );
.RE
.LP
.nf
.ft B
void ldap_mods_free(
.RS
.ft B
LDAPMod **\fImods\fB,
int \fIfreemods\fB );
.RE
.SH DESCRIPTION
The routine
.B ldap_modify_ext_s()
is used to perform an LDAP modify operation.
\fIdn\fP is the DN of the entry to modify, and \fImods\fP is a
null-terminated array of modifications to make to the entry.  Each element
of the \fImods\fP array is a pointer to an LDAPMod structure, which is
defined below.
.LP
.nf
	typedef struct ldapmod {
	    int mod_op;
	    char *mod_type;
	    union {
	        char **modv_strvals;
	        struct berval **modv_bvals;
	    } mod_vals;
	    struct ldapmod *mod_next;
	} LDAPMod;
	#define mod_values mod_vals.modv_strvals
	#define mod_bvalues mod_vals.modv_bvals
.ft
.fi
.LP
The \fImod_op\fP field is used to specify the type of modification to
perform and should be one of LDAP_MOD_ADD, LDAP_MOD_DELETE, or
LDAP_MOD_REPLACE.  The \fImod_type\fP and \fImod_values\fP fields
specify the attribute type to modify and a null-terminated array of
values to add, delete, or replace respectively.  The \fImod_next\fP
field is used only by the LDAP server and may be ignored by the
client.
.LP
If you need to specify a non-string value (e.g., to add a
photo or audio attribute value), you should set \fImod_op\fP to the
logical OR of the operation as above (e.g., LDAP_MOD_REPLACE)
and the constant LDAP_MOD_BVALUES.  In this case, \fImod_bvalues\fP
should be used instead of \fImod_values\fP, and it should point to
a null-terminated array of struct bervals, as defined in <lber.h>.
.LP
For LDAP_MOD_ADD modifications, the given values are added to the
entry, creating the attribute if necessary.  For LDAP_MOD_DELETE
modifications, the given values are deleted from the entry, removing
the attribute if no values remain.  If the entire attribute is to be deleted,
the \fImod_values\fP field should be set to NULL.  For LDAP_MOD_REPLACE
modifications, the attribute will have the listed values after the
modification, having been created if necessary.  All modifications are
performed in the order in which they are listed.
.LP
.B ldap_mods_free()
can be used to free each element of a NULL-terminated
array of mod structures.  If \fIfreemods\fP is non-zero, the
\fImods\fP pointer itself is freed as well.
.LP
.B ldap_modify_ext_s()
returns a code indicating success or, in the case of failure,
indicating the nature of the failure.  See
.BR ldap_error (3)
for details
.LP
The
.B ldap_modify_ext()
operation works the same way as
.BR ldap_modify_ext_s() ,
except that it is asynchronous. The integer that \fImsgidp\fP points
to is set to the message id of the modify request.  The result of
the operation can be obtained by calling
.BR ldap_result (3).
.LP
Both
.B ldap_modify_ext() 
and
.B ldap_modify_ext_s() 
allows server and client controls to be passed in
via the sctrls and cctrls parameters, respectively.
.SH DEPRECATED INTERFACES
The
.B ldap_modify()
and
.B ldap_modify_s()
routines are deprecated in favor of the
.B ldap_modify_ext()
and
.B ldap_modify_ext_s()
routines, respectively.
.LP
.lf 1 ./Deprecated
Deprecated interfaces generally remain in the library.  The macro
LDAP_DEPRECATED can be defined to a non-zero value
(e.g., -DLDAP_DEPRECATED=1) when compiling program designed to use
deprecated interfaces.  It is recommended that developers writing new
programs, or updating old programs, avoid use of deprecated interfaces.
Over time, it is expected that documentation (and, eventually, support) for
deprecated interfaces to be eliminated.
.lf 132 stdin
.SH SEE ALSO
.BR ldap (3),
.BR ldap_error (3),
.SH ACKNOWLEDGEMENTS
.lf 1 ./../Project
.\" Shared Project Acknowledgement Text
.B "OpenLDAP Software"
is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>.
.B "OpenLDAP Software"
is derived from the University of Michigan LDAP 3.3 Release.  
.lf 137 stdin


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
31 Aug 2024 7.04 AM
root / root
0755
ber_alloc_t.3
9.073 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_bvarray_add.3
6.381 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_bvarray_free.3
6.381 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_bvdup.3
6.381 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_bvecadd.3
6.381 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_bvecfree.3
6.381 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_bvfree.3
6.381 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_bvstr.3
6.381 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_bvstrdup.3
6.381 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_dupbv.3
6.381 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_first_element.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_flush.3
9.073 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_free.3
6.381 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_get_bitstring.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_get_boolean.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_get_enum.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_get_int.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_get_next.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_get_null.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_get_stringa.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_get_stringb.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_next_element.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_peek_tag.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_printf.3
9.073 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_put_enum.3
9.073 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_put_int.3
9.073 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_put_null.3
9.073 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_put_ostring.3
9.073 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_put_seq.3
9.073 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_put_set.3
9.073 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_put_string.3
9.073 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_scanf.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_skip_tag.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_start_set.3
9.073 KB
9 Jul 2020 12.54 PM
root / root
0644
ber_str2bv.3
6.381 KB
9 Jul 2020 12.54 PM
root / root
0644
lber-decode.3
12.365 KB
9 Jul 2020 12.54 PM
root / root
0644
lber-encode.3
9.073 KB
9 Jul 2020 12.54 PM
root / root
0644
lber-memory.3
1.527 KB
9 Jul 2020 12.54 PM
root / root
0644
lber-sockbuf.3
5.717 KB
9 Jul 2020 12.54 PM
root / root
0644
lber-types.3
6.381 KB
9 Jul 2020 12.54 PM
root / root
0644
ld_errno.3
6.535 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap.3
8.83 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_abandon.3
2.294 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_abandon_ext.3
2.294 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_add.3
2.65 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_add_ext.3
2.65 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_add_ext_s.3
2.65 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_add_s.3
2.65 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_attributetype2name.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_attributetype2str.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_attributetype_free.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_bind.3
11.748 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_bind_s.3
11.748 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_compare.3
2.722 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_compare_ext.3
2.722 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_compare_ext_s.3
2.722 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_compare_s.3
2.722 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_control_create.3
2.935 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_control_dup.3
2.935 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_control_find.3
2.935 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_control_free.3
2.935 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_controls.3
2.935 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_controls_dup.3
2.935 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_controls_free.3
2.935 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_count_entries.3
2.354 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_count_messages.3
2.577 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_count_references.3
2.294 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_count_values.3
2.727 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_count_values_len.3
2.727 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_dcedn2dn.3
6.61 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_delete.3
2.491 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_delete_ext.3
2.491 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_delete_ext_s.3
2.491 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_delete_s.3
2.491 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_destroy.3
3.545 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_dn2ad_canonical.3
6.61 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_dn2dcedn.3
6.61 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_dn2str.3
6.61 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_dn2ufn.3
6.61 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_dnfree.3
6.61 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_dup.3
3.545 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_err2string.3
6.535 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_errlist.3
6.535 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_error.3
6.535 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_explode_dn.3
6.61 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_explode_rdn.3
6.61 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_extended_operation.3
2.475 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_extended_operation_s.3
2.475 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_first_attribute.3
2.303 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_first_entry.3
2.354 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_first_message.3
2.577 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_first_reference.3
2.294 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_free_urldesc.3
3.024 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_get_dn.3
6.61 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_get_option.3
19.059 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_get_values.3
2.727 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_get_values_len.3
2.727 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_init.3
5.96 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_init_fd.3
5.96 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_initialize.3
5.96 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_install_tls.3
1.655 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_is_ldap_url.3
3.024 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_matchingrule2name.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_matchingrule2str.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_matchingrule_free.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_memalloc.3
1.547 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_memcalloc.3
1.547 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_memfree.3
1.547 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_memory.3
1.547 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_memrealloc.3
1.547 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_memvfree.3
1.547 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_modify.3
4.446 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_modify_ext.3
4.446 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_modify_ext_s.3
4.446 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_modify_s.3
4.446 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_modrdn.3
2.266 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_modrdn2.3
2.266 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_modrdn2_s.3
2.266 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_modrdn_s.3
2.266 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_mods_free.3
4.446 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_msgfree.3
4.407 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_msgid.3
4.407 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_msgtype.3
4.407 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_next_attribute.3
2.303 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_next_entry.3
2.354 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_next_message.3
2.577 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_next_reference.3
2.294 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_objectclass2name.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_objectclass2str.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_objectclass_free.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_open.3
5.96 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_parse_extended_result.3
3.941 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_parse_reference.3
2.296 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_parse_result.3
3.941 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_parse_sasl_bind_result.3
3.941 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_parse_sort_control.3
1.644 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_parse_vlv_control.3
2.291 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_perror.3
6.535 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_rename.3
2.634 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_rename_s.3
2.634 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_result.3
4.407 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_result2error.3
6.535 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_sasl_bind.3
11.748 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_sasl_bind_s.3
11.748 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_schema.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_scherr2str.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_search.3
5.114 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_search_ext.3
5.114 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_search_ext_s.3
5.114 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_search_s.3
5.114 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_search_st.3
5.114 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_set_option.3
19.059 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_set_rebind_proc.3
11.748 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_set_urllist_proc.3
5.96 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_simple_bind.3
11.748 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_simple_bind_s.3
11.748 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_sort.3
1.227 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_sort_entries.3
1.227 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_sort_strcasecmp.3
1.227 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_sort_values.3
1.227 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_start_tls.3
1.655 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_start_tls_s.3
1.655 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_str2attributetype.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_str2dn.3
6.61 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_str2matchingrule.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_str2objectclass.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_str2syntax.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_strdup.3
1.547 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_sync.3
9.51 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_syntax2name.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_syntax2str.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_syntax_free.3
8.783 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_tls.3
1.655 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_tls_inplace.3
1.655 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_unbind.3
11.748 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_unbind_ext.3
11.748 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_unbind_ext_s.3
11.748 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_unbind_s.3
11.748 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_url.3
3.024 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_url_parse.3
3.024 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_value_free.3
2.727 KB
9 Jul 2020 12.54 PM
root / root
0644
ldap_value_free_len.3
2.727 KB
9 Jul 2020 12.54 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF