>Check the manual page for smbmount: -f, -u and -g are the flags you're
>looking for.

Apparently I have a different version than you do. <grin>




SMBMOUNT(8)                                           SMBMOUNT(8)


NAME
       smbmount - mount an SMB filesystem


SYNOPSIS
       smbmount service mountpoint [ -o options ]


DESCRIPTION
       smbmount mounts a SMB filesystem. It is usually invoked as
       mount.smbfs from the mount(8) command when using  the  "-t
       smbfs"  option. The kernel must support the smbfs filesys­
       tem.

       Options to smbmount are specified  as  a  comma  separated
       list of key=value pairs.

       NOTE:  smbmount  calls  smbmnt to do the actual mount. You
       must make sure that smbmnt is in the path so that  it  can
       be found.


       username=<arg>
              specifies  the  username  to connect as. If this is
              not given then the  environment  variable  USER  is
              used. This option can also take the form user%pass­
              word or user/workgroup  or  user/workgroup%password
              to allow the password and workgroup to be specified
              as part of the username.


       password=<arg>
              specifies the SMB password. If not given then  smb­
              mount will prompt for a passeword, unless the guest
              option is given.


       netbiosname=<arg>
              sets the source NetBIOS name. It  defaults  to  the
              local hostname.


       uid=<arg>
              sets  the uid that files will be mounted as. It may
              be specified as either a username or a numeric uid.


       gid=<arg>
              sets  the gid that files will be mounted as. It may
              be specified as either a  groupname  or  a  numeric
              gid.






smbmount 2.0.7             26 Apr 2000                          1





SMBMOUNT(8)                                           SMBMOUNT(8)


       port=<arg>
              sets  the  remote  SMB  port number. The default is
              139.


       fmask=<arg>
              sets the file mask. This deterines the  permissions
              that remote files have in the local filesystem. The
              default is based on the current umask.


       dmask=<arg>
              sets the directory mask. This deterines the permis­
              sions  that  remote  directories  have in the local
              filesystem. The default is  based  on  the  current
              umask.


       debug=<arg>
              sets  the  debug level. This is useful for tracking
              down SMB connection problems.


       ip=<arg>
              sets the destination host or IP address.


       workgroup=<arg>
              sets the workgroup on the destination


       sockopt=<arg>
              sets the  TCP  socket  options.  See  the  smb.conf
              "socket options" option.


       scope=<arg>
              sets the NetBIOS scope


       guest don't prompt for a password


       ro     mount read-only


       rw     mount read-write



AUTHOR
       The  maintainer  of  smbfs,  smbmnt and smbmount is Andrew
       Tridgell [EMAIL PROTECTED]




smbmount 2.0.7             26 Apr 2000                          2



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to