buildUploadAccounts
checkConfigOptions
checkProfileOptions
check_ip
check_module_conflicts
check_module_depends
doUploadPostActions
doUploadPreActions
getAvailableModules
getAvailablePDFFields
getConfigOptions
getHelp
getModuleAlias
getModulesDependencies
getProfileOptions
getRDNAttributes
getRequiredExtensions
getUploadColumns
get_ldap_filter
is_base_module
lamCompareDescriptiveOptions
lamdaemon
parseHtml
printHelpLink
SAMBA_MUNGEDDIAL_FILEHEADER
SAMBA_MUNGEDDIAL_FILEHEADER_OLD
buildUploadAccounts(string $scope, array $data, array $ids, array $selectedModules) : mixed
If there are problems status messages will be printed automatically.
stringaccount type
arrayarray containing one account in each element
arrayarray(
arrayselected account modules
mixedarray including accounts or false if there were errorscheckConfigOptions(array $scopes, array $options) : array
arrayhash array (module name => array(account types))
arrayhash array containing all options (name => array(...))
arraylist of error messagescheckProfileOptions(string $scope, array $options) : array
stringaccount type (user, group, host)
arrayhash array containing all options (name => array(...))
arraylist of error messagescheck_ip(String $ip, boolean $subnet)
StringIP address
booleanIP must be a subnet
check_module_conflicts(array $selected, array $deps) : boolean
arrayselected module names
arraymodule dependencies
booleanfalse if no conflict was found, otherwise an array of array(selected module, conflicting module) if conflicts were foundcheck_module_depends(array $selected, array $deps) : mixed
arrayselected module names
arraymodule dependencies
mixedfalse if no misssing dependency was found, otherwise an array of array(selected module, depending module) if missing dependencies were founddoUploadPostActions(string $scope, array $data, array $ids, array $failed, array $selectedModules, array $accounts) : array
stringaccount type
arrayarray containing one account in each element
arrayarray(
arraylist of accounts which were not created successfully
arraylist of selected account modules
arraylist of LDAP entries
arraycurrent status doUploadPreActions(String $scope, array $selectedModules, array $attributes) : array
Stringaccount type
arraylist of selected account modules
arrayLDAP attributes of this entry (attributes are provided as reference, handle modifications of $attributes with care)
arrayarray which contains status messages. Each entry is an array containing the status message parameters.getAvailableModules(string $scope, boolean $mustSupportAdminInterface) : array
stringaccount type (user, group, host)
booleanmodule must support LAM admin interface (default: false)
arraylist of possible modulesgetAvailablePDFFields(string $scope) : array
stringaccount type (user, group, host)
arrayPDF entries (field ID => field label)getConfigOptions(array $scopes) : array
arrayhash array (module name => array(account types))
arrayconfiguration optionsgetHelp(string $module, string $helpID, string $scope) : array
stringmodule name
stringhelp identifier
stringaccount type
arrayhelp entrygetModuleAlias(string $name, string $scope) : string
stringthe module name
stringthe account type ("user", "group", "host")
stringalias namegetModulesDependencies(string $scope) : array
"dependencies" contains an array with two sub arrays: depends, conflicts
The elements of "depends" are either module names or an array of module names (OR-case).
The elements of conflicts are module names.
stringthe account type (user, group, host)
arraydependenciesgetProfileOptions(string $scope) : array
stringaccount type (user, group, host)
arrayprofile elementsgetRDNAttributes(string $scope, array $selectedModules) : array
The list is already sorted by the priority given by the nodules.
stringaccount type (user, group, host)
arrayreturn only RDN attributes of these modules
arraylist of LDAP attributesgetRequiredExtensions() : array
arrayrequired extensionsgetUploadColumns(string $scope, array $selectedModules) : array
Syntax:
array(
string: name, // fixed non-translated name which is used as column name (should be of format:
string: description, // short descriptive name
string: help, // help ID
string: example, // example value
boolean: required // true, if user must set a value for this column
)
stringaccount type
arrayselected account modules
arraycolumn listget_ldap_filter(string $scope) : string
stringthe account type ("user", "group", "host")
stringLDAP filteris_base_module(string $name, string $scope) : boolean
stringthe module name
stringthe account type ("user", "group", "host")
booleantrue if base modulelamCompareDescriptiveOptions(array $a, array $b) : integer
It compares the second entries of two arrays.
arrayfirst array
arraysecond array
integercompare resultlamdaemon(array $command, string $server) : array
arraycommand to execute
stringremote server
arrayOutput of lamdaemonparseHtml(string $module, mixed $input, array $values, boolean $restricted, integer $tabindex, string $scope) : array
The modules are not allowed to display HTML code directly but return meta HTML code. This allows to have a common design for all module pages.
stringName of account module
mixedhtmlElement or array of htmlElement elements
arrayList of values which override the defaults in $input (name => value)
booleanIf true then no buttons will be displayed
integerStart value of tabulator index for input fields
stringAccount type
arrayList of input field names and their type (name => type)printHelpLink(array $entry, String $number, String $module, String $scope)
arrayhelp entry
Stringhelp number
Stringmodule name
Stringaccount scope
This interface needs to be implemented by all account modules which manage passwords.
« More »SAMBA_MUNGEDDIAL_FILEHEADER
SAMBA_MUNGEDDIAL_FILEHEADER_OLD