Overview

Namespaces

  • None
  • Xmf
    • Database
    • Module
      • Helper
    • Template
  • Xoops
    • Auth
    • Core
      • Cache
      • Database
        • Logging
        • Schema
      • Exception
      • Handler
        • Scheme
      • Kernel
        • Dtype
        • Handlers
        • Model
      • Lists
      • Locale
        • Punic
      • Service
        • Contract
      • Session
      • Text
        • Sanitizer
          • Extensions
      • Theme
        • Plugins
    • Form
    • Html
    • Locale
    • Module
      • Helper
      • Plugin

Classes

  • Ads
  • AuthAbstract
  • Factory
  • Ldap
  • Provisioning
  • Xoops
  • Overview
  • Namespace
  • Class
  • Tree

Class Ads

Authentication class for Active Directory

Xoops\Auth\AuthAbstract
Extended by Xoops\Auth\Ldap
Extended by 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/Ads.php
Methods summary
public
# __construct( Xoops\Core\Database\Connection $dao = null )

Authentication Service constructor

Authentication Service constructor

Parameters

$dao
database

Overrides

Xoops\Auth\Ldap::__construct()
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

Authenticate user again LDAP directory (Bind) 2 options : Authenticate directly with uname in the DN Authenticate with manager, search the dn

Parameters

$uname
Username
$pwd
Password

Returns

boolean

Overrides

Xoops\Auth\Ldap::authenticate()
public string
# getUPN( string $uname )

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 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.

Parameters

$uname
username

Returns

string
userDN
Methods inherited from Xoops\Auth\Ldap
getFilter(), getUserDN(), loadXoopsUser()
Methods inherited from Xoops\Auth\AuthAbstract
getErrors(), getHtmlErrors(), setErrors()
Properties inherited from Xoops\Auth\Ldap
$ds, $ldap_base_dn, $ldap_domain_name, $ldap_filter_person, $ldap_givenname_attr, $ldap_loginldap_attr, $ldap_loginname_asdn, $ldap_mail_attr, $ldap_manager_dn, $ldap_manager_pass, $ldap_name_attr, $ldap_port, $ldap_server, $ldap_surname_attr, $ldap_use_TLS, $ldap_version
Properties inherited from Xoops\Auth\AuthAbstract
$auth_method, $dao, $errors
API documentation generated by ApiGen