* [gentoo-user] samba vs. cifs @ 2010-05-05 16:42 KH 2010-05-05 17:08 ` Neil Bothwick ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: KH @ 2010-05-05 16:42 UTC (permalink / raw To: gentoo-user 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] samba vs. cifs 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 2 siblings, 0 replies; 5+ messages in thread From: Neil Bothwick @ 2010-05-05 17:08 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 659 bytes --] 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 @. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] samba vs. cifs 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 2 siblings, 0 replies; 5+ messages in thread From: Matt Harrison @ 2010-05-05 21:17 UTC (permalink / raw To: KH; +Cc: gentoo-user [-- Attachment #1: Type: text/plain, Size: 632 bytes --] 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 [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: samba vs. cifs 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 2010-05-17 6:59 ` KH 2 siblings, 1 reply; 5+ messages in thread From: KH @ 2010-05-17 6:56 UTC (permalink / raw To: gentoo-user 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: samba vs. cifs 2010-05-17 6:56 ` [gentoo-user] " KH @ 2010-05-17 6:59 ` KH 0 siblings, 0 replies; 5+ messages in thread From: KH @ 2010-05-17 6:59 UTC (permalink / raw To: gentoo-user 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-05-17 7:00 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox