Data for configuration of samba-client, input and output functions.
List of Global Functions
AdjustSharesServices - adjust the services for sharing
AutoPackages - Return required packages for auto-installation
Export - Dump the samba-client settings to a single map (For use by autoinstallation.)
GetDHCP - Check if dhcp.conf is included in smb.conf
GetGuessAccess - check if shares guest access is allowed
GetHostsResolution - Read /etc/nsswitch.conf and check if WINS is used for hosts resolution
GetMaxShares - get number of max shares from smb.conf; 0 mean shares are not enabled
GetModified - Data was modified?
GetPAMMountVolumes - Return the list of 'volume' entries from pam_mount.conf.xml
GetSSHSupport - Get the current status of ssh single-sign-on support
GetWinbind - Get a winbind status
GetWinbindCaching - Get the current status of winbind caching
GetWorkgroup - Get a host workgroup
Import - Get all samba-client settings from the first parameter (For use by autoinstallation.)
Read - Read all samba-client settings
ReadMkHomeDir - Read the state of mkhomedir in /etc/pam.d/common-session (bug #143519)
ReadPAMMount - Read the data from /etc/security/pam_mount.conf.xml regarding mounting user's home directories
ReadSSHSupport - Read the current status of ssh single-sign-on support (fate #303415)
ReadSharesSetting - Read user shares settings
SetDHCP - Set the support of DHCP (include dhcp.conf in smb.conf)
SetGuessAccess - Set the new value for guest access (#144787)
SetHostsResolution - Set the new value for hosts resolution
SetMkHomeDir - Set the new value of mkhomedir
SetPAMMountVolumes - Set the new list of 'volume' entries
SetSSHSupport - Set the new value for sh single-sign-on support
SetShares - set the new values for user shares
SetStartFAM - update the information if FAM should be started
SetWinbind - Set a windind status
SetWinbindCaching - Set the new value for winbind caching (see bug #143927)
SetWorkgroup - Set a host workgroup
ShortSummary - Create shorter textual summary and a list of unconfigured options
Summary - Create a textual summary and a list of unconfigured options
UpdatedArchPackages - Return list of architecture specific packages (derived from package list given as parameter) merged with the packages in parameter
Write - Write all samba-client settings
WriteHostsResolution - Write /etc/nsswitch.conf if modified
WriteMkHomeDir - Write the new value of pam_mkhomedir to /etc/pam.d/common-session
WritePAMMount - Write the changes to /etc/security/pam_mount.conf.xml
WriteSSHSupport - Write the new value for sh single-sign-on support (fate #303415)
WriteShares - create the shares directory with correct rights
List of Global Variables
globals_configured - Are globals already configured (for AutoYaST)
mkhomedir - if pam_mkhomedir is set in /etc/pam.d/commond-session
modified - Data was modified?
password_data - map with user name and password (used for autoinstallation only)
start_fam - If FAM should be started
winbind_enabled - Should be winbind enabled?
write_only - Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.
adjust the services for sharing
Function parameters
boolean write_only
Return value
boolean
Return required packages for auto-installation
Return value
map - of packages to be installed and to be removed
Dump the samba-client settings to a single map (For use by autoinstallation.)
Return value
map - Dumped settings (later acceptable by Import ())
Read /etc/nsswitch.conf and check if WINS is used for hosts resolution
Return value
boolean
get number of max shares from smb.conf; 0 mean shares are not enabled
Return value
integer
Return the list of 'volume' entries from pam_mount.conf.xml
Return value
list<map>
Get all samba-client settings from the first parameter (For use by autoinstallation.)
Function parameters
map settings
Return value
boolean - True on success
Read the state of mkhomedir in /etc/pam.d/common-session (bug #143519)
Return value
boolean
Read the data from /etc/security/pam_mount.conf.xml regarding mounting user's home directories
Return value
boolean
Read the current status of ssh single-sign-on support (fate #303415)
Return value
boolean
Set the support of DHCP (include dhcp.conf in smb.conf)
Function parameters
boolean new
Return value
boolean - if status was changed
Set the new value for guest access (#144787)
Function parameters
boolean guest
Return value
boolean
Set the new value for hosts resolution
Function parameters
boolean resolve
Return value
boolean
Set the new value of mkhomedir
Function parameters
boolean new_value
Return value
boolean
Set the new list of 'volume' entries
Function parameters
list<map> new_volumes
Return value
void
Set the new value for sh single-sign-on support
Function parameters
boolean enable
Return value
boolean
set the new values for user shares
Function parameters
integer max
string group
Return value
boolean
update the information if FAM should be started
Function parameters
boolean fam
Return value
boolean - current fam status
Set the new value for winbind caching (see bug #143927)
Function parameters
boolean enable
Return value
boolean
Create shorter textual summary and a list of unconfigured options
Return value
string - summary of the current configuration
Create a textual summary and a list of unconfigured options
Return value
string - summary of the current configuration
Return list of architecture specific packages (derived from package list given as parameter) merged with the packages in parameter
Function parameters
list<string> packages
Return value
list<string>
Write all samba-client settings
Function parameters
boolean write_only
Return value
boolean - true on success
Write the new value of pam_mkhomedir to /etc/pam.d/common-session
Function parameters
boolean enabled
Return value
boolean
Write the new value for sh single-sign-on support (fate #303415)
Function parameters
boolean enable
Return value
boolean