[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Questions re samba/cifs stuff in general



Hi,

From: Rick Stevens <rstevens 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]