View previous topic :: View next topic |
Author |
Message |
gAzo0o n00b
Joined: 22 Feb 2006 Posts: 22
|
Posted: Sun Jul 02, 2006 2:06 pm Post subject: SMB client without Samba server? |
|
|
Is there a way to open windows shares, without the need of samba server installed? May be just the client libraries? |
|
Back to top |
|
|
phorn Tux's lil' helper
Joined: 01 Jul 2006 Posts: 109
|
Posted: Mon Jul 03, 2006 12:32 am Post subject: |
|
|
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 |
|
|
gAzo0o n00b
Joined: 22 Feb 2006 Posts: 22
|
Posted: Mon Jul 03, 2006 5:57 am Post subject: |
|
|
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 |
|
|
chris.c.hogan Apprentice
Joined: 02 Oct 2005 Posts: 189
|
Posted: Mon Jul 03, 2006 7:10 am Post subject: |
|
|
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 |
|
|
8-bitDesigner n00b
Joined: 14 Jan 2006 Posts: 25 Location: Orange, CA
|
Posted: Mon Jul 03, 2006 10:50 am Post subject: |
|
|
Aye, you should be good to go. Try:
mount -t smbfs -o username=windows_user_name //windowsPC/share /mnt/win_share |
|
Back to top |
|
|
gAzo0o n00b
Joined: 22 Feb 2006 Posts: 22
|
Posted: Mon Jul 03, 2006 10:27 pm Post subject: |
|
|
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 |
|
|
|