Samba Distribution Programs
289
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.
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 22: ...xxii ...
Страница 28: ......
Страница 36: ...10 ...
Страница 40: ...14 ...
Страница 96: ...70 ...
Страница 116: ...90 ...
Страница 144: ...118 ...
Страница 146: ......
Страница 158: ...132 ...
Страница 165: ...Installing and Removing Packages 139 Figure 11 7 Installing and removing packages simultaneously ...
Страница 166: ...140 ...
Страница 172: ...146 ...
Страница 178: ......
Страница 228: ...202 ...
Страница 264: ...238 ...
Страница 318: ...292 ...
Страница 330: ...304 ...
Страница 388: ...362 ...
Страница 428: ...402 ...
Страница 452: ......
Страница 458: ...432 ...
Страница 476: ...450 ...
Страница 478: ...452 ...
Страница 494: ...468 ...
Страница 498: ...472 ...
Страница 530: ...504 ...
Страница 536: ...510 ...
Страница 544: ...Chapter 36 Log Files 518 Figure 36 7 Log file contents after five seconds ...
Страница 546: ......
Страница 550: ...524 ...
Страница 576: ......
Страница 584: ...558 ...
Страница 608: ......
Страница 776: ...750 ...
Страница 796: ...770 ...
Страница 800: ...774 ...
Страница 804: ......
Страница 806: ...780 ...
Страница 808: ...782 ...
Страница 816: ...790 ...
Страница 820: ...794 ...
Страница 822: ...796 ...
Страница 830: ...804 ...
Страница 836: ...810 ...
Страница 844: ...818 ...
Страница 848: ...822 ...