XOOPS 2.5.6
Final
|
Public Member Functions | |
authenticate ($uname, $pwd=null) | |
cp1252_to_utf8 ($str) | |
getFilter ($uname) | |
getUserDN ($uname) | |
loadXoopsUser ($userdn, $uname, $pwd=null) | |
XoopsAuthLdap (&$dao) | |
Public Member Functions inherited from XoopsAuth | |
authenticate () | |
getErrors () | |
getHtmlErrors () | |
setErrors ($err_no, $err_str) | |
XoopsAuth (&$dao) | |
Public Attributes | |
$_ds | |
$cp1252_map | |
$ldap_base_dn | |
$ldap_givenname_attr | |
$ldap_loginldap_attr | |
$ldap_loginname_asdn | |
$ldap_mail_attr | |
$ldap_manager_dn | |
$ldap_manager_pass | |
$ldap_name_attr | |
$ldap_port = '389' | |
$ldap_server | |
$ldap_surname_attr | |
$ldap_version = '3' | |
Public Attributes inherited from XoopsAuth | |
$_dao | |
$_errors | |
Definition at line 48 of file auth_ldap.php.
XoopsAuthLdap::authenticate | ( | $uname, | |
$pwd = null |
|||
) |
Authenticate user again LDAP directory (Bind) 2 options : Authenticate directly with uname in the DN Authenticate with manager, search the dn
string | $uname | Username |
string | $pwd | Password |
Definition at line 183 of file auth_ldap.php.
References $uname, _AUTH_LDAP_EXTENSION_NOT_LOAD, _AUTH_LDAP_SERVER_NOT_FOUND, _AUTH_LDAP_START_TLS_FAILED, getUserDN(), loadXoopsUser(), and XoopsAuth\setErrors().
XoopsAuthLdap::cp1252_to_utf8 | ( | $str | ) |
XoopsAuthLdap::cp1252_to_utf8()
mixed | $str |
Definition at line 168 of file auth_ldap.php.
XoopsAuthLdap::getFilter | ( | $uname | ) |
Load user from XOOPS Database
Definition at line 252 of file auth_ldap.php.
References $filter, and $uname.
Referenced by getUserDN().
XoopsAuthLdap::getUserDN | ( | $uname | ) |
Compose the user DN with the configuration.
Definition at line 224 of file auth_ldap.php.
References $filter, $ldap_base_dn, $uname, _AUTH_LDAP_USER_NOT_FOUND, getFilter(), and XoopsAuth\setErrors().
Referenced by authenticate().
XoopsAuthLdap::loadXoopsUser | ( | $userdn, | |
$uname, | |||
$pwd = null |
|||
) |
XoopsAuthLdap::loadXoopsUser()
mixed | $userdn | |
mixed | $uname | |
mixed | $pwd |
Definition at line 271 of file auth_ldap.php.
References $uname, $xoopsUser, _AUTH_LDAP_CANT_READ_ENTRY, XoopsAuthProvisionning\getInstance(), and XoopsAuth\setErrors().
Referenced by authenticate().
XoopsAuthLdap::XoopsAuthLdap | ( | & | $dao | ) |
Authentication Service constructor
Definition at line 150 of file auth_ldap.php.
References $config, $config_handler, XOOPS_CONF_AUTH, and xoops_gethandler().
XoopsAuthLdap::$_ds |
Definition at line 145 of file auth_ldap.php.
XoopsAuthLdap::$cp1252_map |
Definition at line 50 of file auth_ldap.php.
XoopsAuthLdap::$ldap_base_dn |
Definition at line 136 of file auth_ldap.php.
Referenced by getUserDN().
XoopsAuthLdap::$ldap_givenname_attr |
Definition at line 142 of file auth_ldap.php.
XoopsAuthLdap::$ldap_loginldap_attr |
Definition at line 138 of file auth_ldap.php.
XoopsAuthLdap::$ldap_loginname_asdn |
Definition at line 137 of file auth_ldap.php.
XoopsAuthLdap::$ldap_mail_attr |
Definition at line 139 of file auth_ldap.php.
XoopsAuthLdap::$ldap_manager_dn |
Definition at line 143 of file auth_ldap.php.
XoopsAuthLdap::$ldap_manager_pass |
Definition at line 144 of file auth_ldap.php.
XoopsAuthLdap::$ldap_name_attr |
Definition at line 140 of file auth_ldap.php.
XoopsAuthLdap::$ldap_port = '389' |
Definition at line 134 of file auth_ldap.php.
XoopsAuthLdap::$ldap_server |
LATIN CAPITAL LETTER Y WITH DIAERESIS
Definition at line 133 of file auth_ldap.php.
XoopsAuthLdap::$ldap_surname_attr |
Definition at line 141 of file auth_ldap.php.
XoopsAuthLdap::$ldap_version = '3' |
Definition at line 135 of file auth_ldap.php.