extends |
XoopsAuthLdap |
---|
XoopsAuthAds
Methods | ||||||
---|---|---|---|---|---|---|
public
|
__construct(XoopsDatabase $dao = null)
Authentication Service constructor
|
# | ||||
public
|
authenticate(string $uname, string $pwd = null): bool
Authenticate user again LDAP directory (Bind)
2 options :
Authenticate directly with uname in the DN
…
Authenticate user again LDAP directory (Bind) 2 options : Authenticate directly with uname in the DN Authenticate with manager, search the dn Parameters
Overrides |
# | ||||
public
|
getUPN($uname): userDN
Return the UPN = userPrincipalName (Active Directory)
userPrincipalName = guyt@CP.com Often abbreviated to…
Return the UPN = userPrincipalName (Active Directory) userPrincipalName = guyt@CP.com 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. Returnsor false |
# |
Methods inherited from XoopsAuthLdap |
---|
cp1252_to_utf8(), getUserDN(), getFilter(), loadXoopsUser() |
Methods inherited from XoopsAuth |
---|
setErrors(), getErrors(), getHtmlErrors() |
Properties inherited from XoopsAuth |
---|
$_dao, $_errors, $auth_method |