LDAP Account Manager

sambaMungedDial
in package

Manages terminal server settings for Samba 3.

Tags
author

Cajus Pollmeier

Table of Contents

$ctx  : mixed
$ctxattributes  : mixed
$old_behavior  : mixed
$stringParams  : mixed
$timeParams  : mixed
decode_munged()  : mixed
Takes a base64-encoded MungedDial-String and returns an array of included parameters and values
encode_munged()  : mixed
Encode full MungedDial-String
endian()  : mixed
endian
genTime()  : mixed
genTime
getBrokenConn()  : mixed
gets Broken-Connection value: disconnect/reset
getConnectClientDrives()  : mixed
gets connect-client-drive-at-logon value: enabled/disabled
getConnectClientPrinters()  : mixed
gets connect-client-printers-at-logon value: enabled/disabled
getCtxMaxConnectionTimeF()  : mixed
SMARTY: gets the checkbox state of "Connection"
getCtxMaxDisconnectionTimeF()  : mixed
SMARTY: gets the checkbox state of "Disconnection"
getCtxMaxIdleTimeF()  : mixed
SMARTY: gets the checkbox state of "Idle"
getDefaultPrinter()  : mixed
gets set-client-printer-to-default value: enabled/disabled
getInheritMode()  : mixed
gets Inherit-config-from-client value: enabled/disabled
getMunged()  : mixed
Returns ready-to-run mungedDialString to be filled into ldap
getOnDemandFlags()  : mixed
Returns array of flags, which can be set on-demand with activated java-script
getReConn()  : mixed
gets Reconnection value: from any client/from previous client only
getShadow()  : mixed
gets shadow value (enum): 0-4 0: disabled 1: input on, notify on 2: input on, notify off 3: input off, notify on 4: input off, notify off
getTsLogin()  : mixed
Gets Terminal-Server-Login value: enabled/disabled
hexstr()  : mixed
hexstr
is_samba_path()  : mixed
Checks if this is a valid Samba path.
load()  : mixed
function takes a base64-encoded sambaMungedDial
munge()  : mixed
Setup parameter given by paramName to MungedDial-Format
readTime()  : mixed
readTime
setBrokenConn()  : mixed
sets Broken-Connection value: disconnect/reset
setConnectClientDrives()  : mixed
sets connect-client-drive-at-logon value: enabled/disabled
setConnectClientPrinters()  : mixed
sets connect-client-printers-at-logon value: enabled/disabled
setCtxMaxConnectionTimeF()  : mixed
SMARTY: sets the checkbox "Connection" to unchecked
setCtxMaxDisconnectionTimeF()  : mixed
SMARTY: sets the checkbox "Disconnection" to unchecked
setCtxMaxIdleTimeF()  : mixed
SMARTY: sets the checkbox "Idle" to unchecked
setDefaultPrinter()  : mixed
sets set-client-printer-to-default value: enabled/disabled
setInheritMode()  : mixed
sets Inherit-config-from-client value: enabled/disabled
setReConn()  : mixed
sets Reconnection value: from any client/from previous client only
setShadow()  : mixed
sets shadow value
setTsLogin()  : mixed
Sets Terminal-Server-Login value: enabled/disabled
strhex()  : mixed
strhex
to8bit()  : mixed
to8bit

Properties

$ctx

public mixed $ctx = array('CtxCfgPresent' => '551e0bb0', 'CtxCfgFlags1' => '00e00010', 'CtxCallback' => '', 'CtxShadow' => '01000000', 'CtxMaxConnectionTime' => '', 'CtxMaxDisconnectionTime' => '', 'CtxMaxIdleTime' => '', 'CtxKeyboardLayout' => '', 'CtxMinEncryptionLevel' => '00', 'CtxWorkDirectory' => '', 'CtxNWLogonServer' => '', 'CtxWFHomeDir' => '', 'CtxWFHomeDirDrive' => '', 'CtxWFProfilePath' => '', 'CtxInitialProgram' => '', 'CtxCallbackNumber' => '')

$ctxattributes

public mixed $ctxattributes = array("CtxCfgPresent", "CtxCfgFlags1", "CtxCallback", "CtxShadow", "CtxMaxConnectionTime", "CtxMaxDisconnectionTime", "CtxMaxIdleTime", "CtxKeyboardLayout", "CtxMinEncryptionLevel", "CtxWorkDirectory", "CtxNWLogonServer", "CtxWFHomeDir", "CtxWFHomeDirDrive", "CtxWFProfilePath", "CtxInitialProgram", "CtxCallbackNumber")

$stringParams

private mixed $stringParams = array("CtxWorkDirectory", "CtxNWLogonServer", "CtxWFHomeDir", "CtxWFHomeDirDrive", "CtxWFProfilePath", "CtxInitialProgram", "CtxCallbackNumber")

$timeParams

private mixed $timeParams = array("CtxMaxConnectionTime", "CtxMaxDisconnectionTime", "CtxMaxIdleTime")

Methods

decode_munged()

Takes a base64-encoded MungedDial-String and returns an array of included parameters and values

public decode_munged(mixed $munge) : mixed
Parameters
$munge : mixed
Return values
mixed

encode_munged()

Encode full MungedDial-String

public encode_munged(mixed $params) : mixed
Parameters
$params : mixed
Return values
mixed

endian()

endian

