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.
string
account type
array
array containing one account in each element
array
array(
array
selected account modules
mixed
array including accounts or false if there were errorscheckConfigOptions(array $scopes, array $options) : array
array
hash array (module name => array(account types))
array
hash array containing all options (name => array(...))
array
list of error messagescheckProfileOptions(string $scope, array $options) : array
string
account type (user, group, host)
array
hash array containing all options (name => array(...))
array
list of error messagescheck_ip(String $ip, boolean $subnet)
String
IP address
boolean
IP must be a subnet
check_module_conflicts(array $selected, array $deps) : boolean
array
selected module names
array
module dependencies
boolean
false 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
array
selected module names
array
module dependencies
mixed
false 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
string
account type
array
array containing one account in each element
array
array(
array
list of accounts which were not created successfully
array
list of selected account modules
array
list of LDAP entries
array
current status doUploadPreActions(String $scope, array $selectedModules, array $attributes) : array
String
account type
array
list of selected account modules
array
LDAP attributes of this entry (attributes are provided as reference, handle modifications of $attributes with care)
array
array which contains status messages. Each entry is an array containing the status message parameters.getAvailableModules(string $scope, boolean $mustSupportAdminInterface) : array
string
account type (user, group, host)
boolean
module must support LAM admin interface (default: false)
array
list of possible modulesgetAvailablePDFFields(string $scope) : array
string
account type (user, group, host)
array
PDF entries (field ID => field label)getConfigOptions(array $scopes) : array
array
hash array (module name => array(account types))
array
configuration optionsgetHelp(string $module, string $helpID, string $scope) : array
string
module name
string
help identifier
string
account type
array
help entrygetModuleAlias(string $name, string $scope) : string
string
the module name
string
the account type ("user", "group", "host")
string
alias 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.
string
the account type (user, group, host)
array
dependenciesgetProfileOptions(string $scope) : array
string
account type (user, group, host)
array
profile elementsgetRDNAttributes(string $scope, array $selectedModules) : array
The list is already sorted by the priority given by the nodules.
string
account type (user, group, host)
array
return only RDN attributes of these modules
array
list of LDAP attributesgetRequiredExtensions() : array
array
required 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
)
string
account type
array
selected account modules
array
column listget_ldap_filter(string $scope) : string
string
the account type ("user", "group", "host")
string
LDAP filteris_base_module(string $name, string $scope) : boolean
string
the module name
string
the account type ("user", "group", "host")
boolean
true if base modulelamCompareDescriptiveOptions(array $a, array $b) : integer
It compares the second entries of two arrays.
array
first array
array
second array
integer
compare resultlamdaemon(array $command, string $server) : array
array
command to execute
string
remote server
array
Output 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.
string
Name of account module
mixed
htmlElement or array of htmlElement elements
array
List of values which override the defaults in $input (name => value)
boolean
If true then no buttons will be displayed
integer
Start value of tabulator index for input fields
string
Account type
array
List of input field names and their type (name => type)printHelpLink(array $entry, String $number, String $module, String $scope)
array
help entry
String
help number
String
module name
String
account scope
This interface needs to be implemented by all account modules which manage passwords.
« More »SAMBA_MUNGEDDIAL_FILEHEADER
SAMBA_MUNGEDDIAL_FILEHEADER_OLD