Overview

Packages

  • Auth

Classes

  • Horde_Auth
  • Horde_Auth_Auto
  • Horde_Auth_Base
  • Horde_Auth_Composite
  • Horde_Auth_Customsql
  • Horde_Auth_Cyrsql
  • Horde_Auth_Exception
  • Horde_Auth_Ftp
  • Horde_Auth_Http
  • Horde_Auth_Http_Remote
  • Horde_Auth_Imap
  • Horde_Auth_Ipbasic
  • Horde_Auth_Kolab
  • Horde_Auth_Ldap
  • Horde_Auth_Login
  • Horde_Auth_Msad
  • Horde_Auth_Pam
  • Horde_Auth_Passwd
  • Horde_Auth_Peclsasl
  • Horde_Auth_Radius
  • Horde_Auth_Shibboleth
  • Horde_Auth_Smb
  • Horde_Auth_Smbclient
  • Horde_Auth_Sql
  • Horde_Auth_Translation
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Auth_Smb

The Horde_Auth_Smb class provides a SMB implementation of the Horde authentication system.

This module requires the smbauth extension for PHP: http://tekrat.com/wp/smbauth/

At the time of this writing, the extension, and thus this module, only supported authentication against a domain, and pdc and bdc must be non-null and not equal to each other. In other words, to use this module you must have a domain with at least one PDC and one BDC.

Copyright 1999-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, http://www.horde.org/licenses/lgpl21

Horde_Auth_Base
Extended by Horde_Auth_Smb
Package: Auth
Category: Horde
License: LGPL-2.1
Author: Jon Parise jon@horde.org
Author: Marcus I. Ryan marcus@riboflavin.net
Located at Horde/Auth/Smb.php
Methods summary
public
# __construct( array $params = array() )

Constructor.

Constructor.

Parameters

$params
Parameters: <pre><span class="php-quote">'domain'</span> - (string) [REQUIRED] The domain name to authenticate with. <span class="php-quote">'group'</span> - Group name that the user must be a member of. <span class="php-keyword1">DEFAULT</span>: none <span class="php-quote">'hostspec'</span> - (string) [REQUIRED] IP, DNS Name, <span class="php-keyword1">or</span> NetBios name of the SMB server to authenticate with.</pre>

Throws

Horde_Auth_Exception
InvalidArgumentException

Overrides

Horde_Auth_Base::__construct()
public
# _authenticate( string $userId, array $credentials )

Find out if the given set of login credentials are valid.

Find out if the given set of login credentials are valid.

Parameters

$userId
The userId to check.
$credentials
An array of login credentials.

Throws

Horde_Auth_Exception
Methods inherited from Horde_Auth_Base
addUser(), authenticate(), exists(), getCredential(), getError(), getParam(), hasCapability(), isLocked(), listUsers(), lockUser(), removeUser(), resetPassword(), setCredential(), setError(), transparent(), unlockUser(), updateUser(), validateAuth()
API documentation generated by ApiGen