Solaris PC NetLink 1.0 Administration Guide

Chapter 3 Configuring and Managing SunLink Server Software

This chapter provides general background information about, and instructions for, configuring and managing your SunLink Server software. Note that the instructions in this chapter pertain only to your SunLink Server program, not to Windows NT network configuration or management.

You can accomplish most tasks in this chapter in two ways: by using the SunLink Server Manager tool, and by typing commands at the SunLink Server system command prompt.

Major topics covered in this chapter include:

Instructions are included in this chapter for accomplishing the following tasks.

"How to Start SunLink Server Manager"

"How to Add a Server to SunLink Server Manager"

"How to Log On Using SunLink Server Manager"

"How to Log On From the Command Line"

"How to Log Off Using SunLink Server Manager"

"How to Log Off From the Command Line"

"How to Start the SunLink Server Program"

"How to Stop the SunLink Server Program"

"How to Start SunLink Server From the Command Line"

"How to Stop SunLink Server From the Command Line"

"How to Start Individual Services"

"How to Stop Individual Services"

"How to Rename a Server or Domain"

"How to Move a Server to Another Domain"

"How to Change Computer Browsing Policy"

"How to Set Up File Name Mapping"

"How to Edit NetBIOS Policy"

"How to Configure WINS"

"How to Start the WINS Service at the Command Line"

"How to Start the WINS Service Automatically"

"How to Set Solaris File System Integration Policies"

"How to Use UPS Power Failure Notification"

"How to Edit User Account Mapping Policies"

"How to Secure SunLink Server Manager Transactions"

"How to Monitor Events"

"How to Monitor Events From the Command Prompt"

"How to View SunLink Server Information"

About Logon and Logoff

To perform SunLink Server Solaris administrative tasks or Windows NT administrative tasks--whether from the SunLink Server console, the SunLink Server Manager tool, or from a remote client--you must be authorized by the server. Network resources are protected at several levels by different processes.

Depending on what type of privileges that the administrative task you want to accomplish requires, you need to log on by identifying yourself with both a special user name and a password that accompanies it. Purely SunLink Server administrative tasks, such as changing the name of a SunLink Server system, require that you log on with the Solaris "superuser" name, root. Windows NT administrative tasks, such as creating file and printer shares, also require special Windows NT administrator privileges and passwords.

Windows NT and Solaris root Logon Privileges

To administer Windows NT data, some of your network users may be designated as account operators, print operators, or server operators. These users have limited Windows NT administrative or operator privileges that enable them to perform specific tasks. These privileges are sufficient to use the net command to administer a local server at the SunLink Server command prompt, as well.

However, remote Windows NT administrative access to a SunLink Server computer is protected by additional logon security, which requires you to be a member of a specially privileged group, administrators. Once you have identified yourself to the computer, it checks your user name and password against the computer directory database.

You can use SunLink Server Manager or the Solaris command line to log on to, or log off from, your SunLink Server system. To perform any administrative task, you must log on as root first, and then, in some cases, also provlde your Windows NT administrator name and password. Note that using the SunLink Server command line requires you first to log on as root to the Solaris system that hosts the SunLink Server program, and then, using your Windows NT administrator user name and password, to log on to the network with the net command.

How to Start SunLink Server Manager
  1. Do one of the following, depending on the computer you are using:

    • Using a Microsoft Windows system, select SunLink Server Manager folder from the Programs menu, and then double-click the SunLink Server Manager icon.

    • Using a Solaris system, enter the following at the command prompt: /opt/lanman/sbin/slsmgr

How to Add a Server to SunLink Server Manager
  1. From the Action menu, select Add Server.

    Graphic

    The following screen appears.

    Graphic

  2. Type in the Solaris name of the SunLink Server system that you want to add to SunLink Server Manager.

  3. Enter the root password for the system (the root user name is already entered by default), then click OK.

    The specified server is added to the list of SunLink Server systems. Note that you must still log on to the specific SunLink Server system to make changes to it, or to view information about it.

How to Log On Using SunLink Server Manager
  1. Do one of the following:

    • In the Servers list in the Navigation pane (left side) of SunLink Server Manager, click the name of any SunLink Server system; or

    • Highlight a system name in the View pane (right side) of SunLink Server Manager, and select Log On from the Action menu; or

    • With the mouse pointer over the icon of a SunLink Server system in the View pane, right-click and select Log On.


    Note -

    The step above assumes that this is not the first time that you have run SunLink Server Manager. If this is the first time, then you need to add a server as the first step. See "How to Add a Server to SunLink Server Manager".


    The Server Log On dialog box appears.

    Graphic


    Note -

    The Server Log On dialog box will also appear whenever you attempt to perform an administrative task on a SunLink Server system to which you are not logged on. To make any changes, you must log on as root (the user name that appears by default).


  2. In the text field provided, type the root password.

    Although you can log on with a non-root user name, SunLink Server administrative functions require root privileges. A root account in a Solaris system is equivalent to an Administrators group account in a Windows NT system, with full administrative privileges. Therefore, if you log on with a user name other than root (the default), you will not be able to make any administrative changes to the system.

  3. Click OK.

How to Log On From the Command Line
  1. At the Solaris prompt of the system that hosts the SunLink Server program, enter the following command:

    system% su Password: system#

  2. At the new system prompt, log on to the network as Administrator or as a user with administrative privileges by entering the following command:

    system# net logon username password

Substitute a privileged user name for username, and substitute the privileged user's correct password for password.


Note -

To perform administrative tasks on any remote SunLink Server system, you must be logged on as a member of the Administrators group. Operator privileges are not sufficient for remote administration.


How to Log Off Using SunLink Server Manager
  1. With the SunLink Server system name highlighted, select Log Off from the scrolldown list in the Action menu.

    Graphic

How to Log Off From the Command Line
  1. Enter the following command:

    system# net logoff

About Starting and Stopping Services

