#include <ldap.h>#include "../../str.h"#include "../../sr_module.h"


Go to the source code of this file.
Defines | |
| #define | LDAP_MAX_FILTER_LEN 1024 |
Functions | |
| void | get_last_ldap_result (LDAP **_last_ldap_handle, LDAPMessage **_last_ldap_result) |
| int | get_ldap_handle (char *_lds_name, LDAP **_ldap_handle) |
| int | ldap_get_attr_vals (str *_attr_name, struct berval ***_vals) |
| int | ldap_inc_result_pointer (void) |
| int | ldap_params_search (int *_ld_result_count, char *_lds_name, char *_dn, int _scope, char **_attrs, char *_filter,...) |
| int | ldap_str2scope (char *scope_str) |
| int | ldap_url_search (char *_ldap_url, int *_ld_result_count) |
| #define LDAP_MAX_FILTER_LEN 1024 |
| void get_last_ldap_result | ( | LDAP ** | _last_ldap_handle, | |
| LDAPMessage ** | _last_ldap_result | |||
| ) |
Definition at line 144 of file ldap_api_fn.c.
References last_ldap_handle, and last_ldap_result.
Referenced by load_ldap().
| int get_ldap_handle | ( | char * | _lds_name, | |
| LDAP ** | _ldap_handle | |||
| ) |
Definition at line 82 of file ldap_api_fn.c.
References get_connected_ldap_session(), and ld_session::handle.
Referenced by load_ldap().
| int ldap_get_attr_vals | ( | str * | _attr_name, | |
| struct berval *** | _vals | |||
| ) |
Definition at line 311 of file ldap_api_fn.c.
References last_ldap_handle, last_ldap_result, _str::len, LM_ERR, NULL, and _str::s.
Referenced by ldap_result_check(), ldap_write_result(), and load_ldap().
| int ldap_inc_result_pointer | ( | void | ) |
Definition at line 280 of file ldap_api_fn.c.
References last_ldap_handle, last_ldap_result, LM_ERR, and NULL.
Referenced by ldap_result_next(), and load_ldap().
| int ldap_params_search | ( | int * | _ld_result_count, | |
| char * | _lds_name, | |||
| char * | _dn, | |||
| int | _scope, | |||
| char ** | _attrs, | |||
| char * | _filter, | |||
| ... | ||||
| ) |
Definition at line 150 of file ldap_api_fn.c.
References LDAP_MAX_FILTER_LEN, lds_search(), LM_DBG, LM_ERR, NULL, and vsnprintf.
Referenced by ldap_url_search(), and load_ldap().
| int ldap_str2scope | ( | char * | scope_str | ) |
| int ldap_url_search | ( | char * | _ldap_url, | |
| int * | _ld_result_count | |||
| ) |
Definition at line 240 of file ldap_api_fn.c.
References ldap_params_search(), LM_DBG, LM_ERR, NULL, and ZSW.
Referenced by ldap_search_impl(), and load_ldap().
1.5.6