Re: [gentoo-user] samba vs. cifs

2010-05-05 Thread David W Noon
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_backupscifs
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]
==
dwn...@ntlworld.com (David W Noon)
==


signature.asc
Description: PGP signature


Re: [gentoo-user] samba vs. cifs

2010-05-05 Thread Matt Harrison
On Wed, May 05, 2010 at 06:42:09PM +0200, KH wrote:
> Hi List,
> 
> I just ran in a problem:
> 
> net-fs/mount-cifs ("net-fs/mount-cifs" is blocking net-fs/samba-3.4.6)
> 
> Somba is pulled in by the samba use-flag. The PC only is "client" to a 
> server running samba. Do I need samba for this anymore? More 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.

HTH

Matt


pgpqcohV21EdH.pgp
Description: PGP signature


Re: [gentoo-user] samba vs. cifs

2010-05-05 Thread Neil Bothwick
On Wed, 05 May 2010 18:42:09 +0200, KH wrote:

> net-fs/mount-cifs ("net-fs/mount-cifs" is blocking net-fs/samba-3.4.6)

mount.cifs is now provided by Samba.

> Somba is pulled in by the samba use-flag. The PC only is "client" to a 
> server running samba. Do I need samba for this anymore? More 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?

Samba is the server. The client tools used to be a separate package but
it now looks like you should emerge samba with USE="-server smbclient".


-- 
Neil Bothwick

Home is where you hang your @.


signature.asc
Description: PGP signature


[gentoo-user] samba vs. cifs

2010-05-05 Thread KH

Hi List,

I just ran in a problem:

net-fs/mount-cifs ("net-fs/mount-cifs" is blocking net-fs/samba-3.4.6)

Somba is pulled in by the samba use-flag. The PC only is "client" to a 
server running samba. Do I need samba for this anymore? More 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