Document the "-U" option. While it is not part of the
getopt(), it is accepted through smb_ctx_init() in lib/smb/ctx.c. PR: 117013 Submitted by: Tom Evans <tevans.uk@googlemail.com> (original version)
This commit is contained in:
parent
21ca178ece
commit
377e63ad8f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187583
@ -1,6 +1,6 @@
|
|||||||
.\" $Id: mount_smbfs.8,v 1.10 2002/04/16 02:47:41 bp Exp $
|
.\" $Id: mount_smbfs.8,v 1.10 2002/04/16 02:47:41 bp Exp $
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.Dd March 10, 2000
|
.Dd January 21, 2008
|
||||||
.Dt MOUNT_SMBFS 8
|
.Dt MOUNT_SMBFS 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -16,6 +16,7 @@
|
|||||||
.Op Fl O Ar cowner : Ns Ar cgroup Ns / Ns Ar sowner : Ns Ar sgroup
|
.Op Fl O Ar cowner : Ns Ar cgroup Ns / Ns Ar sowner : Ns Ar sgroup
|
||||||
.Op Fl R Ar retrycount
|
.Op Fl R Ar retrycount
|
||||||
.Op Fl T Ar timeout
|
.Op Fl T Ar timeout
|
||||||
|
.Op Fl U Ar username
|
||||||
.Op Fl W Ar workgroup
|
.Op Fl W Ar workgroup
|
||||||
.Op Fl c Ar case
|
.Op Fl c Ar case
|
||||||
.Op Fl d Ar mode
|
.Op Fl d Ar mode
|
||||||
@ -77,6 +78,8 @@ Default is 4.
|
|||||||
.It Fl T Ar timeout
|
.It Fl T Ar timeout
|
||||||
Timeout in seconds for each request.
|
Timeout in seconds for each request.
|
||||||
Default is 15.
|
Default is 15.
|
||||||
|
.It Fl U Ar username
|
||||||
|
Username to authenticate with.
|
||||||
.It Fl W Ar workgroup
|
.It Fl W Ar workgroup
|
||||||
This option specifies the workgroup to be used in the authentication request.
|
This option specifies the workgroup to be used in the authentication request.
|
||||||
.It Fl c Ar case
|
.It Fl c Ar case
|
||||||
|
@ -295,7 +295,7 @@ usage(void)
|
|||||||
"usage: mount_smbfs [-E cs1:cs2] [-I host] [-L locale] [-M crights:srights]",
|
"usage: mount_smbfs [-E cs1:cs2] [-I host] [-L locale] [-M crights:srights]",
|
||||||
" [-N] [-O cowner:cgroup/sowner:sgroup] [-R retrycount]",
|
" [-N] [-O cowner:cgroup/sowner:sgroup] [-R retrycount]",
|
||||||
" [-T timeout] [-W workgroup] [-c case] [-d mode] [-f mode]",
|
" [-T timeout] [-W workgroup] [-c case] [-d mode] [-f mode]",
|
||||||
" [-g gid] [-n opt] [-u uid] //user@server/share node");
|
" [-g gid] [-n opt] [-u uid] [-U username] //user@server/share node");
|
||||||
|
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user