NAME
cifsd – CIFS/SMB network daemon

SYNOPSIS

ip/cifsd [ –t ] [ –d ] [ –f debuglog ] [ –w name ] [ –o option ] ... [ conndir ]

DESCRIPTION
Cifsd exports filesystems to CIFS or SMB clients like Microsoft ?? Windows.

It is normally started by the network listen process via the /rc/bin/service/tcp445 service script (see listen(8)), which passes conndir and filedescriptors 0 and 1 to the incoming connection.

Users are authenticated by ther Inferno/pop secret held by the auth server. When successful, cifsd changes its user id and namespace to the authenticated user. Informative log messages are appended to /sys/log/cifsd if it exists.

By default the share local is offered, which represents the root of the namespace described by /lib/namespace. If a different name is explicitly requested by the client then /bin/9fs (see srv(4)) is invoked to attach that filesystem, which is then exported instead.

The flags are:
t     Run the server in trusted mode, so it will not require authentication from the client and keep running in the callers namespace.
d     Enable or increases debug verbosity for the debuglog file. Debug messages are never written to the system logfile.
f     Specify the filename for the debuglog file. If not specified no debug messages are generated.
w     Set the workgroup (or primary domain) to name. The default is WORKGROUP
o     Enables the following option string. This flag can appear multiple times when more than one option has to be enabled. Valid options are:
trspaces
transforms whitespace in filenames to non breaking whitespace. This is useful when exporting filesystems other than fossil.
casesensitive
By default, filename lookups are done case insensitive to match windows filesystem semantics. This option disables case insensitive lookups which can result in a performance improvement, but might break some applications.

FILES
/rc/bin/service/tcp445
/sys/log/cifsd
/lib/namespace

SOURCE
/sys/src/cmd/ip/cifsd

SEE ALSO
listen(8), srv(4)

HISTORY
Cifsd first appeared in 9front (May, 2011).