Move everything from /var/adm to /var/log
[unleashed.git] / share / man / man8 / smbd.8
blob8fde10d912d86fc7b25e6faa826361ae5714b2b6
1 '\" te
2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH SMBD 8 "Feb 5, 2008"
7 .SH NAME
8 smbd \- CIFS server daemon
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/lib/smbsrv/smbd\fR
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 The \fBsmbd\fR daemon handles \fBCIFS\fR/\fBSMB\fR requests from \fBCIFS\fR
19 clients, such as Windows clients. Only processes with \fB{PRIV_SYS_SMB}\fR and
20 sufficient privileges to write the \fB/var/run\fR directory can run this
21 daemon.
22 .sp
23 .LP
24 The \fBsmbd\fR daemon is automatically invoked by using the \fBsharemgr\fR
25 command over all available transports. By default, \fBsmbd\fR starts over the
26 NetBIOS-Over-TCP (\fBNBT\fR) and \fBTCP\fR transports.
27 .sp
28 .LP
29 When \fBsmbd\fR is started over \fBNBT\fR, the following services are started:
30 .RS +4
31 .TP
32 .ie t \(bu
33 .el o
34 The NetBIOS name service is started on \fBUDP\fR port 137.
35 .RE
36 .RS +4
37 .TP
38 .ie t \(bu
39 .el o
40 The NetBIOS datagram service is started on \fBUDP\fR port 138.
41 .RE
42 .RS +4
43 .TP
44 .ie t \(bu
45 .el o
46 The NetBIOS session service is started on \fBTCP\fR port 139.
47 .RE
48 .sp
49 .LP
50 When the \fBsmbd\fR daemon is started over TCP, the CIFS service is started on
51 TCP port 445.
52 .sp
53 .LP
54 Only one instance of \fBsmbd\fR may be running at a time.
55 .SH EXIT STATUS
56 .sp
57 .LP
58 The following exit values are returned:
59 .sp
60 .ne 2
61 .na
62 \fB0\fR
63 .ad
64 .RS 13n
65 Daemon exited cleanly.
66 .RE
68 .sp
69 .ne 2
70 .na
71 \fB95\fR
72 .ad
73 .RS 13n
74 Daemon exited with a fatal error.
75 .RE
77 .sp
78 .ne 2
79 .na
80 \fB96\fR
81 .ad
82 .RS 13n
83 Daemon exited with a configuration error.
84 .RE
86 .SH ATTRIBUTES
87 .sp
88 .LP
89 See the \fBattributes\fR(5) man page for descriptions of the following
90 attributes:
91 .sp
93 .sp
94 .TS
95 box;
96 c | c
97 l | l .
98 ATTRIBUTE TYPE  ATTRIBUTE VALUE
100 Interface Stability     Uncommitted
103 .SH SEE ALSO
106 \fBps\fR(1), \fBsvcs\fR(1), \fBsharectl\fR(8), \fBsharemgr\fR(8),
107 \fBsmbadm\fR(8), \fBsmbstat\fR(8), \fBsvcadm\fR(8), \fBsmb\fR(4),
108 \fBsmbautohome\fR(4), \fBsystem\fR(4), \fBattributes\fR(5), \fBsmf\fR(5)
109 .SH NOTES
112 Use the \fBsvcadm\fR command to perform administrative actions on the
113 \fBsmbd\fR service, such as enabling, disabling, or restarting the service. Use
114 the \fBsvcs\fR command to query the service status.
117 The \fBsmbd\fR service is managed by the service management facility under the
118 service identifier \fBsvc:/network/smb/server\fR.
121 If the \fBsmbd\fR service is disabled, it will be enabled by the
122 \fBsharemgr\fR(8) command,  unless its \fBauto_enable\fR  property is set to
123 false.