Configuration of samba-client |
modules/Samba.ycp |
Data for configuration of samba-client, input and output functions. | |
|
|
This module has an unstable interface. |
Representation of the configuration of samba-client.
Input and output routines.
Imports
Global VariablesGlobal Functions
Local Functions |
Data was modified?
Are globals already configured (for AutoYaST)
Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.
Should be winbind enabled?
If FAM should be started
if pam_mkhomedir is set in /etc/pam.d/commond-session
map with user name and password (used for autoinstallation only)
Data was modified?
- Return value:
-
true if modified
Read the state of mkhomedir in /etc/pam.d/common-session (bug #143519)
Write the new value of pam_mkhomedir to /etc/pam.d/common-session
- Parameters:
-
enabled
Set the new value of mkhomedir
- Parameters:
-
new_value
get number of max shares from smb.conf; 0 mean shares are not enabled
Read user shares settings
set the new values for user shares
- Parameters:
-
max group
Get the current status of winbind caching
Set the new value for winbind caching (see bug #143927)
- Parameters:
-
enable
Start/Stop and FAM service according to current settings
- Parameters:
-
write_only do not start/stop services
- Return value:
-
success
create the shares directory with correct rights
adjust the services for sharing
- Parameters:
-
write_only
Tell displaymanager (KDM/GDM) to use special windbind greeter
- Parameters:
-
enable if winbind is enabled write_only do not run SuSEconfig script
- Return value:
-
success
Read all samba-client settings
- Return value:
-
true on success
Write all samba-client settings
- Parameters:
-
write_only
- Return value:
-
true on success
Get all samba-client settings from the first parameter (For use by autoinstallation.)
- Parameters:
-
settings The YCP structure to be imported.
- Return value:
-
True on success
Dump the samba-client settings to a single map (For use by autoinstallation.)
- Return value:
-
Dumped settings (later acceptable by Import ())
Create a textual summary and a list of unconfigured options
- Return value:
-
summary of the current configuration
Create shorter textual summary and a list of unconfigured options
- Return value:
-
summary of the current configuration
Set a host workgroup
- Parameters:
-
group a new workgroup
Get a host workgroup
- Return value:
-
a new workgroup
Set a windind status
- Parameters:
-
status
Get a winbind status
- Return value:
-
d a winbind status
Return required packages for auto-installation
- Return value:
-
of packages to be installed and to be removed
update the information if FAM should be started
- Parameters:
-
fam
- Return value:
-
current fam status