173. NovellUtilsLUM

Novell utility routines

173.1. Authors

  • Stephen T. Bunch <sbunch@novell.com>

173.2. Summary of Module Globals

List of Global Functions

  • CheckForInstalledSoftware - CheckForInstalledSoftware()

  • FindValueInRegistry - Find a value in the Novell registry

  • GetDefaultAndFallbackIPAddresses - Determine what the default and fallback IP addresses should be for a product.

  • GetIPAddr - Function: global string GetIPAddr()

  • IsEdirectoryInstalledLocally - See if eDirectory is installed locally on this machine and is running.

  • IsSelectionInstalled - See if the specified product was installed during phase 1 of the install. This is how we determine if a product should show up in the proposal screen. The input parameter "selection_name" should match the name of the selection file for which information is required (e.g. novell-imanager, novell-ifolder2, X11, Linux_tools, etc.). The parameter "selection_name" is not case sensitive.

  • MapIPAddrToDevice - Function: MapIPAddrToDevice(string ip)

  • ReplaceSubString - Function: ReplaceSubString(string text, string replace, string replacement)

  • Typeful2Typeless - Typeful2Typeless (string ndsName)

  • ValidatePassword - Validate password

List of Global Variables

    173.3. Global Functions

    173.3.1. CheckForInstalledSoftware

    CheckForInstalledSoftware()

    Return value

    • boolean

    173.3.2. FindValueInRegistry

    Find a value in the Novell registry

    Function parameters

    • string key

    Return value

    • string - registry value for key on success, nil string on failure or no value.

    173.3.3. GetDefaultAndFallbackIPAddresses

    Determine what the default and fallback IP addresses should be for a product.

    Function parameters

    • string ldapIP

    Return value

    • map

    173.3.4. GetIPAddr

    Function: global string GetIPAddr()

    Return value

    • string

    173.3.5. IsEdirectoryInstalledLocally

    See if eDirectory is installed locally on this machine and is running.

    Return value

    • boolean

    173.3.6. IsSelectionInstalled

    See if the specified product was installed during phase 1 of the install. This is how we determine if a product should show up in the proposal screen. The input parameter "selection_name" should match the name of the selection file for which information is required (e.g. novell-imanager, novell-ifolder2, X11, Linux_tools, etc.). The parameter "selection_name" is not case sensitive.

    Function parameters

    • string selection_name

    Return value

    • boolean

    173.3.7. MapIPAddrToDevice

    Function: MapIPAddrToDevice(string ip)

    Function parameters

    • string ip

    Return value

    • string

    173.3.8. ReplaceSubString

    Function: ReplaceSubString(string text, string replace, string replacement)

    Function parameters

    • string text

    • string replace

    • string replacement

    Return value

    • string

    173.3.9. Typeful2Typeless

    Typeful2Typeless (string ndsName)

    Function parameters

    • string ndsName

    Return value

    • string

    173.3.10. ValidatePassword

    Validate password

    Function parameters

    • string pw1

    • string pw2

    Return value

    • boolean

    173.4. Global Variables

    173.5. Module Requirements

    173.5.1. Module Imports

    • Address
    • IP
    • Map
    • NetworkInterfaces
    • Report

    173.5.2. Module Includes