Authentication and Access Control
Local vs. Remote Configurations
Backing up with "dump" and "tar"
Section A: Kerberos issue (KB951191)
Section B: NTLMv2 issue (KB957441)
Identity Mapping Directory-based Mapping
Identity Mapping Name-based Mapping
Mapping Rule Directional Symbols
RIP and RIPng Dynamic Routing Protocols
Receiver Configuration Examples
The SMB service provides access to filesystems using the SMB protocol. Filesystems must be configured to share using SMB from the Shares configuration.
|
Changing service properties is documented in the BUI and CLI sections of services. The CLI property names are shorter versions of those listed above.
Several share properties must be set in certain ways when exporting a share over SMB.
|
The case sensitivity and reject non UTF-8 properties can only be set when creating a share.
The appliance supports NFS and SMB clients accessing the same shares concurrently. To correctly configure the appliance for NFS/SMB interoperability, you must configure the following components:
Configure the Active Directory service.
Establish an identity mapping strategy and configure the service.
Configure SMB.
Configure access control, ACL entries, and ACL inheritance on shares.
Note that SMB and NFSv3 do not use the same access control model. For best results, configure the ACL on the root directory from a SMB client as the SMB access control model is a more verbose model. For information on inheritable trivial ACL entries, see the ACL inheritance behavior documentation.
The Distributed File System (DFS) is a virtualization technology delivered over the SMB and MSRPC protocols. DFS allows administrators to group shared folders located on different servers by transparently connecting them to one or more DFS namespaces. A DFS namespace is a virtual view of shared folders in an organization. An administrator can select which shared folders to present in the namespace, design the hierarchy in which those folders appear and determine the names that the shared folders show in the namespace. When a user views the namespace, the folders appear to reside in a single, high-capacity file system. Users can navigate the folders in the namespace without needing to know the server names or shared folders hosting the data.
Only one share per system may be provisioned as a standalone DFS namespace. Domain-based DFS namespaces are not supported. Note that one DFS namespace may be provisioned per cluster, even if each cluster node has a separate storage pool. To provision a SMB share as a DFS namespace, use the DFS management MMC snap-in to create a standalone namespace.
When the appliance is not joined to an Active Directory domain, additional configuration is necessary to allow Workgroup users to modify DFS namespaces. To enable an SMB local user to create or delete a DFS namespace, that user must have a separate local account created on the server. In the example below, the steps allow the SMB local user dfsadmin to manipulate DFS namespaces.
Create a local user account on the server for user dfsadmin. Be sure to use the same password as when the local user was first created on the Windows machine.
Add dfsadmin to the local SMB group Administrators.
Login as dfsadmin on the Windows machine from which the DFS namespace will be modified.
The autohome share feature eliminates the administrative task of defining and maintaining home directory shares for each user that accesses the system through the SMB protocol. Autohome rules map SMB clients to home directories. There are three kinds of autohome rules:
|
A name service switch autohome rule and an autohome rule for all users cannot exist at the same time.
Local groups are groups of domain users which confer additional privileges to those users.
|
Local accounts and user IDs are mapped to Windows user IDs. Note that the guest account is a special, readonly account and cannot be configured for read/write in the appliance.
The Microsoft Management Console (MMC) is an extensible framework of registered components, known as snap-ins, that provide comprehensive management features for both the local system and remote systems on the network. Computer Management is a collection of Microsoft Management Console tools, that may be used to configure, monitor and manage local and remote services and resources.
In order to use the MMC functionality on the Sun ZFS Storage 7000 appliances in workgroup mode, be sure to add the Windows administrator who will use the management console to the Administrators local group on the appliance. Otherwise you may receive an Access is denied or similar error on the administration client when attempting to connect to the appliance using the MMC.
The Sun ZFS Storage 7000 appliances support the following Computer Management facilities:
Display of the Application log, Security log, and System log are supported using the Event Viewer MMC snap-in. These logs show the contents of the alert, audit, and system logs of the Sun ZFS Storage 7000 system. Following is a screen capture that illustrates the Application log and the properties dialog for an error event.
Support for share management includes the following:
Listing shares
Setting ACLs on shares
Changing share permissions
Setting the description of a share
Features not currently supported via MMC include the following:
Adding or Deleting a share
Setting client side caching property
Setting maximum allowed or number of users property
Following is a screen capture that illustrates Permissions properties for a Share.
Supported features include the following:
Viewing local SMB users and groups
Listing user connections, including listing the number of open files per connection
Closing user connections
Listing open files, including listing the number of locks on the file and file open mode
Closing open files
Following is a screen capture that illustrates open files per connection.
Following is a screen capture that illustrates open sessions.
Support includes listing of services of the Sun ZFS Storage 7000 system. Services cannot be enabled or disabled using the Computer Management MMC application. Following is a screen capture that illustrates General properties for the vscan Service.
To ensure that only the appropriate users have access to administrative operations there are some access restrictions on the operations performed remotely using MMC.
|
The following are examples of SMB administration at the CLI.
Use the create command to add autohome rules, and the list command to list existing rules. This example adds a rule for the user "Bill" then lists the rules:
twofish:> configuration services smb twofish:configuration services smb> create twofish:configuration services rule (uncommitted)> set use_nss=false twofish:configuration services rule (uncommitted)> set user=Bill twofish:configuration services rule (uncommitted)> set directory=/export/wdp twofish:configuration services rule (uncommitted)> set container="dc=com,dc=fishworks, ou=Engineering,CN=myhome" twofish:configuration services rule (uncommitted)> commit twofish:configuration services smb> list RULE NSS USER DIRECTORY CONTAINER rule-000 false Bill /export/wdp dc=com,dc=fishworks, ou=Engineering,CN=myhome
Autohome rules may be created using wildcard characters. The & character matches the users' username, and the ? character matches the first letter of the users' username. The following uses wildcards to match all users:
twofish:configuration services smb> create twofish:configuration services rule (uncommitted)> set use_nss=false twofish:configuration services rule (uncommitted)> set user=* twofish:configuration services rule (uncommitted)> set directory=/export/?/& twofish:configuration services rule (uncommitted)> set container="dc=com,dc=fishworks, ou=Engineering,CN=myhome" twofish:configuration services rule (uncommitted)> commit twofish:configuration services smb> list RULE NSS USER DIRECTORY CONTAINER rule-000 false Bill /export/wdp dc=com,dc=fishworks, ou=Engineering,CN=myhome
The name service switch may also be used to create autohome rules:
twofish:configuration services smb> create twofish:configuration services rule (uncommitted)> set use_nss=true twofish:configuration services rule (uncommitted)> set container="dc=com,dc=fishworks, ou=Engineering,CN=myhome" twofish:configuration services rule (uncommitted)> commit twofish:configuration services smb> list RULE NSS USER DIRECTORY CONTAINER rule-000 true dc=com,dc=fishworks, ou=Engineering,CN=myhome
twofish:configuration services smb> groups twofish:configuration services smb groups> create twofish:configuration services smb member (uncommitted)> set user=Bill twofish:configuration services smb member (uncommitted)> set group="Backup Operators" twofish:configuration services smb member (uncommitted)> commit twofish:configuration services smb groups> list MEMBER USER GROUP member-000 WINDOMAIN\Bill Backup Operators
This section provides instructions for how to configure and enable the Sun ZFS Storage 7000 appliances for file sharing over SMB from initial configuration using the BUI.
Initial configuration of the appliance may be completed using the BUI or the CLI and should take less than 20 minutes. Initial Setup may also be performed again later using the Maintenance > System contexts of the BUI or CLI. Initial configuration will take you through the following BUI steps, in general.