Managing the SMB/CIFS Service

Mac OS X Server offers integration of Samba 3, a popular open-source project that delivers high-performance SMB/CIFS file and print services and Microsoft Windows NT domain services for Microsoft Windows clients. Support for native service discovery protocols means that Mac OS X Server computers appear in the My Network Places window (Windows XP and 2000) or the Network Neighborhood window (Windows 95, 98, or ME) just like a Windows server. This enables Windows clients to browse folders and share files without having to install additional software.

Starting and Stopping SMB/CIFS Service

To start SMB/CIFS service:

$ sudo serveradmin start smb

To stop SMB/CIFS service:

$ sudo serveradmin stop smb

Checking SMB/CIFS Service Status

To see if SMB/CIFS service is running:

$ sudo serveradmin status smb

To see complete SMB/CIFS status:

$ sudo serveradmin fullstatus smb

Viewing SMB/CIFS Service Settings

To list all SMB/CIFS service settings:

$ sudo serveradmin settings smb

To list a particular setting:

$ sudo serveradmin settings smb:setting

Parameter

Description

setting

An SMB/CIFS service setting. To see a list of available settings, enter

 

$ sudo serveradmin settings smb

 

or see “List of SMB/CIFS Service Settings” on page 152.

 

 

To list a group of settings:

You can list a group of settings that have part of their names in common by typing only as much of the name as you want, stopping at a colon (:), and typing an asterisk (*) as a wildcard for the remaining parts of the name. For example:

$ sudo serveradmin settings smb:adminCommands:*

Chapter 9 Working with File Services

151

Page 151
Image 151
Apple Mac OS X Server manual Managing the SMB/CIFS Service, Starting and Stopping SMB/CIFS Service