PHP 클래스 Horde_Auth_Smb, horde

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.
저자: Jon Parise ([email protected])
저자: Marcus I. Ryan ([email protected])
상속: extends Horde_Auth_Base
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
__construct ( array $params = [] ) Constructor.
_authenticate ( string $userId, array $credentials ) Find out if the given set of login credentials are valid.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $params = [] )
$params array Parameters:
'domain' - (string) [REQUIRED] The domain name to authenticate with.
'group' - Group name that the user must be a member of.
          DEFAULT: none
'hostspec' - (string) [REQUIRED] IP, DNS Name, or NetBios name of the
             SMB server to authenticate with.

_authenticate() 공개 메소드

Find out if the given set of login credentials are valid.
public _authenticate ( string $userId, array $credentials )
$userId string The userId to check.
$credentials array An array of login credentials.