5 <!-- Email Address' -->
6 <!ENTITY email.dbannon 'D.Bannon@latrobe.edu.au'>
7 <!ENTITY email.jerry 'jerry@samba.org'>
8 <!ENTITY email.patches 'samba-patches@samba.org'>
9 <!ENTITY email.jelmer 'jelmer@samba.org'>
10 <!ENTITY email.jht 'jht@samba.org'>
11 <!ENTITY email.ghenry 'ghenry@suretecsystems.com'>
13 <!-- Author entities -->
14 <!ENTITY person.jelmer '
15 <firstname>Jelmer</firstname><othername>R.</othername><surname>Vernooij</surname><othername>R.</othername>
17 <orgname>The Samba Team</orgname>
18 <address><email>jelmer@samba.org</email></address>
21 <!ENTITY author.jelmer '<author>&person.jelmer;</author>'>
23 <!ENTITY person.jerry '
24 <firstname>Gerald</firstname><surname>Carter</surname><othername>(Jerry)</othername>
26 <orgname>Samba Team</orgname>
27 <address><email>jerry@samba.org</email></address>
30 <!ENTITY author.jerry '<author>&person.jerry;</author>'>
32 <!ENTITY author.jeremy '
34 <firstname>Jeremy</firstname><surname>Allison</surname>
36 <orgname>Samba Team</orgname>
37 <address><email>jra@samba.org</email></address>
42 <firstname>John</firstname><surname>Terpstra</surname><othername>H.</othername>
44 <orgname>Samba Team</orgname>
45 <address><email>jht@samba.org</email></address>
48 <!ENTITY author.jht '<author>&person.jht;</author>'>
51 <firstname>Guenther</firstname><surname>Deschner</surname>
53 <orgname>Samba Team</orgname>
54 <address><email>gd@samba.org</email></address>
57 <!ENTITY author.gd '<author>&person.gd;</author>'>
59 <!ENTITY person.kauer '
60 <firstname>Karl</firstname><surname>Auer</surname>
62 <orgname>Samba Team</orgname>
63 <address><email>kauer@biplane.com.au</email></address>
67 <!ENTITY author.kauer '<author>&person.kauer;</author>'>
69 <!ENTITY person.danshearer '
70 <firstname>Dan</firstname><surname>Shearer</surname>
72 <orgname>Samba Team</orgname>
73 <address><email>dan@samba.org</email></address>
77 <!ENTITY author.danshearer '<author>&person.danshearer;</author>'>
79 <!ENTITY person.tpot '
80 <firstname>Tim</firstname><surname>Potter</surname>
82 <orgname>Samba Team</orgname>
83 <address><email>tpot@samba.org</email></address>
87 <!ENTITY author.tpot '<author>&person.tpot;</author>'>
89 <!ENTITY author.tridge '
91 <firstname>Andrew</firstname><surname>Tridgell</surname>
93 <orgname>Samba Team</orgname>
94 <address><email>tridge@samba.org</email></address>
98 <!ENTITY person.jmcd '
99 <firstname>Jim</firstname><surname>McDonough</surname>
101 <orgname>IBM</orgname>
102 <address><email>jmcd@us.ibm.com</email></address>
105 <!ENTITY author.jmcd '<author>&person.jmcd;</author>'>
108 <firstname>Volker</firstname><surname>Lendecke</surname>
110 <orgname>Samba Team</orgname>
111 <address><email>Volker.Lendecke@SerNet.DE</email></address>
114 <!ENTITY author.vl '<author>&person.vl;</author>'>
116 <!ENTITY author.dbannon '
118 <firstname>David</firstname><surname>Bannon</surname>
120 <orgname>Samba Team</orgname>
121 <address><email>dbannon@samba.org</email></address>
125 <!ENTITY author.mimir '
127 <firstname>Rafal</firstname><surname>Szczesniak</surname>
129 <orgname>Samba Team</orgname>
130 <address><email>mimir@samba.org</email></address>
134 <!ENTITY author.dlechnyr '
136 <firstname>David</firstname><surname>Lechnyr</surname>
138 <orgname>Unofficial HOWTO</orgname>
139 <address><email>david@lechnyr.com</email></address>
143 <!ENTITY author.eroseme '
145 <firstname>Eric</firstname><surname>Roseme</surname>
147 <orgname>HP Oplocks Usage Recommendations Whitepaper</orgname>
148 <address><email>eric.roseme@hp.com</email></address>
152 <!ENTITY author.ghenry '
154 <firstname>Gavin</firstname><surname>Henry</surname>
156 <orgname>Suretec Systems Limited, UK</orgname>
157 <address><email>ghenry@suretecsystems.com</email></address>
161 <!ENTITY stdarg.server.debug '
163 <term>-d|--debuglevel=level</term>
165 <para><replaceable>level</replaceable> is an integer
166 from 0 to 10. The default value if this parameter is
167 not specified is 0.</para>
169 <para>The higher this value, the more detail will be
170 logged to the log files about the activities of the
171 server. At level 0, only critical errors and serious
172 warnings will be logged. Level 1 is a reasonable level for
173 day-to-day running - it generates a small amount of
174 information about operations carried out.</para>
176 <para>Levels above 1 will generate considerable
177 amounts of log data, and should only be used when
178 investigating a problem. Levels above 3 are designed for
179 use only by developers and generate HUGE amounts of log
180 data, most of which is extremely cryptic.</para>
182 <para>Note that specifying this parameter here will
183 override the <smbconfoption name="log level" /> parameter
184 in the &smb.conf; file.</para>
188 <!ENTITY stdarg.client.debug '
190 <term>-d|--debuglevel=level</term>
192 <para><replaceable>level</replaceable> is an integer
193 from 0 to 10. The default value if this parameter is
194 not specified is 1.</para>
196 <para>The higher this value, the more detail will be
197 logged to the log files about the activities of the
198 server. At level 0, only critical errors and serious
199 warnings will be logged. Level 1 is a reasonable level for
200 day-to-day running - it generates a small amount of
201 information about operations carried out.</para>
203 <para>Levels above 1 will generate considerable
204 amounts of log data, and should only be used when
205 investigating a problem. Levels above 3 are designed for
206 use only by developers and generate HUGE amounts of log
207 data, most of which is extremely cryptic.</para>
209 <para>Note that specifying this parameter here will
210 override the <smbconfoption name="log level" /> parameter
211 in the &smb.conf; file.</para>
215 <!ENTITY stdarg.configfile '
217 <term>-s|--configfile=<configuration file></term>
218 <listitem><para>The file specified contains the
219 configuration details required by the server. The
220 information in this file includes server-specific
221 information such as what printcap file to use, as well
222 as descriptions of all the services that the server is
223 to provide. See &smb.conf; for more information.
224 The default configuration file name is determined at
225 compile time.</para></listitem>
228 <!ENTITY stdarg.version '
230 <term>-V|--version</term>
231 <listitem><para>Prints the program version number.
235 <!ENTITY stdarg.log-basename '
237 <term>-l|--log-basename=logdirectory</term>
238 <listitem><para>Base directory name for log/debug files. The extension
239 <constant>".progname"</constant> will be appended (e.g. log.smbclient,
240 log.smbd, etc...). The log file is never removed by the client.
244 <!ENTITY stdarg.option '
246 <term>--option=<name>=<value></term>
247 <listitem><para>Set the
248 <citerefentry><refentrytitle>smb.conf</refentrytitle>
249 <manvolnum>5</manvolnum></citerefentry>
250 option "<name>" to value "<value>" from the command line.
251 This overrides compiled-in defaults and options read from the configuration
256 <!ENTITY popt.common.samba '
259 &stdarg.log-basename;
263 <!ENTITY popt.common.samba.client '
264 &stdarg.client.debug;
268 <!ENTITY popt.common.samba.server '
269 &stdarg.server.debug;
274 <!ENTITY stdarg.resolve.order '
276 <term>-R|--name-resolve <name resolve order></term>
277 <listitem><para>This option is used to determine what naming
278 services and in what order to resolve
279 host names to IP addresses. The option takes a space-separated
280 string of different name resolution options.</para>
282 <para>The options are: "lmhosts", "host", "wins" and "bcast".
283 They cause names to be resolved as follows :</para>
286 <listitem><para><constant>lmhosts</constant>:
287 Lookup an IP address in the Samba lmhosts file. If the
288 line in lmhosts has no name type attached to the
290 (see the <citerefentry><refentrytitle>lmhosts</refentrytitle>
291 <manvolnum>5</manvolnum></citerefentry> for details)
292 then any name type matches for lookup.
295 <listitem><para><constant>host</constant>:
296 Do a standard host name to IP address resolution, using
297 the system <filename>/etc/hosts</filename>, NIS, or DNS
298 lookups. This method of name resolution is operating
299 system dependent, for instance on IRIX or Solaris this
300 may be controlled by the <filename>/etc/nsswitch.conf
301 </filename> file). Note that this method is only used
302 if the NetBIOS name type being queried is the 0x20
303 (server) name type, otherwise it is ignored.
306 <listitem><para><constant>wins</constant>:
307 Query a name with the IP address listed in the
308 <parameter>wins server</parameter> parameter. If no
309 WINS server has been specified this method will be
313 <listitem><para><constant>bcast</constant>:
314 Do a broadcast on each of the known local interfaces
315 listed in the <parameter>interfaces</parameter>
316 parameter. This is the least reliable of the name
317 resolution methods as it depends on the target host
318 being on a locally connected subnet.
322 <para>If this parameter is not set then the name resolve order
323 defined in the &smb.conf; file parameter
324 (<smbconfoption name="name resolve order" />) will be used.
327 <para>The default order is lmhosts, host, wins, bcast. Without
328 this parameter or any entry in the
329 <smbconfoption name="name resolve order" /> parameter of
330 the &smb.conf; file, the name
331 resolution methods will be attempted in this order. </para></listitem>
334 <!ENTITY stdarg.netbios.name '
336 <term>-n|--netbiosname <primary NetBIOS name></term>
337 <listitem><para>This option allows you to override
338 the NetBIOS name that Samba uses for itself. This is identical
339 to setting the <smbconfoption name="netbios name" /> parameter in
342 line setting will take precedence over settings in
343 &smb.conf;.</para></listitem>
346 <!ENTITY stdarg.scope '
348 <term>-i|--scope <scope></term>
349 <listitem><para>This specifies a NetBIOS scope that
350 <command>nmblookup</command> will use to communicate with when
351 generating NetBIOS names. For details on the use of NetBIOS
352 scopes, see rfc1001.txt and rfc1002.txt. NetBIOS scopes are
353 <emphasis>very</emphasis> rarely used, only set this parameter
354 if you are the system administrator in charge of all the
355 NetBIOS systems you communicate with.</para></listitem>
358 <!ENTITY stdarg.workgroup '
360 <term>-W|--workgroup=domain</term>
361 <listitem><para>Set the SMB domain of the username. This
362 overrides the default domain which is the domain defined in
363 smb.conf. If the domain specified is the same as the servers
364 NetBIOS name, it causes the client to log on using the servers local
365 SAM (as opposed to the Domain SAM). </para></listitem>
368 <!ENTITY stdarg.socket.options '
370 <term>-O|--socket-options socket options</term>
371 <listitem><para>TCP socket options to set on the client
372 socket. See the socket options parameter in
373 the &smb.conf; manual page for the list of valid
374 options. </para></listitem>
378 <!ENTITY popt.common.connection '
379 &stdarg.netbios.name;
382 &stdarg.socket.options;
385 <!ENTITY stdarg.nopass '
387 <term>-N|--no-pass</term>
388 <listitem><para>If specified, this parameter suppresses the normal
389 password prompt from the client to the user. This is useful when
390 accessing a service that does not require a password. </para>
392 <para>Unless a password is specified on the command line or
393 this parameter is specified, the client will request a
396 <para>If a password is specified on the command line and this
397 option is also defined the password on the command line will
398 be silently ingnored and no password will be used.</para></listitem>
401 <!ENTITY pct "%">
403 <!ENTITY stdarg.username '
405 <term>-U|--user=username[&pct;password]</term>
406 <listitem><para>Sets the SMB username or username and password. </para>
408 <para>If &pct;password is not specified, the user will be prompted. The
409 client will first check the <envar>USER</envar> environment variable, then the
410 <envar>LOGNAME</envar> variable and if either exists, the
411 string is uppercased. If these environmental variables are not
412 found, the username <constant>GUEST</constant> is used. </para>
414 <para>A third option is to use a credentials file which
415 contains the plaintext of the username and password. This
416 option is mainly provided for scripts where the admin does not
417 wish to pass the credentials on the command line or via environment
418 variables. If this method is used, make certain that the permissions
419 on the file restrict access from unwanted users. See the
420 <parameter>-A</parameter> for more details. </para>
422 <para>Be cautious about including passwords in scripts. Also, on
423 many systems the command line of a running process may be seen
424 via the <command>ps</command> command. To be safe always allow
425 <command>rpcclient</command> to prompt for a password and type
426 it in directly. </para></listitem>
430 <!ENTITY stdarg.authfile '
432 <term>-A|--authentication-file=filename</term>
433 <listitem><para>This option allows
434 you to specify a file from which to read the username and
435 password used in the connection. The format of the file is
438 <para><programlisting>
439 username = <value>
440 password = <value>
441 domain = <value>
442 </programlisting></para>
444 <para>Make certain that the permissions on the file restrict
445 access from unwanted users. </para></listitem>
448 <!ENTITY stdarg.kerberos '
450 <term>-k|--kerberos</term>
452 Try to authenticate with kerberos. Only useful in
453 an Active Directory environment.
458 <!ENTITY stdarg.useccache '
460 <term>-C|--use-ccache</term>
462 Try to use the credentials cached by winbind.
467 <!ENTITY stdarg.signing '
469 <term>-S|--signing on|off|required</term>
470 <listitem><para>Set the client signing state.
475 <!ENTITY stdarg.machinepass '
477 <term>-P|--machine-pass</term>
478 <listitem><para>Use stored machine account password.
483 <!ENTITY stdarg.encrypt '
485 <term>-e|--encrypt</term>
487 This command line parameter requires the remote
488 server support the UNIX extensions or that the SMB3 protocol has been selected.
489 Requests that the connection be encrypted. Negotiates SMB encryption using either
490 SMB3 or POSIX extensions via GSSAPI. Uses the given credentials for
491 the encryption negotiation (either kerberos or NTLMv1/v2 if given
492 domain/username/password triple. Fails the connection if encryption
493 cannot be negotiated.
498 <!ENTITY stdarg.pwnthash '
500 <term>--pw-nt-hash</term>
501 <listitem><para>The supplied password is the NT hash.
506 <!ENTITY popt.common.credentials '
518 <!ENTITY stdarg.help '
520 <term>-?|--help</term>
521 <listitem><para>Print a summary of command line options.
526 <!ENTITY stdarg.usage '
529 <listitem><para>Display brief usage message.
534 <!ENTITY popt.autohelp '
539 <!-- Entities for the various programs -->
540 <!ENTITY OL '<application>OpenLDAP</application>'>
541 <!ENTITY smbd '<application>smbd</application>'>
542 <!ENTITY nmbd '<application>nmbd</application>'>
543 <!ENTITY testparm '<application>testparm</application>'>
544 <!ENTITY smb.conf '<filename>smb.conf</filename>'>
545 <!ENTITY smbclient '<application>smbclient</application>'>
546 <!ENTITY winbindd '<application>winbindd</application>'>
547 <!ENTITY net '<application>net</application>'>
549 <!ENTITY not.implemented "<note><para>Currently NOT implemented.</para></note>">
550 <!ENTITY rootprompt "<prompt>root# </prompt>">
551 <!ENTITY prompt "<prompt>$ </prompt>">
552 <!ENTITY dosprompt "<prompt>C:\> </prompt>">
554 <!ENTITY example.workgroup "MIDEARTH">
555 <!ENTITY example.server.samba "GANDALF">
556 <!ENTITY example.server.windows "SARUMAN">
557 <!ENTITY example.workstation.windows "FRODO">
558 <!ENTITY example.workstation.samba "BILBO">
559 <!ENTITY example.pdc.samba "SAURON">
560 <!ENTITY example.server.wins "noldor">
562 <!ENTITY smbmdash "<?latex --- ?>">