Class Ldap
Authentication class for standard LDAP Server V3
- Xoops\Auth\AuthAbstract
- Xoops\Auth\Ldap
Direct known subclasses
Xoops\Auth\Ads
Namespace: Xoops\Auth
Package: Ldap
Category: Xoops\Auth
Copyright: 2000-2014 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Pierre-Eric MENUET pemphp@free.fr
Since: 2.0
Link: http://xoops.org
Located at oops_lib/Xoops/Auth/Ldap.php
Package: Ldap
Category: Xoops\Auth
Copyright: 2000-2014 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Pierre-Eric MENUET pemphp@free.fr
Since: 2.0
Link: http://xoops.org
Located at oops_lib/Xoops/Auth/Ldap.php
public
|
|
public
boolean
|
#
authenticate( string $uname, string $pwd = null )
Authenticate user again LDAP directory (Bind) 2 options : Authenticate directly with uname in the DN Authenticate with manager, search the dn |
public
boolean|string
|
|
public
mixed|string
|
|
public
boolean|
|
getErrors(),
getHtmlErrors(),
setErrors()
|
public
|
$ldap_server
|
|
public
string
|
$ldap_port
|
#
'389'
|
public
string
|
$ldap_version
|
#
'3'
|
public
|
$ldap_base_dn
|
|
public
|
$ldap_loginname_asdn
|
|
public
|
$ldap_loginldap_attr
|
|
public
|
$ldap_mail_attr
|
|
public
|
$ldap_name_attr
|
|
public
|
$ldap_surname_attr
|
|
public
|
$ldap_givenname_attr
|
|
public
|
$ldap_manager_dn
|
|
public
|
$ldap_manager_pass
|
|
public
|
$ds
|
|
public
|
$ldap_use_TLS
|
|
public
|
$ldap_domain_name
|
|
public
|
$ldap_filter_person
|
$auth_method,
$dao,
$errors
|