public endian(mixed $src) : mixed
Parameters
$src : mixed
Return values
mixed

genTime()

genTime

public genTime(mixed $minutes) : mixed
Parameters
$minutes : mixed
Return values
mixed

getBrokenConn()

gets Broken-Connection value: disconnect/reset

public getBrokenConn() : mixed
Return values
mixed

getConnectClientDrives()

gets connect-client-drive-at-logon value: enabled/disabled

public getConnectClientDrives() : mixed
Return values
mixed

getConnectClientPrinters()

gets connect-client-printers-at-logon value: enabled/disabled

public getConnectClientPrinters() : mixed
Return values
mixed

getCtxMaxConnectionTimeF()

SMARTY: gets the checkbox state of "Connection"

public getCtxMaxConnectionTimeF() : mixed
Return values
mixed

getCtxMaxDisconnectionTimeF()

SMARTY: gets the checkbox state of "Disconnection"

public getCtxMaxDisconnectionTimeF() : mixed
Return values
mixed

getCtxMaxIdleTimeF()

SMARTY: gets the checkbox state of "Idle"

public getCtxMaxIdleTimeF() : mixed
Return values
mixed

getDefaultPrinter()

gets set-client-printer-to-default value: enabled/disabled

public getDefaultPrinter() : mixed
Return values
mixed

getInheritMode()

gets Inherit-config-from-client value: enabled/disabled

public getInheritMode() : mixed
Return values
mixed

getMunged()

Returns ready-to-run mungedDialString to be filled into ldap

public getMunged() : mixed
Return values
mixed

getOnDemandFlags()

Returns array of flags, which can be set on-demand with activated java-script

public getOnDemandFlags() : mixed
Return values
mixed

getReConn()

gets Reconnection value: from any client/from previous client only

public getReConn() : mixed
Return values
mixed

getShadow()

gets shadow value (enum): 0-4 0: disabled 1: input on, notify on 2: input on, notify off 3: input off, notify on 4: input off, notify off

public getShadow() : mixed
Return values
mixed

getTsLogin()

Gets Terminal-Server-Login value: enabled/disabled

public getTsLogin() : mixed
Return values
mixed

hexstr()

hexstr

public hexstr(mixed $hex) : mixed
Parameters
$hex : mixed
Return values
mixed

is_samba_path()

Checks if this is a valid Samba path.

public is_samba_path(mixed $path) : mixed
Parameters
$path : mixed
Return values
mixed

load()

function takes a base64-encoded sambaMungedDial

public load(mixed $mungedDial) : mixed
Parameters
$mungedDial : mixed
Return values
mixed

munge()

Setup parameter given by paramName to MungedDial-Format

public munge(mixed $paramName, mixed $paramValue, mixed $isString) : mixed
Parameters
$paramName : mixed
$paramValue : mixed
$isString : mixed
Return values
mixed

readTime()

readTime

public readTime(mixed $time) : mixed
Parameters
$time : mixed
Return values
mixed

setBrokenConn()

sets Broken-Connection value: disconnect/reset

public setBrokenConn(mixed $checked) : mixed
Parameters
$checked : mixed
Return values
mixed

setConnectClientDrives()

sets connect-client-drive-at-logon value: enabled/disabled

public setConnectClientDrives(mixed $checked) : mixed
Parameters
$checked : mixed
Return values
mixed

setConnectClientPrinters()

sets connect-client-printers-at-logon value: enabled/disabled

public setConnectClientPrinters(mixed $checked) : mixed
Parameters
$checked : mixed
Return values
mixed

setCtxMaxConnectionTimeF()

SMARTY: sets the checkbox "Connection" to unchecked

public setCtxMaxConnectionTimeF(mixed $checked) : mixed
Parameters
$checked : mixed
Return values
mixed

setCtxMaxDisconnectionTimeF()

SMARTY: sets the checkbox "Disconnection" to unchecked

public setCtxMaxDisconnectionTimeF(mixed $checked) : mixed
Parameters
$checked : mixed
Return values
mixed

setCtxMaxIdleTimeF()

SMARTY: sets the checkbox "Idle" to unchecked

public setCtxMaxIdleTimeF(mixed $checked) : mixed
Parameters
$checked : mixed
Return values
mixed

setDefaultPrinter()

sets set-client-printer-to-default value: enabled/disabled

public setDefaultPrinter(mixed $checked) : mixed
Parameters
$checked : mixed
Return values
mixed

setInheritMode()

sets Inherit-config-from-client value: enabled/disabled

public setInheritMode(mixed $checked) : mixed
Parameters
$checked : mixed
Return values
mixed

setReConn()

sets Reconnection value: from any client/from previous client only

public setReConn(mixed $checked) : mixed
Parameters
$checked : mixed
Return values
mixed

setShadow()

sets shadow value

public setShadow(mixed $checked, mixed $value) : mixed
Parameters
$checked : mixed
$value : mixed
Return values
mixed

setTsLogin()

Sets Terminal-Server-Login value: enabled/disabled

public setTsLogin(mixed $checked) : mixed
Parameters
$checked : mixed
Return values
mixed

strhex()

strhex

public strhex(mixed $string) : mixed
Parameters
$string : mixed
Return values
mixed

to8bit()

to8bit

public to8bit(mixed $string) : mixed
Parameters
$string : mixed
Return values
mixed

Search results