Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2007 13:31:50 GMT
From:      Tom Evans <tevans.uk@googlemail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/117013: mount_smbfs(8) doesn't document -U (username) argument
Message-ID:  <200710081331.l98DVoUQ027934@www.freebsd.org>
Resent-Message-ID: <200710081340.l98De1Kl095105@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         117013
>Category:       docs
>Synopsis:       mount_smbfs(8) doesn't document -U (username) argument
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 08 13:40:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Tom Evans
>Release:        7-CURRENT
>Organization:
Mintel
>Environment:
FreeBSD zoot.mintel.co.uk 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Oct  3 11:47:24 BST 2007     root@zoot.mintel.co.uk:/usr/obj/usr/src/sys/ZOOT  i386
>Description:
Whilst looking to add a username option to mount_smbfs(8), I noticed that one actually already existed, but was not documented in mount_smbfs(8). This patch just adds documentation for the switch.
>How-To-Repeat:
'man 8 mount_smbfs'
>Fix:
Apply attached patch

Patch attached with submission follows:

--- /usr/src/contrib/smbfs/mount_smbfs/mount_smbfs.8	2007-06-29 11:54:58.000000000 +0100
+++ mount_smbfs.8	2007-10-04 13:06:15.000000000 +0100
@@ -13,6 +13,7 @@
 .Op Fl L Ar locale
 .Op Fl M Ar crights : Ns Ar srights
 .Op Fl N
+.Op Fl U Ar username
 .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
@@ -68,6 +69,8 @@
 If no password is found,
 .Nm
 prompts for it.
+.It Fl U Ar username
+Use specified username to authenticate with.
 .It Fl O Ar cowner : Ns Ar cgroup Ns / Ns Ar sowner : Ns Ar sgroup
 Assign owner/group attributes to the newly created connection.
 .It Fl R Ar retrycount


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710081331.l98DVoUQ027934>