Plan 9 from Bell Labs’s /usr/web/sources/contrib/josh/sys/man/8/cifsd

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TH CIFSD 8
.SH NAME
cifsd \- CIFS/SMB server
.SH SYNOPSIS
.B ip/cifsd
[
.B -dt
] [
.B -f
.I debuglog
] [
.B -o
.I option ...
] [
.B -w
.I workgroup
]
.SH DESCRIPTION
.I Cifsd
exports file systems to
.SM CIFS or
.SM SMB
clients. It is normally run from a service file such as
.B /bin/service/tcp445
(see
.IR listen (8)).
.PP
Users are authenticated with their
.SM APOP
secret (see
.IR auth (8)).
If authentication succeeds,
.I cifsd
changes its user name and name space to those of the authenticated user.
.PP
By default the file hierarchy (or `share' in
.SM CIFS
terminology)
.B local
is offered, representing the root of the name space
described by
.BR /lib/namespace .
A client request for a specific share, say,
.BR share ,
causes
.I cifsd
to invoke
.I 9fs
(in
.IR srv (4))
to attach the file system
.BR share .
If successful, a file hierarchy rooted at
.B /n/share
is presented to the client.
.PP
Log messages are appended to
.B /sys/log/cifsd
if it exists.
.PP
The options are:
.TF "-d "
.TP
.B -d
Enable or increase the verbosity of debugging output written to the file
.IR debuglog .
Debugging messages are not written to the general log file.
.TP
.B -t
Trusted mode. Do not require authentication from the client,
and do not change user name or name space.
.TP
.BI -f " debuglog
Specify the file for the
.IR debuglog .
If not specified, debug messages are not generated.
.TP
.BI -o " option
Enable
.IR option .
This flag may appear multiple times to enable multiple options.
Valid options are:
.RS
.TP
.B trspaces
Transform whitespace in file names to non-breaking whitespace.
This is useful when exporting file systems other than
.IR fossil (4).
.TP
.B casesensitive
By default, file name resolution is case-insensitive to match Windows semantics.
This option makes file name resolution case-sensitive,
which can improve performance, but may break some applications.
.RE
.TP
.BI -w " workgroup
Set the workgroup (or primary domain) to
.IR workgroup .
The default is
.BR WORKGROUP .
.PD
.SH FILES
.TF /bin/service/tcp445
.TP
.B /bin/service/tcp445
Usual service script
.TP
.B /sys/log/cifsd
Log file
.TP
.B /lib/namespace
Default name space
.PD
.SH SOURCE
.B /sys/src/cmd/ip/cifsd
.SH SEE ALSO
.IR listen (8),
.IR srv (4)
.br
.B http://www.novell.com/support/viewContent.do?externalId=3437586

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.