PHP 클래스 Passwd_Driver_Smbpasswd, horde

저자: Rene Lund Jensen ([email protected])
상속: extends Passwd_Driver
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_fp resource Socket connection resource.

공개 메소드들

메소드 설명
__construct ( array $params = [] )

보호된 메소드들

메소드 설명
_changePassword ( $user, $oldpass, $newpass )
_connect ( string $user, string $tmpfile ) Connects a pipe to the sambaserver using the smbpasswd program.
_disconnect ( ) Disconnects the pipe to the sambaserver.
_sendCommand ( string $cmd ) Sends a string to the waiting sambaserver.

메소드 상세

__construct() 공개 메소드

public __construct ( array $params = [] )
$params array

_changePassword() 보호된 메소드

protected _changePassword ( $user, $oldpass, $newpass )

_connect() 보호된 메소드

Connects a pipe to the sambaserver using the smbpasswd program.
protected _connect ( string $user, string $tmpfile )
$user string The user to change the password for
$tmpfile string The name of a temporary file in which to write output.

_disconnect() 보호된 메소드

Disconnects the pipe to the sambaserver.
protected _disconnect ( )

_sendCommand() 보호된 메소드

Sends a string to the waiting sambaserver.
protected _sendCommand ( string $cmd )
$cmd string The string to send to the server.

프로퍼티 상세

$_fp 보호되어 있는 프로퍼티

Socket connection resource.
protected resource $_fp
리턴 resource