Свойство | Type | Description | |
---|---|---|---|
$_fp | resource | Socket connection resource. |
Méthode | Description | |
---|---|---|
__construct ( array $params = [] ) |
Méthode | Description | |
---|---|---|
_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. |
protected _sendCommand ( string $cmd ) | ||
$cmd | string | The string to send to the server. |