Overview

Packages

  • Auth
    • Ads
    • Ldap
    • Xoops
  • Autotasks
  • Config
    • Category
    • Item
    • Option
  • Core
    • Filesystem
    • Filters
    • Logger
    • Mail
    • Message
    • Password
    • Security
    • StopSpammer
    • Template
    • Textsanitizer
    • VersionChecker
  • Data
    • Avatar
    • Comment
  • Database
    • Connection
    • Criteria
    • Legacy
    • MySQL
    • PDO
    • Updater
  • Feeds
    • RSS
  • File
  • Form
    • Base
    • Elements
  • ICMS
    • IPF
      • View
  • Image
    • Category
  • Ipf
    • Category
    • Controller
    • Export
    • form
    • Keyhighlighter
    • Member
    • Object
    • Permission
    • richfile
    • Tree
    • urllink
    • View
  • kernel
    • Set
  • Member
    • Group
    • GroupMembership
    • GroupPermission
    • User
  • Messaging
  • Module
  • None
  • Notification
  • Page
  • Plugins
    • Editor
  • Preload
    • Libraries
  • Privmessage
  • Session
  • SmartObject
  • View
    • Block
    • Breadcrumb
    • PageNav
    • PrinterFriendly
    • Template
    • Templates
    • Theme
    • Tree

Classes

  • icms_auth_Ads
  • Overview
  • Package
  • Class

Class icms_auth_Ads

Authentification class for Active Directory

icms_auth_Object
Extended by icms_auth_Ldap
Extended by icms_auth_Ads
Package: Auth\Ads
Category: ICMS
Copyright: http://www.xoops.org/ The XOOPS Project
Copyright: http://www.impresscms.org/ The ImpressCMS Project
License: GNU General Public License (GPL)
Author: Pierre-Eric MENUET pemphp@free.fr
Since: XOOPS
Located at auth/Ads.php
Methods summary
public
# __construct( & $dao )

Authentication Service constructor

Authentication Service constructor

Overrides

icms_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

icms_auth_Ldap::authenticate()
public userDN
# 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

userDN
or false
Methods inherited from icms_auth_Ldap
cp1252_to_utf8(), getFilter(), getUserDN(), loadicms_member_user_Object()
Methods inherited from icms_auth_Object
getErrors(), getHtmlErrors(), setErrors()
Properties inherited from icms_auth_Ldap
$_ds, $cp1252_map, $ldap_base_dn, $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_version
API documentation generated by ApiGen