Go to the source code of this file.
◆ LDAP_DEPRECATED
| #define LDAP_DEPRECATED 1 |
◆ PROGRAM_NAME
| #define PROGRAM_NAME "digest_pw_auth(LDAP_backend)" |
◆ getpassword()
| static char * getpassword |
( |
char * |
login, |
|
|
char * |
realm |
|
) |
| |
|
static |
Definition at line 203 of file ldap_backend.cc.
References debug(), delimiter, encrpass, ld, ldap_escape_value(), ldapconnect(), noreferrals, passattr, PROGRAM_NAME, searchscope, userbasedn, userdnattr, usersearchfilter, and xstrdup.
◆ ldap_escape_value()
| static int ldap_escape_value |
( |
char * |
escaped, |
|
|
int |
size, |
|
|
const char * |
src |
|
) |
| |
|
static |
◆ LDAPArguments()
| int LDAPArguments |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 403 of file ldap_backend.cc.
References aliasderef, binddn, bindpasswd, connect_timeout, debug_enabled, delimiter, encrpass, frealm, ldapServer, noreferrals, passattr, persistent, port, PROGRAM_NAME, readSecret(), searchscope, strip_nt_domain, timelimit, use_tls, userbasedn, userdnattr, usersearchfilter, version, xmalloc, and xstrdup.
◆ ldapconnect()
| static void ldapconnect |
( |
void |
| ) |
|
|
static |
Definition at line 310 of file ldap_backend.cc.
References aliasderef, binddn, bindpasswd, connect_timeout, debug(), ld, ldapServer, noreferrals, NULL, port, PROGRAM_NAME, squid_ldap_set_aliasderef(), squid_ldap_set_connect_timeout(), squid_ldap_set_referrals(), squid_ldap_set_timelimit(), timelimit, use_tls, and version.
◆ LDAPHHA1()
Definition at line 654 of file ldap_backend.cc.
References delimiter, DigestCalcHA1(), encrpass, _request_data::error, frealm, getpassword(), _request_data::HHA1, ldapconnect(), _request_data::realm, _request_data::user, and xstrncpy().
◆ readSecret()
| static int readSecret |
( |
const char * |
filename | ) |
|
|
static |
◆ squid_ldap_errno()
| static int squid_ldap_errno |
( |
LDAP * |
ld | ) |
|
|
static |
◆ squid_ldap_memfree()
| static void squid_ldap_memfree |
( |
char * |
p | ) |
|
|
static |
◆ squid_ldap_set_aliasderef()
| static void squid_ldap_set_aliasderef |
( |
int |
deref | ) |
|
|
static |
◆ squid_ldap_set_connect_timeout()
| static void squid_ldap_set_connect_timeout |
( |
int |
aTimeLimit | ) |
|
|
static |
◆ squid_ldap_set_referrals()
| static void squid_ldap_set_referrals |
( |
int |
referrals | ) |
|
|
static |
◆ squid_ldap_set_timelimit()
| static void squid_ldap_set_timelimit |
( |
int |
aTimeLimit | ) |
|
|
static |
◆ aliasderef
| int aliasderef = LDAP_DEREF_NEVER |
|
static |
◆ binddn
| const char* binddn = nullptr |
|
static |
◆ bindpasswd
| const char* bindpasswd = nullptr |
|
static |
◆ connect_timeout
◆ delimiter
| const char* delimiter = ":" |
|
static |
◆ encrpass
◆ frealm
◆ ld
◆ ldapServer
| char* ldapServer = nullptr |
|
static |
◆ noreferrals
◆ passattr
| const char* passattr = nullptr |
|
static |
◆ persistent
◆ port
◆ searchscope
| int searchscope = LDAP_SCOPE_SUBTREE |
|
static |
◆ strip_nt_domain
◆ timelimit
| int timelimit = LDAP_NO_LIMIT |
|
static |
◆ userbasedn
| const char* userbasedn = nullptr |
|
static |
◆ userdnattr
| const char* userdnattr = nullptr |
|
static |
◆ usersearchfilter
| const char* usersearchfilter = nullptr |
|
static |