PDA

View Full Version : Dyy - Samba Help?



rsbriggs
09-02-2003, 07:50 PM
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 ???

Chinasaur
09-02-2003, 08:35 PM
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 :)

rsbriggs
09-02-2003, 08:40 PM
Can't imagine what possessed me to use Bob as a user name :D

===bob briggs

Chinasaur
09-02-2003, 08:55 PM
I'm not a Bob..just easy to type and remember :)~~

Paratima
09-02-2003, 09:05 PM
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.

Kosh
09-02-2003, 11:08 PM
Listing network shares on a windows machine
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:
mount -t smbfs //marvin/global /mnt/marvin -o username=kosh,password=vorlon

To browse shares in a ftp-ish manner:
smbclient //marvin/global vorlon -U marvin/kosh

Glad to see your Gentoo installation is working out.

Dyyryath
09-03-2003, 03:07 AM
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.

http://www.zerothelement.com/offsite-images/smb-browse.png (http://www.zerothelement.com/ss.php)

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.