public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: KH <gentoo-user@konstantinhansen.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: samba vs. cifs
Date: Mon, 17 May 2010 08:56:41 +0200	[thread overview]
Message-ID: <4BF0E8A9.9020405@konstantinhansen.de> (raw)
In-Reply-To: <4BE19FE1.6070101@konstantinhansen.de>


On Wed, 05 May 2010 23:20:01 +0200, Matt Harrison wrote about Re:
[gentoo-user] samba vs. cifs:

 >On Wed, May 05, 2010 at 06:42:09PM +0200, KH wrote:
[snip]
 >> specific (don't want to hear "moo"): Will I be able to mount a samba
 >> partition without setting the samba use flag and after unmerging
 >> samba?
 >>
 >> Regards
 >> kh
 >
 >I just enable cifs in the kernel and install the mount-cifs script.
 >That lets me mount remote shares with no trouble at all.

I don't even install the mount-cifs script.  I simply put the share
definition in /etc/fstab on the client, and then use the vanilla mount
command.  E.g.,

//192.168.0.2/backups    /usr/local/remote_backups    cifs
noauto,noexec,noatime,nodiratime,user=root,pass=eetoot          0 0

[The above should be on 1 line.]

Note that my real password for root is not "eetoot"; that is simply a
fake password I set up for Samba shares.

Whenever I need to transfer a backup archive to the server, I simply
issue:
    mount /usr/local/remote_backups
and then copy the data across.
-- 
Regards,

Dave  [RLU #314465]
======================================================================
dwnoon@... (David W Noon)
======================================================================


Hi,

just want to answer to that old mail.

I have it done as follows:

//way/2/otherpc /mnt/mountpoint cifs 
noatime,credentials=/root/.credentials,uid=1000,umask=000,user  0 0

and the file /.credentials can only be read by root. In there is my 
password and username:

username=myusername
password=mypswd

Regards
kh




  parent reply	other threads:[~2010-05-17  6:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-05 16:42 [gentoo-user] samba vs. cifs KH
2010-05-05 17:08 ` Neil Bothwick
2010-05-05 21:17 ` Matt Harrison
2010-05-17  6:56 ` KH [this message]
2010-05-17  6:59   ` [gentoo-user] " KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BF0E8A9.9020405@konstantinhansen.de \
    --to=gentoo-user@konstantinhansen.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox