3.1 Installing a Login Method

You have three ways of installing a login method for use in Novell eDirectory:

3.1.1 Using the nmasinst Utility to Install a Login Method

  1. From the server console command line, enter:

    nmasinst -addmethod admin.context treename config.txt_path [-h hostname[:port]] [-w password] [-checkversion]

    • admin.context: The admin name and context.

    • treename: The name of the eDirectory tree where you are installing the login method.

    • config.txt_ path - The complete or relative path to the config.txt file of the login method. A config.txt file is provided with each login method.

    • [-h hostname[:port]]: (Optional) The hostname and port of the server. Use this if eDirectory is not running on the default port.

    • [-w password]: This option is used to specify the password on the command line.

    • [-checkversion]: This option reports an error if the installed method version is the same or newer than the method version being installed.

    If the login method already exists, nmasinst updates it.

3.1.2 Using Novell iManager to Install a Login or Post-Login Method

  1. Launch Novell iManager.

  2. Authenticate to the eDirectory tree as an administrator or a user with administrative rights.

  3. On the Roles and Tasks menu, click NMAS > NMAS Login Methods.

  4. Click New.

  5. Browse for and select the login method (.zip) file you want to install, then click Next.

  6. Follow the installation wizard to completion.

3.1.3 Using ConsoleOne to Install a Login Method

  1. In ConsoleOne, select the Security container.

  2. Right-click the Authorized Login Methods container.

  3. Click New, then click Object.

    The New Object Wizard starts.

  4. Select the SAS:NMAS Login Method object class, then click OK.

  5. Specify the configuration file, then click Next.

    The configuration file is located in the login method folder and is usually named config.txt.

  6. On the license agreement page, click Accept, then click Next.

  7. Accept the default method name, then click Next.

  8. Review the available modules for this method, then click Next.

  9. If you want a login sequence to use only this login method, select the appropriate check box, then click Finish.

  10. Review the installation summary, then click OK.

  11. If necessary, close and restart ConsoleOne to run the newly installed ConsoleOne snap-ins provided by the login method to configure the login and enroll users to use this login method.

3.1.4 Using ConsoleOne to Install a Post-Login Method

  1. In ConsoleOne, select the Security container.

  2. Right-click the Authorized Post-Login Methods container.

  3. Click New, then click Object.

    The New Object Wizard starts.

  4. Select the sasPostLoginMethod object class, then click OK.

  5. Specify the configuration file, then click Next.

    The configuration file is located in the post-login method folder and is usually named config.txt.

  6. On the license agreement page, click Accept, then click Next.

  7. Accept the default method name, then click Next.

  8. Review the available modules for this method, then click Finish.

  9. Review the installation summary, then click OK.

  10. If necessary, close and restart ConsoleOne to run the newly installed ConsoleOne snap-ins provided by the login method to configure the login and enroll users to use this post-login method.