Configuration of samba-client |
modules/Samba.ycp |
| Data for configuration of samba-client, input and output functions. | |
|
Representation of the configuration of samba-client.
Input and output routines.
Imports
Global VariablesGlobal Functions |
global
modified
->
boolean
Data was modified?
global
globals_configured
->
boolean
Are globals already configured (for AutoYaST)
global
write_only
->
boolean
Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.
global
winbind_enabled
->
boolean
Should be winbind enabled?
global
GetModified ()
->
boolean
Data was modified?
- Return value:
-
true if modified
global
Read ()
->
boolean
Read all samba-client settings
- Return value:
-
true on success
global
Write (boolean write_only)
->
boolean
Write all samba-client settings
- Parameters:
-
write_only
- Return value:
-
true on success
global
Import (map settings)
->
boolean
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
global
Export ()
->
map
Dump the samba-client settings to a single map (For use by autoinstallation.)
- Return value:
-
Dumped settings (later acceptable by Import ())
global
Summary ()
->
string
Create a textual summary and a list of unconfigured options
- Return value:
-
summary of the current configuration
global
ShortSummary ()
->
string
Create shorter textual summary and a list of unconfigured options
- Return value:
-
summary of the current configuration
global
SetWorkgroup (string group)
->
void
Set a host workgroup
- Parameters:
-
group a new workgroup
global
GetWorkgroup ()
->
string
Get a host workgroup
- Return value:
-
a new workgroup
global
SetWinbind (boolean status)
->
void
Set a windind status
- Parameters:
-
status
global
GetWinbind ()
->
boolean
Get a winbind status
- Return value:
-
d a winbind status
global
AutoPackages ()
->
map
Return required packages for auto-installation
- Return value:
-
of packages to be installed and to be removed