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 1ODuGH-0007oJ-Ba for garchives@archives.gentoo.org; Mon, 17 May 2010 06:57:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4068CE0770; Mon, 17 May 2010 06:56:43 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by pigeon.gentoo.org (Postfix) with ESMTP id E4095E0770 for ; Mon, 17 May 2010 06:56:42 +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=mreu0) with ESMTP (Nemesis) id 0M53tq-1NMMtg0LZG-00zGqW; Mon, 17 May 2010 08:56:42 +0200 Message-ID: <4BF0E8A9.9020405@konstantinhansen.de> Date: Mon, 17 May 2010 08:56:41 +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: [gentoo-user] Re: samba vs. cifs References: <4BE19FE1.6070101@konstantinhansen.de> In-Reply-To: <4BE19FE1.6070101@konstantinhansen.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18YzCqo9S3wbm/wvGwTAHJgeOGhDOmo+KgznqB YxU1viTk0HRbRijNPxx6xogUSmSh2CuNjvHd5jtA874/xE31NO k0B/J43KuVT36TkTY1lBw== X-Archives-Salt: a99cf69e-6d24-481e-a30f-a8c832082daf X-Archives-Hash: 9860706557d8ebea23345529db230089 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