>Number: 160775 >Category: misc >Synopsis: [patch] provide a better example for passwordless guest >mounting >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 16 21:40:06 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 9.0-BETA2 >Organization: n/a >Environment: FreeBSD burnout.ixsystems.com 9.0-BETA1 FreeBSD 9.0-BETA1 #0 r224989: Sun Aug 21 14:12:11 PDT 2011 [email protected]:/usr/obj/usr/src/sys/BURNOUT amd64 >Description: The example of how to add a mountpoint in the mount_smbfs(8) manpage with a guest account using fstab(5) blocks on boot with a password prompt.
I updated the example to include the -N flag (don't prompt for a password), so mounting won't block remote login at boot. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: contrib/smbfs/mount_smbfs/mount_smbfs.8 =================================================================== --- contrib/smbfs/mount_smbfs/mount_smbfs.8 (revision 225558) +++ contrib/smbfs/mount_smbfs/mount_smbfs.8 (working copy) @@ -157,11 +157,11 @@ mount_smbfs -I 192.168.20.3 -E koi8-r:cp866 //guest@samba/tmp /smb/tmp .Ed .Pp -It is possible to use +It is also possible to use .Xr fstab 5 -for smbfs mounts: +for smbfs mounts (the example below doesn't prompt for a password): .Pp -.Dl "//guest@samba/public /smb/public smbfs rw,noauto 0 0" +.Dl "//guest@samba/public /smb/public smbfs rw,noauto,-N 0 0" .Sh AUTHORS .An Boris Popov Aq [email protected] , .Aq [email protected] >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
