5.1 Using iManager to Manage CIFS

You can manage CIFS services from iManager 2.7.4. The recommended method to configure, manage, and modify CIFS properties and parameters is using iManager.

NOTE:Admin equivalent/container admin users should be LUM enabled to manage the CIFS server through CIFS iManager plugin.

5.1.1 Prerequisites

5.1.2 Selecting a Server to Manage

  1. In a Web browser, specify the following in the address (URL) field:

    http://server_IP_address/nps/iManager.html
    

    For example:

    http://192.168.0.1/nps/iManager.html
    
  2. At the login prompt, specify the server administrator username and password and click Login.

    For more information on iManager administration, see the Novell iManager 2.7.4 Administration Guide.

  3. In the iManager application left frame, click File Protocols > CIFS.

    The default CIFS parameters page is displayed. Use this page to configure and manage CIFS.

  4. In the Server field, specify the OES 2 Linux server name.

    or

    Browse and select it from the object selector

    or

    Use the object history button to select it.

  5. Verify the status of the server. If the CIFS server is stopped, click Start to start the CIFS server.

    The Status changes to Running and all the CIFS properties are displayed on the screen.

    If a Samba server is running, CIFS does not start. To resolve this problem, see CIFS Is Not Running With Samba.

  6. Continue with other administrative actions as necessary:

5.1.3 Setting the CIFS Server and Authentication Properties

The server and authentication parameters can be set by using the parameters listed under the General and Share tabs on the default CIFS server page in the iManager.

For information on starting iManager and accessing the CIFS server, see Section 5.1.2, Selecting a Server to Manage.

To change these parameters from command line, see Section 5.2.4, Modifying the CIFS Configuration

Setting CIFS General Server Parameters

The General page contains the Server and Authentication properties tabs. By default, the Server Properties page is displayed. View or edit the server parameters on this page.

Figure 5-1 CIFS General Server Parameters

NOTE:For a virtual server, only CIFS Virtual Server Name and Comment are not inherited from the physical server. Hence only these parameters can be edited for CIFS on a shared pool server.

Table 5-1 CIFS Server Page Parameters

Parameter

Description

CIFS Virtual Server Name

The name of the server running CIFS services. The length can be a maximum of 15 characters. The default server name is the OES 2 Linux server name.

WINS IP Address

The address of the WINS server.

Comment

A comment associated with the name of the server running CIFS services. This comment is displayed when viewing details. The maximum length is 47 characters.

IMPORTANT:You should use single-byte characters in comments. Double-byte characters are not supported.

OpLocks (Opportunistic Locking)

Improves file access performance. The option is disabled by default.

Distributed File Services (DFS) Support

This option allows Distributed File Services support in CIFS. The option is disabled by default.

SMB Signature

By default, this is set to Optional. Select Mandatory or Optional or Disabled. For details, see Enabling and Disabling SMB Signing.

Enabling and Disabling SMB Signing

SMB signing supports message authentication, which prevents active message attacks. The authentication is provided by placing a digital signature into each SMB. The digital signature is then verified by both the client and the server. It can be set to mandatory or optional mode.

SMB signing should be turned off when domain authentication is configured.

To use SMB signing mode, both the client and the server should be enabled for SMB signing. Use either Optional or Mandatory modes to enable it.

Optional mode: If SMB signing is set to the optional mode (the default mode after enabling it by using console commands), it automatically detects whether or not individual clients have SMB signing enabled. If a client does not have SMB signing enabled, the server does not use SMB signing for client communication. If a client has SMB signing enabled, the server uses SMB signing for client communication.

Mandatory mode: If you set SMB signing to mandatory mode, all clients must have SMB signing enabled or they cannot connect to the server. If SMB signing is set as mandatory on the server, clients cannot establish sessions with the server unless they have SMB signing enabled.

Disable mode: You can disable SMB signing by setting SMB signing to disabled mode.

IMPORTANT:After enabling or disabling SMB signing, or changing the mode to optional or mandatory, clients must reconnect in order for changes to take effect. For example, if SMB signing is enabled on the server, SMB signing is not in effect for individual clients until each of those clients reconnects.

Setting CIFS General Authentication Parameters

On the General page, select Authentication to view or edit the CIFS authentication parameters. When a third party domain authentication is selected, SMB signing is disabled.

CIFS pass through authentication works in parity with NetWare.

Figure 5-2 CIFS Authentication Page Parameters

NOTE:For a virtual server, only CIFS Virtual Server Name and Comment are not inherited from the physical server. Hence only these parameters can be edited for CIFS on a shared pool server.

Table 5-2 CIFS Authentication Page Parameters

Parameters

Description

Mode

Indicates the method of authentication used by CIFS. CIFS uses either eDirectory (local) or third-party Domain authentication mechanisms.

  • eDirectory (Local): Clients are members of a workgroup. The server running CIFS services performs the user authentication. The login credentials (username and password) on an OES 2 Linux server must match the login credentials used by the client users.

  • Third Party Domain: Clients are members of a domain. A Windows domain controller performs user authentication. The username and password on the domain controller must match the username and password used to log in to the Windows workstation.

IMPORTANT:If you change the modes from Local to Third Party Domain or from Third Party Domain to Local, restart the CIFS server for the changes to take effect.

Work Group / Domain Name

The workgroup or domain to which the server belongs. Domain is a third-party domain.

Primary Domain Controller Name

The name of the PDC server. This is needed if the PDC is on a different subnet. This option should be used only when there is a valid reason for overriding WINS or DNS. This field can be changed only if Third Party Domain is selected.

Primary Domain Controller IP Address

