175. Nsswitch

Configuration of /etc/nsswitch.conf

175.1. Authors

  • Jiri Suchomel <jsuchome@suse.cz>

175.2. Summary of Module Globals

List of Global Functions

  • ReadDb - Reads a database entry from nsswitch_conf and returns it as a list

  • Write - Writes the edited files to the disk

  • WriteAutofs - Configures the name service switch for autofs according to chosen settings

  • WriteDb - Writes a database entry as a list to nsswitch_conf

List of Global Variables

    175.3. Global Functions

    175.3.1. ReadDb

    Reads a database entry from nsswitch_conf and returns it as a list

    Function parameters

    • string db

    Return value

    • list<string> - eg. ["files", "nis"]

    175.3.2. Write

    Writes the edited files to the disk

    Return value

    • boolean - true on success

    175.3.3. WriteAutofs

    Configures the name service switch for autofs according to chosen settings

    Function parameters

    • boolean start

    • string source

    Return value

    • boolean - success?

    175.3.4. WriteDb

    Writes a database entry as a list to nsswitch_conf

    Function parameters

    • string db

    • list<string> entries

    Return value

    • boolean - success?

    175.4. Global Variables

    175.5. Module Requirements

    175.5.1. Module Imports

    • Message
    • Report

    175.5.2. Module Includes