To Create a Name Service Domain Toolbox

Solaris Management Console tools are set up by default to be used locally, with files. If you place the appropriate tools in a name service domain toolbox, you can manage user accounts, projects, and computers and networks in a name service domain.

Follow these directions to create a name service domain toolbox with the Solaris Management Console Toolbox Editor, and to place the appropriate tools in that toolbox. See Solaris Management Console Toolbox Editor Overview for more information about the Toolbox Editor.

Assumptions:

  1. As root user, start the Solaris Management Console Toolbox Editor (if you do not start the Toolbox Editor as root, you will not be able to save the toolbox):

    /usr/sadm/bin/smc edit&

    Creating the toolbox:

  2. Select New... from the Toolbox menu.

    The first panel of the New Toolbox wizard is displayed.

  3. Type a toolbox name in the Full Name field.

    This name will be displayed in the Navigation pane tree and in the Console header if you open the toolbox from the Console.

  4. Type a description in the Description field and click Next.

    The description should explain what the toolbox contains and what it is meant to be used for. This description will be displayed in the Open Toolbox dialog when the toolbox is selected for opening from the Console. The description will also be displayed in the Information pane of the Console when the toolbox is selected in the Navigation pane.

  5. Enter the paths to a large (32x32 pixel) and small (16x16 pixel) GIF image and click Next.

    Or click Browse... to navigate to the appropriate folder and select the GIF images.

    These icons will represent the toolbox in the Console -- the small icon in the Navigation pane, the large icon in the Information pane.

  6. Select a Management Scope from the pulldown menu.

    Choices are ldap, dns, nisplus, nis, or file.

  7. Enter a server name in the Server field.

    This is the name service server -- smcserver1.eng, for example.

  8. Enter a domain in the Domain field.

    This is the domain to be managed -- eng.sun.com, for example. No domain is needed if "file" is the selected management scope.

  9. Click Finish.

    The Full Name you entered above will be displayed in parentheses in the window title of the Toolbox Editor and in the Navigation pane.

    Adding tools to the toolbox:

  10. Select the toolbox you just created in the Navigation pane of the Console Toolbox Editor.

  11. Select Add Tool... from the Action menu of the Console Toolbox Editor.

    The first panel of the Tool Wizard is displayed.

  12. Enter the server from which you wish to run the tool in a name service domain, and click Next.

    This must be the name service server entered in Step 7 above.

  13. Select Users, Projects, or Computers and Networks from the list of Tools.

    If the Solaris Management Console server is running on the server you entered, a list of names is displayed in the Tools field. Select the tool you want from the list and the tool class name and description for the tool are filled in. See the context help if the server is not running.

  14. Click Next.

  15. In the Name and Description panel, if you wish to override the tool defaults, click Override Tool Settings and enter a new Full Name and Description and click Next.

  16. In the Icons panel, if you wish to override the tool defaults, click Override Tool Settings and enter a new Large Icon and Small Icon path and click Next.

  17. Select Inherit from Parent and click Next in the Management Scope panel.

    If you wished to override the tool defaults, you could click Override and enter new Management Scope, Server, and Domain settings and click Next.

  18. Select "Load tool when selected" or "Load tool when toolbox is opened" in the Tool Loading panel. These settings may be overridden by Console Preferences settings.

  19. Click Finish.

    A generic "Tool" is displayed in the Solaris Management Console Toolbox Editor beneath the new toolbox item in the Navigation pane. The tool class name is displayed in parentheses after the word "Tool." If you select the tool in the Navigation pane, its properties are displayed in the View (right) pane

    Saving the toolbox:

  20. Select Save As... from the Toolbox menu to save the toolbox.

    The Local Toolbox save dialog is displayed.

  21. Enter a filename in the Filename field.

    Change to another folder if you do not want to save the file in the folder shown in the Look in menu at the top of the dialog.

    To change folders: double-click a folder icon in the list below the Look in menu; move up one folder by clicking the Open parent folder icon; move to your home folder by clicking the Go to home folder icon; or create a new folder by clicking the New Folder icon. The new folder is called NewFolder; if you click the New Folder icon again, the second folder is called NewFolder.1.

  22. Click Save.

    The Local Toolbox dialog is dismissed and the new toolbox is saved in a file with the name entered in Filename, with .tbx appended to the name.