![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Determine remote server implementation and capabilities. More...
#include <freeradius-devel/ldap/base.h>
Include dependency graph for directory.c:Go to the source code of this file.
Macros | |
| #define | LOG_PREFIX name |
Functions | |
| int | fr_ldap_conn_directory_alloc_async (fr_ldap_connection_t *ldap_conn) |
| Async extract useful information from the rootDSE of the LDAP server. | |
| int | fr_ldap_directory_result_parse (fr_ldap_directory_t *directory, LDAP *handle, LDAPMessage *result, char const *name) |
| int | fr_ldap_trunk_directory_alloc_async (TALLOC_CTX *ctx, fr_ldap_thread_trunk_t *ttrunk) |
| Async extract useful information from the rootDSE of the LDAP server. | |
| static void | ldap_trunk_directory_alloc_read (LDAP *handle, fr_ldap_query_t *query, LDAPMessage *result, void *rctx) |
| Parse results of search on rootDSE to gather data on LDAP server. | |
Variables | |
| static fr_table_num_sorted_t const | fr_ldap_directory_type_table [] |
| static size_t | fr_ldap_directory_type_table_len = NUM_ELEMENTS(fr_ldap_directory_type_table) |
Determine remote server implementation and capabilities.
As described by http://ldapwiki.willeke.com/wiki/Determine%20LDAP%20Server%20Vendor
Definition in file directory.c.
Definition at line 31 of file directory.c.
| int fr_ldap_conn_directory_alloc_async | ( | fr_ldap_connection_t * | ldap_conn | ) |
Async extract useful information from the rootDSE of the LDAP server.
This version is for a single connection rather than a connection trunk
| [in] | ldap_conn | connection to be queried |
Definition at line 287 of file directory.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int fr_ldap_directory_result_parse | ( | fr_ldap_directory_t * | directory, |
| LDAP * | handle, | ||
| LDAPMessage * | result, | ||
| char const * | name | ||
| ) |
Definition at line 52 of file directory.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int fr_ldap_trunk_directory_alloc_async | ( | TALLOC_CTX * | ctx, |
| fr_ldap_thread_trunk_t * | ttrunk | ||
| ) |
Async extract useful information from the rootDSE of the LDAP server.
This is called once for each new thread trunk when it first connects.
| [in] | ctx | to allocate fr_ldap_directory_t in. |
| [in] | ttrunk | Thread trunk connection to be queried |
Definition at line 257 of file directory.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Parse results of search on rootDSE to gather data on LDAP server.
| [in] | handle | on which the query was run. |
| [in] | query | which requested the rootDSE. |
| [in] | result | head of LDAP results message chain. |
| [in] | rctx | LDAP directory whose properties are to be populated. |
Definition at line 239 of file directory.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 35 of file directory.c.
|
static |
Definition at line 50 of file directory.c.
1.9.8