112. Kerberos

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

112.1. 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

112.2. Global Functions

112.2.1. AutoPackages

Return required packages for auto-installation

Return value

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

112.2.2. Export

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

Return value

  • map - with settings

112.2.3. Import

Get all the Kerberos configuration from a map.

Function parameters

  • map settings

Return value

  • boolean - success

112.2.4. Modified

Data was modified?

Return value

  • boolean - true if modified

112.2.5. Read

Reads Kerberos settings from the SCR

Return value

  • boolean - success

112.2.6. ReadFile

Deprecated variant to ReadKrb5ConfValue

Function parameters

  • path path_to_value

  • string def_value

Return value

  • string

112.2.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

112.2.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

112.2.9. ShortSummary

Create a short textual summary

Return value

  • string - summary of the current configuration

112.2.10. Summary

Create a textual summary

Return value

  • list - summary of the current configuration

112.2.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>

112.2.12. ValidateTimeEntries

Validation function for time-related values

Function parameters

  • string key

  • string val

Return value

  • boolean

112.2.13. Write

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

Return value

  • boolean - true on success

112.2.14. WriteFile

Deprecated variant to WriteKrb5ConfValue

Function parameters

  • path path_to_value

  • string value

Return value

  • boolean

112.2.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

112.2.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

112.2.17. WriteKrb5ConfValuesAsString

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

Function parameters

  • path path_to_value

  • string values

Return value

  • boolean

112.3. Global Variables

112.3.1. ExpertSettings

map with the settings configurable in the expert tabs

112.3.2. required_packages

Required packages for this module to operate

112.4. Module Requirements

112.4.1. Module Imports

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

112.4.2. Module Includes