Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual page 315

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

Samba Distribution Programs
smbcontrol
smbcontrol -i <options>
smbcontrol <options> <destination> <messagetype> <parameters>
The smbcontrol program sends control messages to running smbd or nmbd daemons. Executing
smbcontrol -i runs commands interactively until a blank line or a 'q' is entered.
smbpasswd
smbpasswd <options> <username> <password>
The smbpasswd program manages encrypted passwords. This program can be run by a superuser to
change any user's password as well as by an ordinary user to change their own Samba password.
smbspool
smbspool <job> <user> <title> <copies> <options> <filename>
The smbspool program is a CUPS-compatible printing interface to Samba. Although designed for use
with CUPS printers, smbspool can work with non-CUPS printers as well.
smbstatus
smbstatus <options>
The smbstatus program displays the status of current connections to a Samba server.
smbtar
smbtar <options>
The smbtar program performs backup and restores of Windows-based share files and directories to a
local tape archive. Though similar to the tar command, the two are not compatible.
testparm
testparm <options> <filename> <hostname IP_address>
The testparm program checks the syntax of the smb.conf file. If your smb.conf file is in the
default location (/etc/samba/smb.conf) you do not need to specify the location. Specifying the
hostname and IP address to the testparm program verifies that the hosts.allow and host.deny
files are configured correctly. The testparm program also displays a summary of your smb.conf file
and the server's role (stand-alone, domain, etc.) after testing. This is convenient when debugging as it
excludes comments and concisely presents information for experienced administrators to read.
For example:
testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[tmp]"
Processing section "[html]"
Loaded services file OK.
289

Advertisement

Table of Contents
loading

Table of Contents