The SunLink Server program provides the following Windows NT services:

To perform a number of administrative tasks, you must first shut down some or all of these services, and then restart the services after performing the tasks.

In a native Windows NT environment, you use the Services command in Server Manager to start and stop each of the services available on the computer, determine whether a service starts automatically, and control some service startup parameters.

You can use the Windows NT Server Manager's Services Startup dialog box to configure when and how a service is started, and optionally, to specify the user account that the service will use to log on. By default, most services log on using a special system account. (Of the services provided with SunLink Server software, only the Directory Replicator service logs on using a specific user account.)

To start and stop your SunLink Server program, as well as individual services that are specifically supplied by it, you use either SunLink Server Manager, the SunLink Server command line, or your Windows NT Server Manager.

How to Start the SunLink Server Program
  1. Using SunLink Server Manager, log on to the system whose SunLink Server program you want to start.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, including starting the program, you must be logged on as root.

  2. With the name of the server highlighted, select Start SunLink Server Processes.

    Graphic


    Note -

    SunLink Server Manager wizards for various administrative tasks offer you the option of having the wizard itself shut down and start up SunLink Server processes. If you choose this option when using these wizards, you don't need to start up or shut down the processes manually.


How to Stop the SunLink Server Program
  1. Using SunLink Server Manager, log on to the system whose SunLink Server program you want to stop.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. With the name of the server highlighted, select Stop SunLink Server Processes.

    Graphic


    Note -

    SunLink Server Manager wizards for various administrative tasks offer you the option of having the wizard itself shut down and start up SunLink Server processes. If you choose this option when using these wizards, you don't need to start up or shut down the processes manually.


How to Start SunLink Server From the Command Line
  1. Log on to a SunLink Server computer.

    For instructions, see "How to Log On From the Command Line". To make any changes, you must be logged on as root.

  2. At the system prompt, type the following:

    system# /opt/lanman/bin/net start server

How to Stop SunLink Server From the Command Line
  1. Log on to a SunLink Server computer.

    For instructions, see "How to Log On From the Command Line". To make any changes, you must be logged on as root.

  2. At the system prompt, type the following:

    system# /opt/lanman/bin/net stop server

How to Start Individual Services
  1. Using SunLink Server Manager, log on to the appropriate SunLink Server system.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. In the View pane, double-click Services.

    The View pane changes, displaying a list of services and the current state of each.

    Graphic

  3. Highlight the service that you want to start, then select Start Service from the Action menu.

    Graphic

How to Stop Individual Services
  1. Using SunLink Server Manager, log on to the appropriate SunLink Server system.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. In the View pane, double-click Services.

    The View pane changes, displaying a list of services and the current state of each.

    Graphic

  3. Highlight the service that you want to stop, then select Stop Service from the Action menu.

    Graphic

About Domain Configuration and Management

A domain is a logical grouping of network servers and other computers that share common security and user account information. Within domains, you create one user account for each user. Users then log on to a domain, not to  individual servers within the domain.

A domain is the administrative unit of SunLink Server directory services. The term, domain, does not refer to a single location or specific type of network configuration. Computers in a single domain can share physical proximity on a small local area network (LAN) or can be located in different corners of the world, communicating over any number of physical connections, including dial-up lines, ISDN, fiber, Ethernet, Token-Ring, frame relay, satellite, and leased lines.

Every SunLink Server system in a Windows NT network must be given one of the following roles in the domain:

When you installed your SunLink Server system, the installation program installed the system as a primary domain controller. As administrator, you can change the role of the server.

In addition to setting up the SunLink Server system as a PDC, the installation defaults specify:

You can change any of the defaults by using the instructions in the next few sections.


Note -

Keep in mind that the instructions in this book are for SunLink Server systems only. For native Windows NT servers, you use the utilities provided in Windows NT Server Tools, Windows NT Administrative Tools, or Windows NT Server to promote and demote domain controllers; synchronize backup domain controllers with the primary domain controller; add, remove, and rename domain computers; and manage domain security, including account policy, audit policy, and trust relationships. Because these Windows NT tools are also effective with the SunLink Server program, it is advisable to use them for most domain configuration tasks.


Adding, Removing, Renaming, and Moving Computers Within a Domain

You created a new domain within your Windows NT network when you installed the SunLink Server program, which automatically designated the system as a PDC. You can add other computers to the domain.

Before a computer running SunLink Server, Windows NT Server, or Windows NT Workstation software can be a domain member and participate in domain security, you must add it to the domain. When you add a computer to a domain, the SunLink Server program creates a computer account for it. If the added computer is a BDC, it requests a copy of the domain directory database.

Adding a Domain Workstation or Server Computer

To add a computer to a domain, you must be logged on to a user account that has the appropriate user privileges. With the appropriate privileges, you can add workstations and servers to domains after installation.

To add a SunLink Server computer to a domain, you can use either SunLink Server Manager or the joindomain command. You must be logged on as root; and, to reconfigure a SunLink Server computer to be a backup domain controller in an existing domain without reloading the server software, you must furnish the Windows NT password for the target domain's Administrators or Account Operators group. The primary domain controller must be running in the domain that is being joined.

Removing a Computer From a Domain

You can remove workstations, backup domain controllers, and member servers from a domain--but you cannot remove the primary domain controller until you promote a backup domain controller to a PDC.

When you remove a computer running Windows NT Workstation or Windows NT Server as a member server from a domain served by a SunLink Server domain controller, use Windows NT Server Manager to delete the computer's account from the directory database so that the computer cannot participate in domain security.

After a computer account has been removed from the domain, a user of the computer must move the computer to a new workgroup or domain using the Network option in the Windows NT Server Manager tool.


Caution - Caution -

To remove a native Windows NT backup domain controller from a domain, you must delete the computer account and reinstall Windows NT Server or Windows NT Workstation on that computer, indicating the new domain. Do not continue to use a backup domain controller that has been removed from a domain until you have reinstalled the operating environment software. For a SunLink Server backup domain controller, however, you do not need to reinstall the software.


