xref: /titanic_41/usr/src/man/man1m/smbd.1m (revision 6a3e8e8695d5c7d1d18c6800d676990d7f61a2a4)
te
Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
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.
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.
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]
SMBD 1M "Feb 5, 2008"
NAME
smbd - CIFS server daemon
SYNOPSIS

/usr/lib/smbsrv/smbd
DESCRIPTION

The smbd daemon handles CIFS/SMB requests from CIFS clients, such as Windows clients. Only processes with {PRIV_SYS_SMB} and sufficient privileges to write the /var/run directory can run this daemon.

The smbd daemon is automatically invoked by using the sharemgr command over all available transports. By default, smbd starts over the NetBIOS-Over-TCP (NBT) and TCP transports.

When smbd is started over NBT, the following services are started:

The NetBIOS name service is started on UDP port 137.

The NetBIOS datagram service is started on UDP port 138.

The NetBIOS session service is started on TCP port 139.

When the smbd daemon is started over TCP, the CIFS service is started on TCP port 445.

Only one instance of smbd may be running at a time.

EXIT STATUS

The following exit values are returned: 0

Daemon exited cleanly.

95

Daemon exited with a fatal error.

96

Daemon exited with a configuration error.

ATTRIBUTES

See the attributes(5) man page for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Uncommitted
SEE ALSO

ps(1), svcs(1), sharectl(1M), sharemgr(1M), smbadm(1M), smbstat(1M), svcadm(1M), smb(4), smbautohome(4), system(4), attributes(5), smf(5)

NOTES

Use the svcadm command to perform administrative actions on the smbd service, such as enabling, disabling, or restarting the service. Use the svcs command to query the service status.

The smbd service is managed by the service management facility under the service identifier svc:/network/smb/server.

If the smbd service is disabled, it will be enabled by the sharemgr(1M) command, unless its auto_enable property is set to false.