115. Kerberos

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

115.1. Authors

  • Jiri Suchomel <jsuchome@suse.cz>

115.2. Summary of Module Globals

List of Global Functions

  • AutoPackages - Return required packages for auto-installation

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

  • Import - Get all the Kerberos configuration from a map.

  • Modified - Data was modified?

  • Read - Reads Kerberos settings from the SCR

  • ReadFile - Deprecated variant to ReadKrb5ConfValue

  • ReadKrb5ConfValue - Reads the item value from the /etc/krb5.conf via ini agent If the item doesn't exist, returns the default value

  • ReadKrb5ConfValues - Reads the item values from the /etc/krb5.conf via ini agent If the item doesn't exist, returns the default value

  • ShortSummary - Create a short textual summary

  • Summary - Create a textual summary

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

  • ValidateTimeEntries - Validation function for time-related values

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

  • WriteFile - Deprecated variant to WriteKrb5ConfValue

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

  • WriteKrb5ConfValues - Write list of values for given key to /etc/krb5.conf Do not write anything for empty and nil values

  • WriteKrb5ConfValuesAsString - Write (possible) multiple values of given key to /etc/krb5.conf

List of Global Variables

115.3. Global Functions

115.3.1. AutoPackages

Return required packages for auto-installation

Return value

  • map - of packages to be installed and to be removed

115.3.2. Export

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

Return value

  • map - with settings

115.3.3. Import

Get all the Kerberos configuration from a map.

Function parameters

  • map settings

Return value

  • boolean - success

115.3.4. Modified

Data was modified?

Return value

  • boolean - true if modified

115.3.5. Read

Reads Kerberos settings from the SCR

Return value

  • boolean - success

115.3.6. ReadFile

Deprecated variant to ReadKrb5ConfValue

Function parameters

  • path path_to_value

  • string def_value

Return value

  • string

115.3.7. ReadKrb5ConfValue

Reads the item value from the /etc/krb5.conf via ini agent If the item doesn't exist, returns the default value

Function parameters

  • path path_to_value

  • string def_value

Return value

  • string - the value

115.3.8. ReadKrb5ConfValues

Reads the item values from the /etc/krb5.conf via ini agent If the item doesn't exist, returns the default value

Function parameters

  • path path_to_value

  • string def_value

Return value

  • list<string> - string the values for given key

115.3.9. ShortSummary

Create a short textual summary

Return value

  • string - summary of the current configuration

115.3.10. Summary

Create a textual summary

Return value

  • list - summary of the current configuration

115.3.11. UpdatedArchPackages

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>

115.3.12. ValidateTimeEntries

Validation function for time-related values

Function parameters

  • string key

  • string val

Return value

  • boolean

115.3.13. Write

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

Return value

  • boolean - true on success

115.3.14. WriteFile

Deprecated variant to WriteKrb5ConfValue

Function parameters

  • path path_to_value

  • string value

Return value

  • boolean

115.3.15. WriteKrb5ConfValue

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

Function parameters

  • path path_to_value

  • string value

Return value

  • boolean - false when nothing was written, success of write otherwise

115.3.16. WriteKrb5ConfValues

Write list of values for given key to /etc/krb5.conf Do not write anything for empty and nil values

Function parameters

  • path path_to_value

  • list<string> values

Return value

  • boolean - false when nothing was written, success of write otherwise

115.3.17. WriteKrb5ConfValuesAsString

Write (possible) multiple values of given key to /etc/krb5.conf

Function parameters

  • path path_to_value

  • string values

Return value

  • boolean

115.4. Global Variables

115.4.1. ExpertSettings

map with the settings configurable in the expert tabs

115.4.2. required_packages

Required packages for this module to operate

115.5. Module Requirements

115.5.1. Module Imports

  • Arch
  • FileUtils
  • Hostname
  • Label
  • Mode
  • Package
  • Pam
  • Progress
  • Report
  • Service
  • Stage
  • Summary

115.5.2. Module Includes