Changing the Name of a Domain or Server

You can locally change the domain name for every computer in a domain, move computers from one domain into another, or change the name of the server itself. To do so, you use either the SunLink Server Manager tool (see the following procedure) or the setdomainname or setservername command at the SunLink Server command line prompt. (For information about the commands, type man setdomainname or man setservername at the SunLink Server command prompt.)

Moving a Computer to a Different Domain

To change the domain to which a SunLink Server computer belongs, you use either the SunLink Server Manager tool or the joindomain command locally at the system prompt. (For information about the joindomain command, type man joindomain at the SunLink Server command prompt.)

To move a workstation or member server from one domain served by a SunLink Server domain controller to another by way of the joindomain command, you must first locally remove the computer from the old domain and then, also locally, add it to the new one. If you use the SunLink Server Manager tool, the removal is taken care of automatically.

Note that while a native Windows NT BDC cannot change domains unless Windows NT Server is reinstalled, SunLink Server BDCs can change domains without requiring the software to be reinstalled.

How to Rename a Server or Domain
  1. Using SunLink Server Manager, log on to the SunLink Server system whose domain name or server name you want to change.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. From the Action menu, select Properties.

    The Properties window appears, listing the SunLink Server system's server name, the domain name, and the system's role in the domain--either PDC or BDC. If the system is a BDC, the name of the domain's PDC is also listed.


    Note -

    The SunLink Server Manager tool does not allow you to change the domain role of a system within its current domain. You use the Windows NT Server Manager tool for those tasks. If you are changing the system's domain, however, you may also designate its new role within the new domain. See the section, "How to Move a Server to Another Domain".


  3. In the Properties window, click Change (or OK to cancel the operation and dismiss the window).

    A Properties dialog box similar to the following appears.

    Graphic

  4. In the appropriate text fields of the Properties dialog box, change the server name, the domain name, or both, according to the following guidelines:

    • Server name - If you are changing the server name of a BDC, you must add the new computer account to the directory database before deleting the old computer account from the directory database by way of the Windows NT Server Manager (see Windows NT Server Manager's online help for instructions).

      Note that merely changing the name of the server does not permit you also to change its role.

    • Domain name - To complete a change to the name of a domain served by a SunLink Server domain controller, you must use this procedure on every SunLink Server computer within the domain, then use the Network option in the Windows NT Control Panel to change the domain name on every Windows NT Workstation and Windows NT Server computer within the domain. For Windows 95 clients, you change the name of the Windows NT domain in the Network Properties of Microsoft Network Client. You must then reestablish existing trust relationships. While changing domains, you may also designate a new role for the server within its new domain.

      A domain name can be up to 15 characters long and can contain any combination of the following characters: a-z A-Z 0-9 ~ ! # $ % ^ & _ ( ). -

  5. Enter the required PDC/BDC, user name, and password information into the appropriate text fields, according to the following guidelines:

    • Server name - If you are only changing the name of the server, enter the new name and leave all other text fields as is.

    • Domain name - When you change the name of the server's domain, you must indicate what role it will serve in the new domain: PDC or BDC. If PDC, click the button next to Primary Domain Controller (PDC) and furnish the new Administrator password in both password text fields. If BDC, click the button next to Backup Domain Controller (BDC), enter the name of the PDC in the new domain, and furnish the PDC's Administrator account user name and password.

  6. Click OK to proceed, or click Cancel to abandon the procedure and leave the server name and domain name unchanged.

    If you continue the procedure by clicking OK, the system will display an alert notifying you that the SunLink Server program must be restarted for the changes to become effective.

    Graphic

  7. Choose Yes to have the SunLink Server Manager tool restart the program automatically and immediately, or No to cancel the entire operation.

    If you choose Yes, the SunLink Server program will be stopped and then started automatically. If you choose No, no changes will take effect.

How to Move a Server to Another Domain
  1. Using SunLink Server Manager, log on to the SunLink Server system whose domain name or server name you want to change.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. From the Action menu, select Properties.

    A Properties window appears, listing the SunLink Server system's server name, the domain name, and the system's role in the domain--either PDC or BDC. If the system is a BDC, the name of the domain's PDC is also listed.


    Note -

    The SunLink Server Manager tool does not allow you to promote or demote the system to PDC or BDC within its current domain. You use the Windows NT Server Manager tool for those tasks. But by changing the system's domain name--and therefore assigning it to a new domain--you can also designate its new role within the new domain.


  3. In the Properties window, click Change (or OK to cancel the operation and dismiss the window).

    A Properties dialog box similar to the following appears.

    Graphicfs

  4. In the appropriate text field of the Properties dialog box, change the server's domain name according to the following guidelines:

    • By changing the domain name of the server, you are effectively reassigning it to the domain whose name you enter.

    • By changing domains, you may also designate a new role for the server within its new domain.

    • A domain name can be up to 15 characters long and can contain any combination of the following characters: a-z A-Z 0-9 ~ ! # $ % ^ & _ ( ). -

  5. Enter the required PDC/BDC, user name, and password information into the appropriate text fields, according to the following guidelines:

    • When you change the server's domain, you must indicate what role it will serve in its new domain: PDC or BDC.

      • If PDC, click the button next to Primary Domain Controller (PDC) and furnish the new password for the server's new role in both password text fields. Note that you cannot assign more than one PDC to a single domain; you must demote the former PDC to a BDC when creating a new PDC.

      • If BDC, click the button next to Backup Domain Controller (BDC), enter the name of the PDC that exists in the new domain, and furnish that PDC's Administrator account user name and password.

  6. Click OK, or click Cancel to abandon the procedure and leave the domain name unchanged.

    If you continue the procedure by clicking OK, the system will alert you that the SunLink Server program must be restarted for the changes to become effective.

    Graphic

  7. Choose Yes to have the SunLink Server Manager tool restart the program automatically and immediately, or No to cancel the entire operation.

    If you choose Yes, the SunLink Server program will be stopped and then started automatically. If you choose No, no changes will take effect.

About Managing Policies

You can define the following seven sets of SunLink Server policies:

Note that the instructions in this guide for managing these policies relate to, and affect, only your SunLink Server program--not the Windows NT network itself. You continue to administer Windows NT network policies in the manner and with the tools to which you are accustomed. Windows NT policies that are not covered in this guide include:

Computer Browsing

Computer browsing is the process of checking domains, workgroups, and computers to look for shared directories and printers. Networks, domains, workgroups, computers, and shared directories are organized in a tree structure. You choose a network name to display available domains and workgroups, a domain or workgroup name to display available computers, or a computer name to display its shared directories.

A master browser maintains the tree-structure list and updates the backup browsers. Users of network client computers are viewing this list when they look at their Network Neighborhood.

Computer browsing policy in the SunLink Server program involves setting the frequency that the master browser updates its list, the frequency that a backup browser copies the list from the master browser, and the level of browsing event detail that you want to be included in the system log.

File Name Mapping

On Solaris system files and directories, you can have names of up to 255 characters, far greater than the MS-DOS operating system 8.3 standard. And, while Windows NT Workstation and Windows NT Server users will see the long Solaris file name in a SunLink Server directory, users of client computers running Windows for Workgroups--which uses the MS-DOS 8.3 name convention--would not. To ensure access to all Solaris files by all users, the SunLink Server program provides name mapping: each file or directory with a name that does not conform to the MS-DOS 8.3 standard automatically is given a second name that does conform.

Many Microsoft Windows 3.1 and Windows for Workgroups users connecting to the file or directory over the network see the name in the 8.3 format; Windows NT Workstation and Windows NT Server users see the long name. (Note, however, that the SunLink Server program does not generate short names for share names that do not conform to MS-DOS naming standards, but only for files and directories with long names. When naming a share, use the 8.3 standard to avoid potential file name conflicts.)

SunLink Server name mapping also allows applications that do not support long file names to access files with such names. These applications refer to files that have long names by their shorter names.


Note -

If an application that does not support long file names opens a file with a long name and then saves the file, the long name is lost and only the short name remains.


SunLink Server file name mapping is composed of the following three elements:

The challenge of mapping between name spaces is resolved on Solaris systems by concatenating a truncated file name with a pseudo-unique suffix, which is generated dynamically from the i-node number of the Solaris system file.

File Name Mapping Rules

For mapping Solaris system file names to 8.3-type file names, the following default rules apply:

For example, the file name longfilename.txt and i-node number of 11455, would have a mapped name of long~8u7.txt.

For mapping from Solaris system file names to Windows NT-style file names, the following default rules apply:

For example, the file name k<l<m.expression and i-node number of 8461 would have a mapped name of k_l_m~6j1.expression.

Considerations for Using Mixed-Case Support

A decision on whether your server should continue to support mixed-case file names--which is the default in the SunLink Server program--should be considered carefully. Mixed-case support allows clients to have access to file names on Solaris systems that contain uppercase characters, but turning off this feature could improve server performance.

It is inadvisable to switch frequently between mixed-case support on the same server. While mixed-case support is enabled, clients can create files with mixed-case names. These files will become unavailable to them as soon as mixed-case support is disabled. If mixed-case support is changed from enabled to not enabled, every existing file name should be made lowercase.

Do not create file names that are case-insensitively identical in the same directory. Although the Solaris system is case-sensitive, SunLink Server mixed-case support causes the server to preserve case but behave in a case-insensitive way, just like Windows NT. Microsoft product users are not aware of the possibility of having case-insensitive similar file names in a directory, because Windows NT does not allow such files. As a result, users may become confused if they access incorrect files or are denied access to files they need.

NetBIOS

NetBIOS, which stands for Network Basic Input/Output System, is a session-layer interface used by applications to communicate. Its logical naming system permits computers' network interfaces to establish connections, and ensures reliable data transfer between computers once the connections exist.

Lana Numbers

LAN Adapter (Lana) numbers are part of the logical naming system established by NetBIOS. SunLink Server software assigns Lana numbers automatically to each network interface, choosing a number that is unique within the particular computer.

One NetBIOS Lana can be configured for each available network interface card. You should plan ahead to choose the particular network interfaces that you want to run NetBIOS Lanas.

WINS Servers

A Windows Internet Name Service (WINS) server is a machine that maintains a database of available network resources and the computers that own them. A computer seeking such a resource "asks" the WINS server to look up the address of the machine that owns the resource.

A network can have no WINS servers, or it can have any number of them. See a fuller discussion of WINS in Chapter 5, Chapter 5, Implementing WINS and Maintaining Databases.

WINS and NetBIOS Modes

By default, SunLink Server software brings up each network interface in Broadcast mode. In this mode, a computer seeking a network service or resource broadcasts a general request to the network, seeking a response from the machine that owns the resource or service. Each computer receiving such a request responds with its address.

This mode has the advantage of not requiring WINS servers, but it generates a lot of network traffic. Broadcast mode does not work across subnets.

WINS servers use the NetBIOS Hybrid mode (h-mode). In this mode, a computer seeking a network service or resource sends that request directly to a specified WINS server, which in turn looks up the address of the machine that owns the resource.

WINS Proxy

WINS proxies are useful in networks comprising several subnets, where some of the computers on those subnets are running in Broadcast mode. A WINS proxy fields local requests for services located on a different subnet, caching network addresses and communicating with the WINS server when necessary.

You can also configure the NetBIOS service to use WINS servers to resolve NetBIOS names by entering the IP address of the primary and secondary WINS servers. You can configure only the primary WINS server, or both. The WINS server addresses can be the IP address of the local SunLink Server system running the WINS service, or another SunLink Server system running the WINS service, or a Windows NT server running the WINS service.

If either primary or secondary WINS servers are configured, you can use the WINS proxy setting to allow this SunLink Server system to provide WINS proxy service to other computers that have not been configured to use WINS servers to resolve NetBIOS names. Be discreet in using this option, as it joins the NetBIOS name spaces for both b-mode and h-mode NetBIOS nodes on the local subnet, and can cause unexpected name conflicts.

NetBIOS Scope

NetBIOS scope is a seldom-used feature that limits the computers that a particular network device can communicate with.

The chief use of scope is in wide area networks (WANs) or other large networks, where it can prevent conflicts caused by two or more network interfaces having the same NetBIOS name.

Consider a network belonging to a shoe manufacturer where two machines, both earmarked for use by Sales personnel, exist on the same subnet.

One machine is used by those selling sneakers, and the other by those selling boots. If both machines had the NetBIOS name "sales," problems would result. However, if one machine is given the scope name "sneakers" and the other "boots," then both machines could retain the NetBIOS name "sales" without any conflict. Note however, that both machines could then only communicate with other machines possessing the same scope.

Solaris File System Security and Permissions

You can control the access that users have to files and directories on SunLink Server computers by securing them through permissions.

Every permission that you set specifies the access that a group, user, or others can have to the directory or file. For example, when you set Read permission for the group called Coworkers on the file MY_IDEAS.DOC, the users in that group can display the file's data and attributes, but they cannot edit the file or delete it.

The SunLink Server program offers the following permissions that you can set on directories and files for users, groups, and others:

You establish permissions on files and directories, but the permissions that you establish actually affect the computer users. The Solaris operating environment differentiates among people to whom the permissions apply:

Standard permissions are combinations of individual permissions that depend on the nature of the files and directories and the makeup of groups. To work effectively with SunLink Server file and directory security, keep the following points about setting permissions in mind:

In addition to files and directories, shares carry their own permissions in a Windows NT environment. In case of permission conflicts among files, directories, and shares, clients see the most restrictive permissions among the conflicting sets.

Ownership of Files and Directories

Every file and directory has an owner. The owner controls how permissions are set on the file or directory and can grant permissions to others.

When a file or directory is created, the person creating the file or directory automatically becomes its owner. It is expected that administrators will create most files on network servers, such as when they install applications on the server. Therefore, most files on a server will be owned by administrators, except for data files created by users and files in users' home directories.

Ownership can be transferred in the following ways:

The administrator also can take file ownership by using the net perms command. For more information, type net help perms at the SunLink Server command prompt.

In addition to files and directories, computer processes also have an owner. A computer process is initiated whenever an executable program is run, and the process is known to the system by a unique identifier. In the Solaris environment, this is called a Process Identifier, or PID.

Unlike file or directory ownership, however, process "ownership" changes whenever the program is executed. While an executable program--a spreadsheet, for example--is originally owned by the person who installed it on the network, its User and Group PID ownership changes when a person runs it. The spreadsheet process owned by root at installation will now be owned by the user and the user's group at execution. Because this change in process ownership has security implications, the SunLink Server program enables you to regulate it.

File-locking is also an important security concern, particularly in your heterogeneous environment of Windows NT and Solaris. While SunLink Server software accords the same file-locking security on network-based files and directories as Windows NT does, locked files may still be accessible directly from a Solaris computer account. SunLink Server software enables you to preclude that from happening, though it is not set by default as it may degrade overall system performance. If your network includes users who will access files from both Windows NT and Solaris network client machines, you should change this setting to honor Windows NT file-locking from Solaris accounts. See "How to Set Solaris File System Integration Policies".


Note -

During SunLink Server installation, users and groups who will be associated with the SunLink Server program were added to the system's local password and group files. If your site uses a Solaris name service such as NIS or NIS+ in the Solaris environment, you should put the group information into the name service maps. When creating files from a Windows NT Workstation and writing to a directory on the Solaris system, the owner is the user who creates the file and the default group is DOS---. While the user information is, in fact, retrieved from the name service maps, the group information is correctly displayed only if the listing of the file is performed on the SunLink Server system itself (default lookup: files nis). If these files are being viewed from another Solaris system, the group id will not be resolved correctly. By putting the group information into the name service maps, you allow the files to be consistent between the local system files and the maps.


SunLink Server Manager Security

Another security consideration involves users' privileges to administer the SunLink Server program by way of the SunLink Server Manager tool. You can choose settings that affect security on subsequent SunLink Server Manager sessions. Data Integrity uses public key signatures to protect data passed between the server and the client. Authentication takes place behind the scenes and involves rechecking credentials with each transaction. See "How to Secure SunLink Server Manager Transactions".

UPS Power Failure Notification

You can send a power failure message to all Windows NT network users who are connected to a computer by using the Send Message command on the Computer menu in Windows NT Server Manager. For example, you can do this before you disconnect one or more users or before you stop the server service on that computer.

Using SunLink Server Manager, you can warn users of server shutdown because of of power loss when an Uninterruptible Power Supply (UPS) service is available.

For alerts to be sent, the Alerter service must be running on the SunLink Server computer from which the alert is originated (see "How to Start Individual Services"). For client machines to receive the alerts, their Microsoft Windows Messenger service must be running.

User Account Mapping for /etc/passwd Files

You can associate a SunLink Server user account with a Solaris system user account on the Solaris system that is running SunLink Server software. To create this type of association, you use the SunLink Server Manager tool or the mapuname command. (For more information about the mapuname command, type man mapuname at the SunLink Server command prompt.) After you map a SunLink Server user account to a Solaris system user account, any file that the SunLink Server computer user creates will be owned by the Solaris system user account.


Note -

This option is useful only to those sites that use the mapuname command to associate Windows NT and Solaris accounts, and who keep their Solaris accounts in a local /etc/passwd file (i.e., those who do not use NIS or NIS+ name services). If this is the case and you choose this option, then if you use the Windows NT User Manager tool to change the user's Windows NT home directory to a shared path on the SunLink Server system, it edits /etc/passwd so that the user's Solaris account has the same home directory on the server.


Having both SunLink Server and Solaris system user accounts allows your Solaris system files to be owned by your Solaris system user account and to be accessed through your SunLink Server user account. You should map Solaris system user accounts to SunLink Server software users on the Solaris systems where their home directories reside--this is the default, though you can change it.

Assigning Solaris system user accounts to SunLink Server user accounts ensures that Solaris system user accounts are created only when necessary. It also gives administrators complete control over the mapping of SunLink Server user accounts to Solaris system user accounts.

You use the SunLink Server Manager tool to assign Solaris system user accounts automatically to new SunLink Server user accounts. See "How to Edit User Account Mapping Policies". The Solaris system user account name that is assigned to the SunLink Server user account will be the same as or similar to the SunLink Server user account name. Differences can arise in cases of long, duplicate, or special character SunLink Server user account names.

If you were to map a SunLink Server user account to a nonexistent Solaris system user account, or if the Solaris system account for a SunLink Server user is deleted, the SunLink Server user will not have access to any shared resources on the Solaris system. To ensure that the SunLink Server user can continue to access the system, delete the account mapping or re-map the user to another Solaris system user account.

As administrator, you also have the ability to enable or disable users with Solaris accounts from logging on to the Solaris system, and to choose whether to synchronize SunLink Server home directories with users' Solaris home directories.

User Account Management Utilities

SunLink Server software provides a pair of Solaris user account management utilities, called passwd2sam and sam2passwd.

passwd2sam

The passwd2sam user account management utility places user account information that is stored in a Solaris name service--such as FILES, NIS, and NIS+--into the SunLink Server Security Account Manager (SAM) database. If the SunLink Server system is configured as a BDC in an existing Windows NT domain, passwd2sam operations will transfer to the domain's PDC.


Note -

Using this utility does not add users' passwords to the SunLink Server SAM database, because passwords are one-way encrypted; that is, they cannot be decrypted for automatic transfer from one account to the other.


The passwd2sam user account management utility supports three modes of operation:

You must format all input files to passwd2sam as /etc/passwd entries. See the passwd2sam(1) man page for details on invocation options and arguments.

sam2passwd

The other user account management utility provided by SunLink Server software is sam2passwd. The sam2passwd user account management utility records SunLink Server user accounts, and then creates the following /etc/passwd formatted file containing the SunLink Server user accounts:

/var/opt/lanman/dirsync/sam2passwd.passwd

This file contains non-privileged SunLink Server user accounts that you can add to Solaris name service maps or to a local /etc/passwd file (on which you then run the /user/bin/pwconv command).

The sam2passwd utility is provided to assist you in migrating user accounts into your running Solaris name service, but does not actually perform the operation. See the sam2passwd(1) man page for details on invocation options and arguments.

How to Change Computer Browsing Policy
  1. Using SunLink Server Manager, log on to, and then open, the SunLink Server system whose browsing properties you want to change.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. Double-click Policies.

  3. Double-click Computer Browsing.

    The following screen appears.

    Graphic

  4. Using the provided drop-down lists and check box, make any changes to the Master Browser and Backup Browser update and recovery intervals, and list of browsing events that should be included.

    Checking "Record all computer browsing events" makes the event list more inclusive than the default.

    Note that you must enter a value greater than "0" for both the Master and the Backup browsers' update intervals.

  5. Click OK, Cancel, or Reset to Defaults.

    If you click OK to make any changes, SunLink Server Manager will automatically stop and then restart your browsing service to make the changes effective.

How to Set Up File Name Mapping
  1. Using SunLink Server Manager, log on to, and then open, the SunLink Server system on which you want to set up or edit file name mapping policies.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. Double-click Policies.

  3. Double-click File Name Mapping.

    The following screen appears.

    Graphic

  4. Create or change file name mapping policies according to the following guidelines:

    • Check "Enable mapping to 8.3-style file systems" if some of your client machines are running Windows for Workgroups.

    • Check "Enable mapping to Windows NT-style file systems" so that Solaris file names with characters that are invalid in Windows NT are changed to "legal" characters.

    • Enter a new value in the Suffix Separator text field if you have reason to change the default; the default separator is a tilde ( ~ ).

    • Enter a new value in the Suffix Length text field if you have reason to change the default from three. This value does not include the separator.

    • Check "Enable mixed-case support" if you want to allow file names to be created with both uppercase and lowercase characters, and you want case to be a factor in finding files. Note that checking this box may degrade performance.

  5. Click OK, Cancel, or Reset to Defaults.

How to Edit NetBIOS Policy
  1. Using SunLink Server Manager, log on to and then open the SunLink Server system on which you want to set NetBIOS policies.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. Double-click Policies.

  3. Double-click NetBIOS.

    The following screen appears.

    Graphic

    The NetBIOS Properties wizard displays a table of available network devices, their automatically assigned Lana numbers, and their scope (if assigned). The wizard enables you to add, edit, or remove an Ethernet interface Lana entry.

  4. In the Ethernet Interface table, click to highlight the name of the device that you want to configure.

    For background information on NetBIOS, see "NetBIOS".

  5. Choose whether you want to add, edit, or remove an interface and its Lana entry.

    • If you want to add an interface and Lana entry, go on to the next step.

    • If you want to edit an interface and Lana entry, go to Step 7.

    • If you want to remove an interface and Lana entry, go on to Step 8.

  6. Click Add.

    The following screen appears.

    Graphic

    1. Click the drop-down Interface list to choose the available interface you want to add.

    2. (Optional) In the Scope text field, type the name of the scope that you want the added device to serve.

      The scope name can contain a maximum of 63 characters consisting of the uppercase or lowercase letters A-Z, the numerals 0-9, and all standard symbols.

    3. Click OK.

  7. Click Edit.

    The following screen appears.

    Graphic

    1. Click the drop-down Interface list to assign a different available interface to the local system.

    2. (Optional) In the Scope text field, edit or create the name of the scope that you want the edited device to serve.

      The scope name can contain a maximum of 63 characters consisting of the uppercase or lowercase letters A-Z, the numerals 0-9, and all standard symbols.

    3. Click OK.

  8. Click Remove.

    In the event that you attempt to remove the only interface available for this machine, the following screen will appear.

    Graphic

    1. Click Yes to remove the interface, or click No to cancel the operation and dismiss the screen.

How to Configure WINS
  1. Using SunLink Server Manager, log on to and then open the SunLink Server system on which you want to configure the WINS service.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. Double-click Policies.

  3. Double-click NetBIOS.

    The following screen appears.

    Graphic

    The NetBIOS Properties wizard displays a table of available WINS configuration choices:

    • Choose whether the Windows Internet Name Service (WINS) is enabled.

    • Choose whether the system you are configuring will be a WINS proxy.

    • Identify, by IP address, primary and secondary WINS servers.

  4. To enable WINS on the local system, click the checkbox next to Enable WINS.

    The screen changes to activate three WINS configuration choices:

    • Primary WINS Server

    • Secondary WINS Server

    • WINS Proxy

    Graphic

  5. In the corresponding text fields, type in the IP addresses for the Primary and, optionally, Secondary WINS servers.

    See "WINS Proxy" for a description of primary and secondary WINS servers.

  6. Choose whether you want the system to act as a WINS Proxy.

    See "WINS Proxy" for a description.

  7. Click OK.

    The following screen appears, notifying you that the SunLink Server program and the NetBIOS driver must be restarted for changes to take effect:.

    Graphic

    Choose whether to stop and restart the program immediately, restart the program later, or cancel the changes you made.

    None of the changes you have designated will become effective until the next time you start the SunLink Server program.


    Note -

    The Enable WINS option does not start the WINS service automatically after the SunLink Server program is restarted. You need to start the service manually by typing net start wins at the system's command line, or by using SunLink Server Manager. For instructions, see "How to Start Individual Services". You can configure the SunLink Server program to start the WINS service automatically, however, by editing the lanman.ini file. See "How to Start the WINS Service Automatically".


How to Start the WINS Service at the Command Line
  1. At the SunLink Server command line, enter the following command:

    net start wins

How to Start the WINS Service Automatically
  1. Edit the lanman.ini file to include wins in the srvservices parameter.

    See the section "About lanman.ini File Entries" for editing instructions, and "File Parameters" for the location of the srvservices parameter.

How to Set Solaris File System Integration Policies
  1. Using SunLink Server Manager, log on to and then open the SunLink Server system on which you want to set Solaris file system integration policies.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. Double-click Policies.

  3. Double-click Solaris File System Integration.

    The following screen appears.

    Graphic

  4. Set SunLink Server file creation policies according to the following guidelines, using the Security, Permissions, or Advanced tabs:

    • Security - To establish policy for file creation within SunLink Server folders:

      • Ignore Solaris permissions - Leave unchecked the "Observe Solaris file and folder security" option to ignore Solaris permissions. With this option unchecked, Windows NT file and directory permissions are the only permissions that will prevail over file and directory creation and access for reading. SunLink Server software users with appropriate Windows NT permissions can create files within SunLink Server folders.

      • Observe Solaris permissions - Check "Observe Solaris file and folder security" and "A SunLink Server folder" to require users to have Solaris Write permission to create a file within a SunLink Server folder only--it will not affect any other Solaris file system folder. Check "Any folder with Solaris write permission" to ease the restriction, by enabling SunLink Server software users to create files within SunLink Server folders and any other Solaris file system folder. Check "Any folder with Solaris read permission" to specify that only minimal Solaris permissions be in place on any SunLink Server folder or other Solaris folder (in effect, this option grants Write permission to any Solaris operating environment-based folder).

    • Permissions - To establish default User, Group, and Other file and folder permissions, check the box next to the permissions that you want to set.

    • Advanced - To cause SunLink Server software to observe Windows NT file locking--thereby preventing users with Solaris accounts from accessing the locked files--check the box under File Locking. (Note that checking this box may slow down performance.)

  5. Click OK, Cancel, or Reset to Defaults.

How to Use UPS Power Failure Notification
  1. Using SunLink Server Manager, log on to, and then open, the SunLink Server system from which you want to send a UPS power failure notice.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. Double-click Policies.

  3. Double-click UPS Power Failure Notification.

    The following screen appears.

    Graphic

  4. Check "Send power failure messages."

  5. Either select from the drop-down list, or type directly into the text field, the NetBIOS names of all the users or systems that you want to notify.

    Select All Users if you want to send the message to everyone.

  6. Using the drop-down list, designate how often you want the notification to be repeated.

  7. In the Message text field, type the message that you want to send.

  8. Click OK, Cancel, or Reset to Defaults.

How to Edit User Account Mapping Policies
  1. Using SunLink Server Manager, log on to, and then open, the SunLink Server system for which you want to establish or edit user account mapping policies.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. Double-click Policies.

  3. Double-click User Account Mapping.

    The following screen appears.

    Graphic

  4. Establish or edit user account mapping policies according to the following guidelines (see "User Account Mapping for /etc/passwd Files" for background information on these policies):

    • Check "Map new SunLink Server accounts to Solaris accounts" to create a unique Solaris account for a user simultaneously with the creation of his or her new account in the Windows NT domain served by the SunLink Server system. If you have checked this option, you then have other options, described in the remainder of this list.

    • Choose the option of always creating a new Solaris account for the user, or using a Solaris account that exists for the user. Note that a Solaris account exists independently of both Windows NT and SunLink Server systems.


      Note -

      Checking the "Always create a new Solaris account" option will cause the system to create a new Solaris account by way of a local /etc/passwd file only. If your site uses a Solaris name service such as NIS or NIS+, do not check this option.


    • Choose whether to permit a user with a Solaris account to use that account independently of NT and SunLink Server software, by checking "Allow Solaris logons" or leaving it unchecked. If you choose to permit Solaris logons, use the "Solaris shell" drop-down list to choose a command shell, or choose Other and enter the shell name in the text field.

    • Choose "Synchronize Home directories" for automatic synchronization of SunLink Server home directories with Solaris home directories. (See the following note.)


      Note -

      The "Synchronize Home directories" option is useful only to those sites that use the mapuname command to associate Windows NT and Solaris accounts, and who keep their Solaris accounts in a local /etc/passwd file (that is, those who do not use NIS or NIS+ name services). If this is the case and you choose this option, then if you use the Windows NT User Manager tool to change the user's Windows NT home directory to a shared path on the SunLink Server system, it edits /etc/passwd so that the user's Solaris account has the same home directory on the server.


  5. Click OK, Cancel, or Reset to Defaults.

How to Secure SunLink Server Manager Transactions
  1. Using SunLink Server Manager, log on to, and then open, the SunLink Server system for which you want to establish SunLink Server Manager security policies.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. Double-click Policies.

  3. Double-click SunLink Server Manager Security.

    The following screen appears.

    Graphic

  4. Do one or both of the following:

    1. Check the Transaction Security box to require user authentication for SunLink Server Manager transactions and to invoke public key signatures to protect data that is passed between the server and clients.

    2. Click the Connection Timeout box to specify a period of time after which SunLink Server Manager connections expire. Specify the time period in the provided text field.

  5. Click OK, Cancel, or Reset to Defaults.

About Event Monitoring

An event is any significant occurrence in the system (or in an application). Some critical events are noted in on-screen messages. An event that does not require immediate attention is noted in an event log. Event logging starts automatically every time you start the SunLink Server program. With an event log displayed by the SunLink Server Manager tool, you can troubleshoot various problems and monitor SunLink Server security events.

SunLink Server software records events in the following types of logs:

System and application logs can be viewed by all users; security logs are accessible only to system administrators.

Interpreting an Event

Event logs consist of a header, a description of the event (based on the event type), and additional data. Most security log entries consist of the header and a description.

SunLink Server Manager displays events from each log separately. Each line shows information about one event, including date, time, source, category, Event ID, user account, and computer name.

Event Header

An event header contains the following information:

Event Description

The format and contents of the event description vary, depending on the event type. The description is often the most useful piece of information, indicating what happened or the significance of the event.

Event Types

The SunLink Server Manager logs indicate the event types:

Additional Data

The data field contains binary data that you can display in bytes or words. The application that was the source of the event record generates this information. Because the data appears in hexadecimal format, only someone who is familiar with the source application can interpret its meaning.

Using SunLink Server Manager to View Events

You determine which event log to view by switching between the system, security, and application logs that are available in the Events group within SunLink Server Manager.

Graphic

Using Event Logs to Troubleshoot Problems

Careful monitoring of event logs can help you to predict and identify the sources of system problems. Logs also can confirm problems with Windows NT application software. If a Windows NT application crashes, an application event log can provide a record of activity leading up to the event.

The following are guidelines for using event logs to diagnose problems:

Monitoring SunLink Server Security Events

You enable auditing from the Windows NT User Manager for Domains Auditing Policy dialog box. Through auditing, you can track SunLink Server security events. You can specify that an audit entry is to be written to the security event log whenever certain actions are performed or files are accessed.

An audit entry shows the activity that occurred, the user who performed the action, and the date and time of the activity. You can audit both successful and failed attempts. The audit trail can show who actually performed actions on the network and who tried to perform actions that are not permitted.

Events are not audited by default. If you have Administrator permission, you can specify which types of system events are audited through the Windows NT User Manager for Domains tool.

The Audit policy determines the amount and type of security logging that SunLink Server software performs. For file and object access, you can specify which files and printers to monitor, which types of file and object access to monitor, and for which users or groups. For example, when File and Object Access auditing is enabled, you can use the Security tab in a file or folder's Properties dialog box (accessed through Explorer) to specify which files are audited and what type of file access is audited for those files.

How to Monitor Events
  1. Using SunLink Server Manager, log on to, and then open, the SunLink Server system whose event logs you want to view.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. Double-click Events.

    The following screen appears.

    Graphic

  3. Double-click the name of the log that you want to view.

  4. Double-click any line in the log to see more details about the particular event.

    For background information about interpreting events, see "Interpreting an Event".

How to Monitor Events From the Command Prompt

You can use the SunLink Server elfread command to read system, security and application logs. This command is especially useful when troubleshooting a SunLink Server system that has failed to start. (Events of this type typically are written to the system log.) Use the elfread command as a backup to the SunLink Server Manager, which is the recommended method of viewing log files when the server is running.

  1. At the SunLink Server command prompt, type the following:

elfread [-od] logname

Replace logname with one of the following log types: system, security, or application.

To display the log file contents listing the oldest event first, use the -o option. To display detailed information about events, use the -d option.

If no options are specified, a summary of all events in the specified log is displayed in reverse chronological order.

How to View SunLink Server Information
  1. Using SunLink Server Manager, log on to, and then open, the SunLink Server system whose information you want to view.

    For instructions, see "How to Log On Using SunLink Server Manager". To make any changes, you must be logged on as root.

  2. Double-click Information.

    The following screen appears.

    Graphic

    The data displayed in the Information view is current, though not automatically updated. To update the view with the most recent data, click Refresh in the View menu, or click Information again in the Navigation pane.

The following information is provided:

In addition to furnishing you with vital information, the Information window includes three buttons from which you can initiate various administrative tasks: