smbmount a SMB share on Linux.

Trevor Fraser trevor at redlinx.co.za
Tue Aug 5 12:36:16 GMT 2003


Hello All.

I've managed to get it right, but if I stick everything into /etc/fstab,
when the machine boots, it can't find the credentials file which is in
/root.  Where should I put this file to get the SMB shares to load on
boot up?

Ciao,
Trevor.


On Tue, 2003-08-05 at 13:37, Trevor Fraser wrote:
> Hello All.
> 
> I've been having problems mounting the SMB share on a Linux box with
> read/write permissions.
> 
> The senario is I've set up a Samba share called "Agencies" on
> /proj/Agencies to force group to "agencies".  I've set all the masks and
> modes (except force unknown acl user) to 0770.  The user I want to
> connect as is in the agencies group.  The guest is set to no and the
> read only is set to no.  When I mount the drive, I can't write to that
> directory.  The command I've tried amoung others that I think should
> definately work is(one line):
> 
> # smbmount //merlin/Agencies /mnt/Agencies/ -o 
> username=zuko/agencies,password=secret,uid=root,guid=agencies,fmask=770,
> dmask=770,rw,
> 
> The directory on the file server belong to root:agencies with a 770 mask
> recursively.  The user "zuko" is part of the group agencies on both the
> file server and the local machine.  
> 
> Is there something I should know about to be able to do this?  Any help
> will be greatly appreciated.
> 
> Regards,
> Trevor.
> 
>  
> 
-- 
Red LinX - Converting Businesses to and supporting
	    the Linux platform.

     Tel: +27 (0) 21 555 3866
     Fax: +27 (0) 21 552 9299
   Email: trevor at redlinx.co.za
Web Site: http://www.redlinx.co.za




More information about the samba-technical mailing list