svn commit: r187583 - head/contrib/smbfs/mount_smbfs
Tom Rhodes
trhodes at FreeBSD.org
Thu Jan 22 00:29:40 PST 2009
Author: trhodes
Date: Thu Jan 22 08:29:39 2009
New Revision: 187583
URL: http://svn.freebsd.org/changeset/base/187583
Log:
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 at googlemail.com> (original version)
Modified:
head/contrib/smbfs/mount_smbfs/mount_smbfs.8
head/contrib/smbfs/mount_smbfs/mount_smbfs.c
Modified: head/contrib/smbfs/mount_smbfs/mount_smbfs.8
==============================================================================
--- head/contrib/smbfs/mount_smbfs/mount_smbfs.8 Thu Jan 22 08:14:28 2009 (r187582)
+++ head/contrib/smbfs/mount_smbfs/mount_smbfs.8 Thu Jan 22 08:29:39 2009 (r187583)
@@ -1,6 +1,6 @@
.\" $Id: mount_smbfs.8,v 1.10 2002/04/16 02:47:41 bp Exp $
.\" $FreeBSD$
-.Dd March 10, 2000
+.Dd January 21, 2008
.Dt MOUNT_SMBFS 8
.Os
.Sh NAME
@@ -16,6 +16,7 @@
.Op Fl O Ar cowner : Ns Ar cgroup Ns / Ns Ar sowner : Ns Ar sgroup
.Op Fl R Ar retrycount
.Op Fl T Ar timeout
+.Op Fl U Ar username
.Op Fl W Ar workgroup
.Op Fl c Ar case
.Op Fl d Ar mode
@@ -77,6 +78,8 @@ Default is 4.
.It Fl T Ar timeout
Timeout in seconds for each request.
Default is 15.
+.It Fl U Ar username
+Username to authenticate with.
.It Fl W Ar workgroup
This option specifies the workgroup to be used in the authentication request.
.It Fl c Ar case
Modified: head/contrib/smbfs/mount_smbfs/mount_smbfs.c
==============================================================================
--- head/contrib/smbfs/mount_smbfs/mount_smbfs.c Thu Jan 22 08:14:28 2009 (r187582)
+++ head/contrib/smbfs/mount_smbfs/mount_smbfs.c Thu Jan 22 08:29:39 2009 (r187583)
@@ -295,7 +295,7 @@ usage(void)
"usage: mount_smbfs [-E cs1:cs2] [-I host] [-L locale] [-M crights:srights]",
" [-N] [-O cowner:cgroup/sowner:sgroup] [-R retrycount]",
" [-T timeout] [-W workgroup] [-c case] [-d mode] [-f mode]",
- " [-g gid] [-n opt] [-u uid] //user at server/share node");
+ " [-g gid] [-n opt] [-u uid] [-U username] //user at server/share node");
exit (1);
}
More information about the svn-src-head
mailing list