Property | Type | Description | |
---|---|---|---|
$_fp | resource | Socket connection resource. |
Method | Description | |
---|---|---|
__construct ( array $params = [] ) |
Method | 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. |