
functions
files
intro
|
|
yast2-pam |
modules/Nsswitch.ycp |
Configuration of /etc/nsswitch.conf |
|
|
|
global ReadDb (string db) -> list<string>
|
|
Reads a database entry from nsswitch_conf and returns it as a list
- Parameters:
- Return value:
global WriteDb (string db, list<string> entries) -> boolean
|
|
Writes a database entry as a list to nsswitch_conf
- Parameters:
db |
eg. "passwd" |
entries |
eg. ["files", "nis"] |
- Return value:
global WriteAutofs (boolean start, string source) -> boolean
|
|
Configures the name service switch for autofs
according to chosen settings
- Parameters:
start |
autofs and service (ldap/nis) should be started |
source |
for automounter data (ldap/nis) |
- Return value:
global Write () -> boolean
|
|
Writes the edited files to the disk
- Return value:
|