YaST2 Developers Documentation: Configuration of kerberos-client

Configuration of kerberos-client

modules/Kerberos.ycp
Data for configuration of kerberos-client, i/o functions.

This module has an unstable interface.

Representation of the configuration of kerberos-client. Input and output routines.

Imports

  • Arch
  • FileUtils
  • Label
  • Mode
  • Package
  • PamSettings
  • Popup
  • Progress
  • Service
  • Summary

Global Variables

Global Functions

global required_packages -> list<string>

Required packages for this module to operate

global Modified () -> boolean

Data was modified?

Return value:
true if modified
global Import (map settings) -> boolean

Get all the Kerberos configuration from a map.

Parameters:
settings imported map
Return value:
success
global Export () -> map

Dump the Kerberos settings to a map, for autoinstallation use.

Return value:
with settings
global ReadFile (path path_to_value, string def_value) -> string

Reads the item value from the /etc/krb5.conf via ini agent If the item doesn't exist, returns empty string (not nil)

Parameters:
path_to_value path for agent (.etc.krb5_conf)
def_value
Return value:
the value
global WriteFile (path path_to_value, string value) -> boolean

Write the item value to /etc/krb5.conf Do not write anything for empty and nil values

Parameters:
path_to_value path for agent (.etc.krb5_conf)
value
Return value:
false when nothing was written, success of write otherwise
global Read () -> boolean

Reads Kerberos settings from the SCR

Return value:
success
global Write () -> boolean

Saves Kerberos configuration. (No parameters because it is too short to abort)

Return value:
true on success
global Summary () -> list

Create a textual summary

Return value:
summary of the current configuration
global ShortSummary () -> string

Create a short textual summary

Return value:
summary of the current configuration
global UpdatedArchPackages (list<string> packages) -> list<string>

Return list of architecture specific packages (derived from package list given as parameter) merged with the packages in parameter

Parameters:
packages
global AutoPackages () -> map

Return required packages for auto-installation

Return value:
of packages to be installed and to be removed