smbd

Synopsis

Description

The smbd daemon handles CIFS/SMB requests from SMB 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 share(1M) command or
the zfs(1M)set share 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 SMB 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: