Re: Questions re samba/cifs stuff in general



Hi,

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

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • RE: RH9/samba questions
    ... the credentials file worked, ... the nice Balder icon stopped appearing on my desktop. ... ran 'mount /mnt/balder', the mount program appeared to just hang (e.g. ... putting my username and password in the /etc/fstab file, ...
    (RedHat)
  • Re: Correct way to mount Win2k3 shares with Samba?
    ... permissions on Windowsside as well use proper permissions for the ... and umask when using "mount -t smbfs" or smbmnt. ... but make use of a credentials file in the user's home. ... Fedora GNU/Linux Core 1 on Athlon CPU kernel 2.4.22-1.2188.nptl ...
    (Fedora)
  • CIFS_LINUX_DOM domainname when trying to mount
    ... I am on FC5 and used to be able to mount -t cifs to a Windoz share ... I use a credentials file /etc/samba/auth.smb ... I rebooted tonight and tried to mount some Windoz ...
    (linux.redhat)
  • Mounting Samba partition in SuSE 9.2 with credentials file
    ... from SuSE 9.1 to SuSE 9.2. ... directory simply typing "mount /mnt/barton" ... credentials file is present in the options. ... If you desire to answer directly to me please post mail ...
    (alt.os.linux.suse)
  • Re: How do I specify which user has mount access?
    ... I specify the credentials file in the actual mount command. ... if someone is that determined to mount shares ... said, I use KDE, but this should work for KDE or Gnome, as both are ...
    (comp.os.linux.setup)