API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
__construct (XoopsDatabase $dao=null) | |
authenticate ($uname, $pwd=null) | |
getUPN ($uname) | |
Public Member Functions inherited from XoopsAuthLdap | |
__construct (XoopsDatabase $dao=null) | |
cp1252_to_utf8 ($str) | |
authenticate ($uname, $pwd=null) | |
getUserDN ($uname) | |
getFilter ($uname) | |
loadXoopsUser ($userdn, $uname, $pwd=null) | |
Public Member Functions inherited from XoopsAuth | |
__construct (XoopsDatabase $dao=null) | |
authenticate ($uname) | |
setErrors ($err_no, $err_str) | |
getErrors () | |
getHtmlErrors () | |
Additional Inherited Members | |
Data Fields inherited from XoopsAuthLdap | |
$cp1252_map | |
$ldap_server | |
$ldap_port = '389' | |
$ldap_version = '3' | |
$ldap_base_dn | |
$ldap_loginname_asdn | |
$ldap_loginldap_attr | |
$ldap_mail_attr | |
$ldap_name_attr | |
$ldap_surname_attr | |
$ldap_givenname_attr | |
$ldap_manager_dn | |
$ldap_manager_pass | |
$_ds | |
Data Fields inherited from XoopsAuth | |
$_dao | |
$_errors | |
__construct | ( | XoopsDatabase | $dao = null | ) |
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 |
Reimplemented from XoopsAuthLdap.
getUPN | ( | $uname | ) |
Return the UPN = userPrincipalName (Active Directory) userPrincipalName = guyt@.nosp@m.CP.c.nosp@m.om Often abbreviated to UPN, and looks like an email address. Very useful for logging on especially in a large Forest. Note UPN must be unique in the forest.
$uname |