Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SMB client without Samba server?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
gAzo0o
n00b
n00b


Joined: 22 Feb 2006
Posts: 22

PostPosted: Sun Jul 02, 2006 2:06 pm    Post subject: SMB client without Samba server? Reply with quote

Is there a way to open windows shares, without the need of samba server installed? May be just the client libraries?
Back to top
View user's profile Send private message
phorn
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2006
Posts: 109

PostPosted: Mon Jul 03, 2006 12:32 am    Post subject: Reply with quote

You could try the built-in smbfs (Windows 9x) or cifs (Windows NT/2000/xp/2003 server) filesystems in the kernel (you will recompile the kernel).

But I believe those will still need the client libraries and helper programs like smbmount and cifsmount.

I think you're stuck installing the whole package (Don't worry. It won't start a samba server on your linux machine without running rc-update and setting up a server configuration)
Back to top
View user's profile Send private message
gAzo0o
n00b
n00b


Joined: 22 Feb 2006
Posts: 22

PostPosted: Mon Jul 03, 2006 5:57 am    Post subject: Reply with quote

Well, I have smbfs support, but it needs smbmount, didn't tried cifs yet, but I think it'll be the same. Installing the package and running the server aren't a problem, the problem is - it's too big for something that I don't use (the server side). I still need the client though.
Back to top
View user's profile Send private message
chris.c.hogan
Apprentice
Apprentice


Joined: 02 Oct 2005
Posts: 189

PostPosted: Mon Jul 03, 2006 7:10 am    Post subject: Reply with quote

smbmount, nor samba are needed. Read the kernel documentaion: Documentation/filesystems/cifs.txt

Quote:

This filesystem has an optional mount utility (mount.cifs) that can be obtained from the project page and installed in the path in the same directory with the other mount helpers (such as mount.smbfs). Mounting using the cifs filesystem without installing the mount helper requires specifying the server's ip address.

For Linux 2.5:
mount //ip_address_of_server/sharename /mnt_target -o user=username, pass=password


I just tried it on a workstation without samba, or a samba use flag, and with kernel 2.6.16-gentoo-r9. Works like a charm.
Back to top
View user's profile Send private message
8-bitDesigner
n00b
n00b


Joined: 14 Jan 2006
Posts: 25
Location: Orange, CA

PostPosted: Mon Jul 03, 2006 10:50 am    Post subject: Reply with quote

Aye, you should be good to go. Try:

mount -t smbfs -o username=windows_user_name //windowsPC/share /mnt/win_share
Back to top
View user's profile Send private message
gAzo0o
n00b
n00b


Joined: 22 Feb 2006
Posts: 22

PostPosted: Mon Jul 03, 2006 10:27 pm    Post subject: Reply with quote

chris.c.hogan wrote:
smbmount, nor samba are needed. Read the kernel documentaion: Documentation/filesystems/cifs.txt

Quote:

This filesystem has an optional mount utility (mount.cifs) that can be obtained from the project page and installed in the path in the same directory with the other mount helpers (such as mount.smbfs). Mounting using the cifs filesystem without installing the mount helper requires specifying the server's ip address.

For Linux 2.5:
mount //ip_address_of_server/sharename /mnt_target -o user=username, pass=password


I just tried it on a workstation without samba, or a samba use flag, and with kernel 2.6.16-gentoo-r9. Works like a charm.


Will try that! thx :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum