1 | '\" t
|
---|
2 | .\" Title: samba
|
---|
3 | .\" Author: [see the "AUTHOR" section]
|
---|
4 | .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
|
---|
5 | .\" Date: 10/25/2016
|
---|
6 | .\" Manual: System Administration tools
|
---|
7 | .\" Source: Samba 4.4
|
---|
8 | .\" Language: English
|
---|
9 | .\"
|
---|
10 | .TH "SAMBA" "8" "10/25/2016" "Samba 4\&.4" "System Administration tools"
|
---|
11 | .\" -----------------------------------------------------------------
|
---|
12 | .\" * Define some portability stuff
|
---|
13 | .\" -----------------------------------------------------------------
|
---|
14 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
15 | .\" http://bugs.debian.org/507673
|
---|
16 | .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
---|
17 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
18 | .ie \n(.g .ds Aq \(aq
|
---|
19 | .el .ds Aq '
|
---|
20 | .\" -----------------------------------------------------------------
|
---|
21 | .\" * set default formatting
|
---|
22 | .\" -----------------------------------------------------------------
|
---|
23 | .\" disable hyphenation
|
---|
24 | .nh
|
---|
25 | .\" disable justification (adjust text to left margin only)
|
---|
26 | .ad l
|
---|
27 | .\" -----------------------------------------------------------------
|
---|
28 | .\" * MAIN CONTENT STARTS HERE *
|
---|
29 | .\" -----------------------------------------------------------------
|
---|
30 | .SH "NAME"
|
---|
31 | samba \- Server to provide AD and SMB/CIFS services to clients
|
---|
32 | .SH "SYNOPSIS"
|
---|
33 | .HP \w'\ 'u
|
---|
34 | samba [\-D] [\-i] [\-M\ <model>] [\-\-maximum\-runtime=<seconds>] [\-b] [\-\-help] [\-\-usage] [\-d\ <debug\ level>] [\-\-debug\-stderr] [\-s\ <configuration\ file>] [\-\-option=<smb_conf_param>=<value>] [\-l\ <log\ directory>] [\-\-leak\-report] [\-\-leak\-report\-full] [\-V]
|
---|
35 | .SH "DESCRIPTION"
|
---|
36 | .PP
|
---|
37 | This program is part of the
|
---|
38 | \fBsamba\fR(7)
|
---|
39 | suite\&.
|
---|
40 | .PP
|
---|
41 | samba
|
---|
42 | is the server daemon that provides Active Directory, filesharing and printing services to clients\&. The server provides filespace and directory services to clients using the SMB (or CIFS) protocol and other related protocols such as DCE/RPC, LDAP and Kerberos\&.
|
---|
43 | .PP
|
---|
44 | Clients supported include MSCLIENT 3\&.0 for DOS, Windows for Workgroups, Windows 95/98/ME, Windows NT, Windows 2000/XP/2003, OS/2, DAVE for Macintosh, and cifsfs for Linux\&.
|
---|
45 | .PP
|
---|
46 | An extensive description of the services that the server can provide is given in the man page for the configuration file controlling the attributes of those services (see
|
---|
47 | \fBsmb.conf\fR(5)\&. This man page will not describe the services, but will concentrate on the administrative aspects of running the server\&.
|
---|
48 | .PP
|
---|
49 | Please note that there are significant security implications to running this server, and the
|
---|
50 | \fBsmb.conf\fR(5)
|
---|
51 | manual page should be regarded as mandatory reading before proceeding with installation\&.
|
---|
52 | .SH "OPTIONS"
|
---|
53 | .PP
|
---|
54 | \-D|\-\-daemon
|
---|
55 | .RS 4
|
---|
56 | If specified, this parameter causes the server to operate as a daemon\&. That is, it detaches itself and runs in the background, fielding requests on the appropriate ports\&. Operating the server as a daemon is the recommended way of running
|
---|
57 | samba
|
---|
58 | for servers that provide more than casual use file and print services\&. This switch is assumed if
|
---|
59 | samba
|
---|
60 | is executed on the command line of a shell\&.
|
---|
61 | .RE
|
---|
62 | .PP
|
---|
63 | \-i|\-\-interactive
|
---|
64 | .RS 4
|
---|
65 | If this parameter is specified it causes the server to run "interactively", not as a daemon, even if the server is executed on the command line of a shell\&. Setting this parameter negates the implicit daemon mode when run from the command line\&.
|
---|
66 | samba
|
---|
67 | also logs to standard output, as if the
|
---|
68 | \-S
|
---|
69 | parameter had been given\&.
|
---|
70 | .RE
|
---|
71 | .PP
|
---|
72 | \-M model
|
---|
73 | .RS 4
|
---|
74 | This parameter can be used to specify the "process model" samba should use\&. This determines how concurrent clients are handled\&. Available process models include
|
---|
75 | \fIsingle\fR
|
---|
76 | (everything in a single process),
|
---|
77 | \fIstandard\fR
|
---|
78 | (similar behaviour to that of Samba 3),
|
---|
79 | \fIthread\fR
|
---|
80 | (single process, different threads\&.
|
---|
81 | .RE
|
---|
82 | .PP
|
---|
83 | \-\-maximum\-runtime=seconds
|
---|
84 | .RS 4
|
---|
85 | Set maximum runtime of the server process till autotermination in seconds\&.
|
---|
86 | .RE
|
---|
87 | .PP
|
---|
88 | \-b|\-\-show\-build
|
---|
89 | .RS 4
|
---|
90 | Print information about how Samba was built\&.
|
---|
91 | .RE
|
---|
92 | .PP
|
---|
93 | \-\-usage
|
---|
94 | .RS 4
|
---|
95 | Display brief usage message\&.
|
---|
96 | .RE
|
---|
97 | .PP
|
---|
98 | \-\-debug\-stderr
|
---|
99 | .RS 4
|
---|
100 | Send debug output to STDERR\&.
|
---|
101 | .RE
|
---|
102 | .PP
|
---|
103 | \-\-leak\-report
|
---|
104 | .RS 4
|
---|
105 | Enable talloc leak reporting on exit\&.
|
---|
106 | .RE
|
---|
107 | .PP
|
---|
108 | \-\-leak\-report\-full
|
---|
109 | .RS 4
|
---|
110 | Enable full talloc leak reporting on exit\&.
|
---|
111 | .RE
|
---|
112 | .SH "FILES"
|
---|
113 | .PP
|
---|
114 | /etc/rc
|
---|
115 | .RS 4
|
---|
116 | or whatever initialization script your system uses\&.
|
---|
117 | .sp
|
---|
118 | If running the server as a daemon at startup, this file will need to contain an appropriate startup sequence for the server\&.
|
---|
119 | .RE
|
---|
120 | .PP
|
---|
121 | /etc/services
|
---|
122 | .RS 4
|
---|
123 | If running the server via the meta\-daemon
|
---|
124 | inetd, this file must contain a mapping of service name (e\&.g\&., netbios\-ssn) to service port (e\&.g\&., 139) and protocol type (e\&.g\&., tcp)\&.
|
---|
125 | .RE
|
---|
126 | .PP
|
---|
127 | /usr/local/samba/lib/smb\&.conf
|
---|
128 | .RS 4
|
---|
129 | This is the default location of the
|
---|
130 | \fBsmb.conf\fR(5)
|
---|
131 | server configuration file\&. Other common places that systems install this file are
|
---|
132 | /usr/samba/lib/smb\&.conf
|
---|
133 | and
|
---|
134 | /etc/samba/smb\&.conf\&.
|
---|
135 | .sp
|
---|
136 | This file describes all the services the server is to make available to clients\&. See
|
---|
137 | \fBsmb.conf\fR(5)
|
---|
138 | for more information\&.
|
---|
139 | .RE
|
---|
140 | .SH "DIAGNOSTICS"
|
---|
141 | .PP
|
---|
142 | Most diagnostics issued by the server are logged in a specified log file\&. The log file name is specified at compile time, but may be overridden on the command line\&.
|
---|
143 | .PP
|
---|
144 | The number and nature of diagnostics available depends on the debug level used by the server\&. If you have problems, set the debug level to 3 and peruse the log files\&.
|
---|
145 | .PP
|
---|
146 | Most messages are reasonably self\-explanatory\&. Unfortunately, at the time this man page was created, there are too many diagnostics available in the source code to warrant describing each and every diagnostic\&. At this stage your best bet is still to grep the source code and inspect the conditions that gave rise to the diagnostics you are seeing\&.
|
---|
147 | .SH "VERSION"
|
---|
148 | .PP
|
---|
149 | This man page is correct for version 4 of the Samba suite\&.
|
---|
150 | .SH "SEE ALSO"
|
---|
151 | .PP
|
---|
152 | \fBhosts_access\fR(5)\fBsmb.conf\fR(5),
|
---|
153 | \fBsmbclient\fR(8),
|
---|
154 | \fBsamba-tool\fR(8),
|
---|
155 | \fBsmbd\fR(8),
|
---|
156 | \fBnmbd\fR(8),
|
---|
157 | \fBwinbindd\fR(1), and the Internet RFC\*(Aqs
|
---|
158 | rfc1001\&.txt,
|
---|
159 | rfc1002\&.txt\&. In addition the CIFS (formerly SMB) specification is available as a link from the Web page
|
---|
160 | http://samba\&.org/cifs/\&.
|
---|
161 | .SH "AUTHOR"
|
---|
162 | .PP
|
---|
163 | The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
|
---|