The PDC server’s static IP address. This is needed if the PDC is on a different subnet. This option should be used only when there is a valid reason for overriding WINS or DNS. This field can be changed only if Third Party Domain is selected.

IMPORTANT:If this is not a static address, the server running CIFS services cannot contact the PDC when PDC reboots and the address changes.

LMCompatibilityLevel

NTLMv2 is an authentication protocol that is cryptographically stronger than NTLMv1. NTLMv2 is not negotiated between the client and the server. The protocol does not determine the challenge or response algorithms, so it must be configured on both the client and the server by setting the LMCompatibilityLevel (the Windows registry key is at HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA). Novell CIFS currently supports 0, 4, and 5 compatibility levels for NTLMv2.

Select the appropriate LMCompatibilityLevel from the drop-down list.

  • Accept LM and NTLM responses (Default setting) - Level 0: The server or domain controller compares the client's responses against LM, NTLM, LMv2, and NTLMv2 responses. Any valid response is accepted.

  • Accept NTLM response/refuse LM response (NTLM authentication) - Level 4: The server or domain controller accepts a valid LM, NTLM, LMv2, or NTLMv2 response.

  • Accept NTLMv2 response /refuse LM and NTLM response (NTLMv2 required) - Level 5: The server or domain controller compares the client's responses, using only LMv2 and NTLMv2.

5.1.4 Managing CIFS Shares

The Shares tab on the default CIFS server page in iManager displays the CIFS share details. Use the Shares page to add a new share on the server to be specified as a sharepoint and to be accessible via the Network Neighborhood. NSS Volumes are added by default.

For information on starting iManager and accessing the CIFS server, see Section 5.1.2, Selecting a Server to Manage.

To manage CIFS Shares from command line, see Section 5.2.6, Working with CIFS Shares.

Figure 5-3 CIFS Shares Page Parameters

NOTE:If no shares are specified, all mounted volumes are displayed.

IMPORTANT:Double-byte characters are not supported in a Share name, Share path, or Comment.

Administrators can add, edit, and delete CIFS shares.

Adding a New CIFS Share

Before adding a new share, ensure that your CIFS server is started and running. For details on how to start the server, see Section 5.1.2, Selecting a Server to Manage.

NOTE:There is a limitation on the number of shares a CIFS server can host. For most configurations this limit is between 300 to 500 shares.

  1. On the default CIFS server page in iManager click the Shares tab, then click Add.

    For information on starting iManager and accessing the CIFS server, see Section 5.1.2, Selecting a Server to Manage.

  2. Specify the Share Name, Volume, Path, and Comment for the new share. For details, see Table 5-3.

  3. Click OK to save your changes.

    On successful addition of a share, the following message is displayed.

Editing a CIFS Share

Before editing a share, ensure that your CIFS server is started and running.

If you edit the default share name, a new share is created. However, the default share is still present with the same share name.

NOTE:All shares on a volume are removed on pool unmount.

For details on how to start the server, see Section 5.1.2, Selecting a Server to Manage.

  1. On the default CIFS server page in iManager click the Shares tab, then select a share from the list and click Edit, or click a particular share link to edit the share.

    For information on starting iManager and accessing the CIFS server, see Section 5.1.2, Selecting a Server to Manage.

  2. Modify the Share Name or Path or Comment for the share. For details, see Table 5-3.

  3. Click the Modify button to modify the Volume and Path on the pop-up screen. For details, see Table 5-3.

  4. Click OK twice to save your changes.

Removing a CIFS Share

Before deleting a share, ensure that your CIFS server is started and running. For information on starting iManager and accessing the CIFS server, see Section 5.1.2, Selecting a Server to Manage.

  1. On the default CIFS server page in iManager click the Share tab, then select one or more shares from the list, then click Remove.

    On successful deletion of the share the following message is displayed.

  2. Either click OK to return to the main page or click Repeat Task to delete more shares.

CIFS Share Parameters

Use this table information to create and edit CIFS shares.

Table 5-3 Shares Page Parameters

Parameter

Description

Name

The name that the CIFS share uses for all the CIFS services and for display on Windows computers. For example, if you specify Company Photos as the share name associated with vol1\graphics, then Windows workstations browsing the network see Company Photos instead of vol1\graphics.

A Share name can be up to 80 characters long and can contain any single-byte characters, but should not begin or end with an underscore _ or contain multiple underscores _.

Volume

The OES 2 volume name.

Path

The CIFS share path. This is the path to the server volume or directory that becomes the root of the sharepoint. This path may contain single-byte and multi-byte characters.

NOTE:Do not end the path with a backslash (\).

Comment

A description for the sharepoint. The description appears in Network Neighborhood or My Network Places. The maximum length is 47 characters. Comment may contain single-byte and multi-byte characters.

5.1.5 Configuring a CIFS User Context

On the default CIFS server page in iManager click the Context tab to list, add, and delete the CIFS user contexts.

To configure a context search from the command line, see Section 5.2.7, Configuring the CIFS Context Search File.

Figure 5-4 CIFS Context Page

Adding a New Context

Before adding a new context, ensure that your CIFS server is started and running. For details on how to start the server, see Section 5.1.2, Selecting a Server to Manage.

  1. Click Add to add a new user context to CIFS.

    Figure 5-5 Add New Context

  2. Browse the Object Selector, select a context to add, then click OK to save.

Removing a Context

Before removing a context, ensure that your CIFS server is started and running. Select one or more contexts and click Remove.

5.1.6 Stopping CIFS

To stop a running CIFS server:

  1. If the CIFS server status is Running on your screen, click Stop to stop the CIFS server.

The Status changes to Stopped and all the CIFS properties are dimmed on the screen.