-
Dyy - Samba Help?
Finally got a good installation of Gentoo, and did an emerge of Samba. I connected as "bob" once, then must have done something to my config file. The Samba share shows up in my network list on a Windows box, but when I select it and enter a user name, it insists on adding the machine name. bob -> \\dell-dimension\bob which I can't connect with.
I see samaba logs (empty) that look like samba.dell-dimension over in the appropriate place in /var, so I know it's trying to connect - but maybe doesn't know what to do with the machine name ?
DOH - Had to disconnect the prior connection.
Now for the $64 question, can I see/browse WINDOWS shares from Linux ???
-
LOL
I don't know if bob is a samba default but I use bob:bob for my local connections :rotfl:
Humans are so predictable :)
-
Can't imagine what possessed me to use Bob as a user name :D
===bob briggs
-
I'm not a Bob..just easy to type and remember :)~~
-
Of course you're not a Bob. You're an Oriental prehistoric critter! :p
...and one of the very best of that breed, I should add.
-
Listing network shares on a windows machine
Code:
smbclient -L marvin
added interface ip=10.0.0.6 bcast=10.0.0.255 nmask=255.255.255.0
Password:
Domain=[HALNET] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
E$ Disk Default share
IPC$ IPC Remote IPC
D$ Disk Default share
global Disk
data-b Disk
data-a Disk
F$ Disk Default share
ADMIN$ Disk Remote Admin
C$ Disk Default share
Server Comment
--------- -------
MARVIN
SPOCK
Workgroup Master
--------- -------
HALNET MARVIN
To mount samba shares:
Code:
mount -t smbfs //marvin/global /mnt/marvin -o username=kosh,password=vorlon
To browse shares in a ftp-ish manner:
Code:
smbclient //marvin/global vorlon -U marvin/kosh
Glad to see your Gentoo installation is working out.
-
Kosh's given you the right Samba tools (the ones I use). There's also a couple of GUI (Network Neighborhood style apps) tools if you like that sort of thing. LinNeighborhood and Gnomba both work well.
You can also do smb:/// in the address bar of Nautilus if you're using Gnome and have gnome-vfs installed. Makes cruising an SMB network pretty painless.
You can click on the image above to see the GUI for each of these programs in action (under Gentoo, no less ;)). You can install them by doing:
emerge gnomba
emerge LinNeighborhood
You'll need to be root to install these. You may also want to run each one with the -p command first to see what needs to be installed (dependency wise). You'll need GTK for both.