golden hour
/opt/alt/openldap11/share/man/man3
⬆️ Go Up
Upload
File/Folder
Size
Actions
ber_alloc_t.3
9.07 KB
Del
OK
ber_bvarray_add.3
6.38 KB
Del
OK
ber_bvarray_free.3
6.38 KB
Del
OK
ber_bvdup.3
6.38 KB
Del
OK
ber_bvecadd.3
6.38 KB
Del
OK
ber_bvecfree.3
6.38 KB
Del
OK
ber_bvfree.3
6.38 KB
Del
OK
ber_bvstr.3
6.38 KB
Del
OK
ber_bvstrdup.3
6.38 KB
Del
OK
ber_dupbv.3
6.38 KB
Del
OK
ber_first_element.3
12.37 KB
Del
OK
ber_flush.3
9.07 KB
Del
OK
ber_free.3
6.38 KB
Del
OK
ber_get_bitstring.3
12.37 KB
Del
OK
ber_get_boolean.3
12.37 KB
Del
OK
ber_get_enum.3
12.37 KB
Del
OK
ber_get_int.3
12.37 KB
Del
OK
ber_get_next.3
12.37 KB
Del
OK
ber_get_null.3
12.37 KB
Del
OK
ber_get_stringa.3
12.37 KB
Del
OK
ber_get_stringb.3
12.37 KB
Del
OK
ber_next_element.3
12.37 KB
Del
OK
ber_peek_tag.3
12.37 KB
Del
OK
ber_printf.3
9.07 KB
Del
OK
ber_put_enum.3
9.07 KB
Del
OK
ber_put_int.3
9.07 KB
Del
OK
ber_put_null.3
9.07 KB
Del
OK
ber_put_ostring.3
9.07 KB
Del
OK
ber_put_seq.3
9.07 KB
Del
OK
ber_put_set.3
9.07 KB
Del
OK
ber_put_string.3
9.07 KB
Del
OK
ber_scanf.3
12.37 KB
Del
OK
ber_skip_tag.3
12.37 KB
Del
OK
ber_start_set.3
9.07 KB
Del
OK
ber_str2bv.3
6.38 KB
Del
OK
lber-decode.3
12.37 KB
Del
OK
lber-encode.3
9.07 KB
Del
OK
lber-memory.3
1.53 KB
Del
OK
lber-sockbuf.3
5.72 KB
Del
OK
lber-types.3
6.38 KB
Del
OK
ld_errno.3
6.54 KB
Del
OK
ldap.3
8.83 KB
Del
OK
ldap_abandon.3
2.29 KB
Del
OK
ldap_abandon_ext.3
2.29 KB
Del
OK
ldap_add.3
2.65 KB
Del
OK
ldap_add_ext.3
2.65 KB
Del
OK
ldap_add_ext_s.3
2.65 KB
Del
OK
ldap_add_s.3
2.65 KB
Del
OK
ldap_attributetype2name.3
8.78 KB
Del
OK
ldap_attributetype2str.3
8.78 KB
Del
OK
ldap_attributetype_free.3
8.78 KB
Del
OK
ldap_bind.3
11.75 KB
Del
OK
ldap_bind_s.3
11.75 KB
Del
OK
ldap_compare.3
2.72 KB
Del
OK
ldap_compare_ext.3
2.72 KB
Del
OK
ldap_compare_ext_s.3
2.72 KB
Del
OK
ldap_compare_s.3
2.72 KB
Del
OK
ldap_control_create.3
2.93 KB
Del
OK
ldap_control_dup.3
2.93 KB
Del
OK
ldap_control_find.3
2.93 KB
Del
OK
ldap_control_free.3
2.93 KB
Del
OK
ldap_controls.3
2.93 KB
Del
OK
ldap_controls_dup.3
2.93 KB
Del
OK
ldap_controls_free.3
2.93 KB
Del
OK
ldap_count_entries.3
2.35 KB
Del
OK
ldap_count_messages.3
2.58 KB
Del
OK
ldap_count_references.3
2.29 KB
Del
OK
ldap_count_values.3
2.73 KB
Del
OK
ldap_count_values_len.3
2.73 KB
Del
OK
ldap_dcedn2dn.3
6.61 KB
Del
OK
ldap_delete.3
2.49 KB
Del
OK
ldap_delete_ext.3
2.49 KB
Del
OK
ldap_delete_ext_s.3
2.49 KB
Del
OK
ldap_delete_s.3
2.49 KB
Del
OK
ldap_destroy.3
3.54 KB
Del
OK
ldap_dn2ad_canonical.3
6.61 KB
Del
OK
ldap_dn2dcedn.3
6.61 KB
Del
OK
ldap_dn2str.3
6.61 KB
Del
OK
ldap_dn2ufn.3
6.61 KB
Del
OK
ldap_dnfree.3
6.61 KB
Del
OK
ldap_dup.3
3.54 KB
Del
OK
ldap_err2string.3
6.54 KB
Del
OK
ldap_errlist.3
6.54 KB
Del
OK
ldap_error.3
6.54 KB
Del
OK
ldap_explode_dn.3
6.61 KB
Del
OK
ldap_explode_rdn.3
6.61 KB
Del
OK
ldap_extended_operation.3
2.47 KB
Del
OK
ldap_extended_operation_s.3
2.47 KB
Del
OK
ldap_first_attribute.3
2.3 KB
Del
OK
ldap_first_entry.3
2.35 KB
Del
OK
ldap_first_message.3
2.58 KB
Del
OK
ldap_first_reference.3
2.29 KB
Del
OK
ldap_free_urldesc.3
3.02 KB
Del
OK
ldap_get_dn.3
6.61 KB
Del
OK
ldap_get_option.3
19.06 KB
Del
OK
ldap_get_values.3
2.73 KB
Del
OK
ldap_get_values_len.3
2.73 KB
Del
OK
ldap_init.3
5.96 KB
Del
OK
ldap_init_fd.3
5.96 KB
Del
OK
ldap_initialize.3
5.96 KB
Del
OK
ldap_install_tls.3
1.66 KB
Del
OK
ldap_is_ldap_url.3
3.02 KB
Del
OK
ldap_matchingrule2name.3
8.78 KB
Del
OK
ldap_matchingrule2str.3
8.78 KB
Del
OK
ldap_matchingrule_free.3
8.78 KB
Del
OK
ldap_memalloc.3
1.55 KB
Del
OK
ldap_memcalloc.3
1.55 KB
Del
OK
ldap_memfree.3
1.55 KB
Del
OK
ldap_memory.3
1.55 KB
Del
OK
ldap_memrealloc.3
1.55 KB
Del
OK
ldap_memvfree.3
1.55 KB
Del
OK
ldap_modify.3
4.45 KB
Del
OK
ldap_modify_ext.3
4.45 KB
Del
OK
ldap_modify_ext_s.3
4.45 KB
Del
OK
ldap_modify_s.3
4.45 KB
Del
OK
ldap_modrdn.3
2.27 KB
Del
OK
ldap_modrdn2.3
2.27 KB
Del
OK
ldap_modrdn2_s.3
2.27 KB
Del
OK
ldap_modrdn_s.3
2.27 KB
Del
OK
ldap_mods_free.3
4.45 KB
Del
OK
ldap_msgfree.3
4.41 KB
Del
OK
ldap_msgid.3
4.41 KB
Del
OK
ldap_msgtype.3
4.41 KB
Del
OK
ldap_next_attribute.3
2.3 KB
Del
OK
ldap_next_entry.3
2.35 KB
Del
OK
ldap_next_message.3
2.58 KB
Del
OK
ldap_next_reference.3
2.29 KB
Del
OK
ldap_objectclass2name.3
8.78 KB
Del
OK
ldap_objectclass2str.3
8.78 KB
Del
OK
ldap_objectclass_free.3
8.78 KB
Del
OK
ldap_open.3
5.96 KB
Del
OK
ldap_parse_extended_result.3
3.94 KB
Del
OK
ldap_parse_reference.3
2.3 KB
Del
OK
ldap_parse_result.3
3.94 KB
Del
OK
ldap_parse_sasl_bind_result.3
3.94 KB
Del
OK
ldap_parse_sort_control.3
1.64 KB
Del
OK
ldap_parse_vlv_control.3
2.29 KB
Del
OK
ldap_perror.3
6.54 KB
Del
OK
ldap_rename.3
2.63 KB
Del
OK
ldap_rename_s.3
2.63 KB
Del
OK
ldap_result.3
4.41 KB
Del
OK
ldap_result2error.3
6.54 KB
Del
OK
ldap_sasl_bind.3
11.75 KB
Del
OK
ldap_sasl_bind_s.3
11.75 KB
Del
OK
ldap_schema.3
8.78 KB
Del
OK
ldap_scherr2str.3
8.78 KB
Del
OK
ldap_search.3
5.11 KB
Del
OK
ldap_search_ext.3
5.11 KB
Del
OK
ldap_search_ext_s.3
5.11 KB
Del
OK
ldap_search_s.3
5.11 KB
Del
OK
ldap_search_st.3
5.11 KB
Del
OK
ldap_set_option.3
19.06 KB
Del
OK
ldap_set_rebind_proc.3
11.75 KB
Del
OK
ldap_set_urllist_proc.3
5.96 KB
Del
OK
ldap_simple_bind.3
11.75 KB
Del
OK
ldap_simple_bind_s.3
11.75 KB
Del
OK
ldap_sort.3
1.23 KB
Del
OK
ldap_sort_entries.3
1.23 KB
Del
OK
ldap_sort_strcasecmp.3
1.23 KB
Del
OK
ldap_sort_values.3
1.23 KB
Del
OK
ldap_start_tls.3
1.66 KB
Del
OK
ldap_start_tls_s.3
1.66 KB
Del
OK
ldap_str2attributetype.3
8.78 KB
Del
OK
ldap_str2dn.3
6.61 KB
Del
OK
ldap_str2matchingrule.3
8.78 KB
Del
OK
ldap_str2objectclass.3
8.78 KB
Del
OK
ldap_str2syntax.3
8.78 KB
Del
OK
ldap_strdup.3
1.55 KB
Del
OK
ldap_sync.3
9.51 KB
Del
OK
ldap_syntax2name.3
8.78 KB
Del
OK
ldap_syntax2str.3
8.78 KB
Del
OK
ldap_syntax_free.3
8.78 KB
Del
OK
ldap_tls.3
1.66 KB
Del
OK
ldap_tls_inplace.3
1.66 KB
Del
OK
ldap_unbind.3
11.75 KB
Del
OK
ldap_unbind_ext.3
11.75 KB
Del
OK
ldap_unbind_ext_s.3
11.75 KB
Del
OK
ldap_unbind_s.3
11.75 KB
Del
OK
ldap_url.3
3.02 KB
Del
OK
ldap_url_parse.3
3.02 KB
Del
OK
ldap_value_free.3
2.73 KB
Del
OK
ldap_value_free_len.3
2.73 KB
Del
OK
Edit: ldap_search_s.3
.lf 1 stdin .TH LDAP_SEARCH 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_search, ldap_search_s, ldap_search_st, ldap_search_ext, ldap_search_ext_s \- Perform an LDAP search operation .SH LIBRARY OpenLDAP LDAP (libldap, \-lldap) .SH SYNOPSIS .nf .ft B #include <sys/types.h> #include <ldap.h> .LP .ft B int ldap_search_ext( .RS LDAP *\fIld\fB, char *\fIbase\fB, int \fIscope\fB, char *\fIfilter\fB, char *\fIattrs\fB[], int \fIattrsonly\fB, LDAPControl **\fIserverctrls\fB, LDAPControl **\fIclientctrls\fB, struct timeval *\fItimeout\fB, int \fIsizelimit\fB, int *\fImsgidp\fB ); .RE .LP .ft B int ldap_search_ext_s( .RS LDAP *\fIld\fB, char *\fIbase\fB, int \fIscope\fB, char *\fIfilter\fB, char *\fIattrs\fB[], int \fIattrsonly\fB, LDAPControl **\fIserverctrls\fB, LDAPControl **\fIclientctrls\fB, struct timeval *\fItimeout\fB, int \fIsizelimit\fB, LDAPMessage **\fIres\fB ); .RE .SH DESCRIPTION These routines are used to perform LDAP search operations. The .B ldap_search_ext_s() routine does the search synchronously (i.e., not returning until the operation completes), providing a pointer to the resulting LDAP messages at the location pointed to by the \fIres\fP parameter. .LP The .B ldap_search_ext() routine is the asynchronous version, initiating the search and returning the message id of the operation it initiated in the integer pointed to by the \fImsgidp\fP parameter. .LP The \fIbase\fP parameter is the DN of the entry at which to start the search. .LP The \fIscope\fP parameter is the scope of the search and should be one of LDAP_SCOPE_BASE, to search the object itself, LDAP_SCOPE_ONELEVEL, to search the object's immediate children, LDAP_SCOPE_SUBTREE, to search the object and all its descendants, or LDAP_SCOPE_CHILDREN, to search all of the descendants. Note that the latter requires the server support the LDAP Subordinates Search Scope extension. .LP The \fIfilter\fP is a string representation of the filter to apply in the search. The string should conform to the format specified in RFC 4515 as extended by RFC 4526. For instance, "(cn=Jane Doe)". Note that use of the extension requires the server to support the LDAP Absolute True/False Filter extension. NULL may be specified to indicate the library should send the filter (objectClass=*). .LP The \fIattrs\fP parameter is a null-terminated array of attribute descriptions to return from matching entries. If NULL is specified, the return of all user attributes is requested. The description "*" (LDAP_ALL_USER_ATTRIBUTES) may be used to request all user attributes to be returned. The description "+"(LDAP_ALL_OPERATIONAL_ATTRIBUTES) may be used to request all operational attributes to be returned. Note that this requires the server to support the LDAP All Operational Attribute extension. To request no attributes, the description "1.1" (LDAP_NO_ATTRS) should be listed by itself. .LP The \fIattrsonly\fP parameter should be set to a non-zero value if only attribute descriptions are wanted. It should be set to zero (0) if both attributes descriptions and attribute values are wanted. .LP The \fIserverctrls\fP and \fIclientctrls\fP parameters may be used to specify server and client controls, respectively. .LP The .B ldap_search_ext_s() routine is the synchronous version of .BR ldap_search_ext(). .LP It also returns a code indicating success or, in the case of failure, indicating the nature of the failure of the operation. See .BR ldap_error (3) for details. .SH NOTES Note that both read and list functionality are subsumed by these routines, by using a filter like "(objectclass=*)" and a scope of LDAP_SCOPE_BASE (to emulate read) or LDAP_SCOPE_ONELEVEL (to emulate list). .LP These routines may dynamically allocate memory. The caller is responsible for freeing such memory using supplied deallocation routines. Return values are contained in <ldap.h>. .LP Note that \fIres\fR parameter of .B ldap_search_ext_s() and .B ldap_search_s() should be freed with .B ldap_msgfree() regardless of return value of these functions. .SH DEPRECATED INTERFACES The .B ldap_search() routine is deprecated in favor of the .B ldap_search_ext() routine. The .B ldap_search_s() and .B ldap_search_st() routines are deprecated in favor of the .B ldap_search_ext_s() routine. .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 139 stdin .SH SEE ALSO .BR ldap (3), .BR ldap_result (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 145 stdin
Save