[ Index ]
 

Code source de XOOPS 2.0.17.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/htdocs/class/auth/ -> auth_ads.php (sommaire)

Authentification class for Active Directory

Poids: 109 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

XoopsAuthAds:: (3 méthodes):
  XoopsAuthAds()
  authenticate()
  getUPN()


Classe: XoopsAuthAds  - X-Ref


XoopsAuthAds(&$dao)   X-Ref
Authentication Service constructor


authenticate($uname, $pwd = null)   X-Ref
Authenticate  user again LDAP directory (Bind)
2 options :
Authenticate directly with uname in the DN
Authenticate with manager, search the dn

param: string $uname Username
param: string $pwd Password
return: bool

getUPN($uname)   X-Ref
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.

return: userDN or false



Généré le : Sun Nov 25 11:44:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics