From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ODuJ9-00089E-NI for garchives@archives.gentoo.org; Mon, 17 May 2010 07:00:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACC44E07F9; Mon, 17 May 2010 06:59:39 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by pigeon.gentoo.org (Postfix) with ESMTP id 49249E07F9 for ; Mon, 17 May 2010 06:59:39 +0000 (UTC) Received: from [192.168.1.30] (dslb-188-099-230-236.pools.arcor-ip.net [188.99.230.236]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MKMb4-1OFYzc1icg-001Jra; Mon, 17 May 2010 08:59:38 +0200 Message-ID: <4BF0E95A.3000701@konstantinhansen.de> Date: Mon, 17 May 2010 08:59:38 +0200 From: KH User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100419 Thunderbird/3.0.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: samba vs. cifs References: <4BE19FE1.6070101@konstantinhansen.de> <4BF0E8A9.9020405@konstantinhansen.de> In-Reply-To: <4BF0E8A9.9020405@konstantinhansen.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/CCHywxn1Zmb8eQ9xpuSqscTx4Xy03r4STShK yauQKDcDn/AYekHJSL8G1DECrkQ871M9TNvCrxZiueIDfUJwg3 ladaQsHbjQTsgQ7Uq+9nQ== X-Archives-Salt: 598346d7-309b-4de5-aa20-a3bd82786657 X-Archives-Hash: 80a11cea3e12a75a2a56a113e87caf8b 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