[Techtalk] samba issues...

Meredydd Luff meredydd at everybuddy.com
Fri Sep 13 00:10:03 EST 2002


The reason you can see it on your samba browser but not on normal 
host-resolving stuff (ie DNS+/etc/hosts) is because SMB machines use a 
different protocol to announce their existence and names to all others on the 
network.

A good first step for establishing contact is:

smbclient -L //machine_name  (no trailing slash)

This lists the available shares on that machine. If that doesn't work, you 
have Samba problems. Check your /etc/smb.conf. If you could see the machine 
form your samba browser, that should work. If it doesn't, you need to stop 
there and work on it.

If it does, it should list the shares. Then you can do (as root):

smbmount //machine_name/share_name /mnt

...or whatever. If you need a username/password combo, you need to check your 
smbmount man page for which dialect of smbclient you have. One requires

smbmount -U username //machine_name/share_name /mnt

...and then asks you for your password. Alternatively, there's:

smbmount -o username=username //machine_name/share_name /mnt

This sequence got me running on our (pretty vanilla win2k school network). 
Tell me how it goes.

By the way, I recommend using forward slashes, as backward ones require 
escaping (\\machine_name\sharename won't work, you need 
\\\\machine_name\\sharename).

On Thursday 12 September 2002 18:27, Jeannette wrote:
> I might be able to help with some parts of this.
>
> On Thu, 12 Sep 2002, Annie Downs wrote:
> > the server is named snipps, i cant do ping snipps, but i can ping it by
> > ip address. i have the samba browser xfsamba and i cant see this server
> > (this is
>
> Ok, to ping snipps, you need to add the alias snipps to your /etc/hosts
> file in the format
> 192.168.1.15	snipps
> (or whatever his IP address is)
>
> > all a uni network but i dont really know the structure with workgroups
> > and whatever) but i assume thats related to my not being able to ping it
> > by name. i tried the command  smbclient //<hisIPaddress> and i got a
> > message "Not enough '\' characters in service. so i tried smbclient
> > //<hisIPaddress>/pete (the directory i'm lookin for)
>
> this I ran into, here at work. What works for me is,
> smbclient \\machine_name\c (takes me to the root C: directory. this works
> even without the hosts file, but takes like a minute. with machine_name in
> hosts file, it is really quick)
> (Actually, I use smbclient \\machine_name\c -U my_name, because the owner
> of the system gave me my own username, so I wouldn't have to use his
> password)
>
> From here on, I am no help, because this worked for me and I never looked
> into it further.
>
> Good luck! Maybe someone else will see something to help!
>
>
> Jeannette
>
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk

-- 

MSN Developer, Everybuddy project
http://www.everybuddy.com/

MSN:     blip109 at hotmail.com
AIM:     blip109
Yahoo:   modula7



More information about the Techtalk mailing list