From: KH <gentoo-user@konstantinhansen.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: samba vs. cifs
Date: Mon, 17 May 2010 08:59:38 +0200 [thread overview]
Message-ID: <4BF0E95A.3000701@konstantinhansen.de> (raw)
In-Reply-To: <4BF0E8A9.9020405@konstantinhansen.de>
Am 17.05.2010 08:56, schrieb KH:
>
> 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.
Well that didn't look the way I wanted it to look like. Shouldn't be a
sig. So again:
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
prev parent reply other threads:[~2010-05-17 7:00 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 ` [gentoo-user] " KH
2010-05-17 6:59 ` KH [this message]
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=4BF0E95A.3000701@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