Questions re samba/cifs stuff in general

Mitsuho Iizuka m-iizuka at cp.jp.nec.com
Thu Jan 31 02:34:59 UTC 2008


Hi,

From: Rick Stevens <rstevens at internap.com>
Subject: Re: Questions re samba/cifs stuff in general
Date: Wed, 30 Jan 2008 18:11:42 -0800

> smbmount was killed off in favor of mount.cifs.  However, it's easier to
> use a standard mount command, but specify "-t cifs":
> 
> 	mount -t cifs //server/share /mountpoint \
> 	-o user=username,domain=workgroup,password=password
> 
> or you could put all the options in one option:
> 
> 	-o user=workgroup/username%password
> 
> Even better, use a credentials file with the username and password in
> it so it's not visible in a command history:
> 
> 	-o domain=workgroupname,credentials=/path/to/cred/file

I would like to mount it automatically.
So, is it possible to put those lines into /etc/fstab as follows ?

//server/share /mountpoint cifs user=workgroup/username%password 0 0

Regards,
// Mitsuho Iizuka




More information about the fedora-list mailing list