Linux Debian support - Samba Connection Fails

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > May 2007 > Samba Connection Fails





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Samba Connection Fails
Tim Johnson

2007-05-20, 7:13 pm

Hi: (kubuntu 7.04 KDE 3.5.6, background in slack and rh)
I am unable to connection with a windows computer on my network.
My smb.conf file can be seen at
http://www.johnsons-web.com/demo/ubuntu/smb.conf.txt

The following command:
sudo mount -t smbfs //barbara/c /mnt/barbara -o
username=tim,password=******,uid=1000,gi
d=1000
## returns the following
6479: Connection to barbara failed
SMB connection failed
## NOTE: successive calls to the command returns a different number
## each time. I assume it is a PID, rather than an error ID.

The syntax following `sudo' works on slack 10.0. Mountpoint appears
to be correct, uid and gid match dump from `id tim'

samba is configured to log at /var/log/samba/, but I don't see anything
there.....

Thanks
Tim
Jimserac

2007-05-20, 7:13 pm

On May 20, 9:55 am, Tim Johnson <t...@johnsons-web.com> wrote:
> Hi: (kubuntu 7.04 KDE 3.5.6, background in slack and rh)
> I am unable to connection with a windows computer on my network.
> My smb.conf file can be seen athttp://www.johnsons-web.com/demo/ubuntu/smb.conf.txt
>
> The following command:
> sudo mount -t smbfs //barbara/c /mnt/barbara -o
> username=tim,password=******,uid=1000,gi
d=1000
> ## returns the following
> 6479: Connection to barbara failed
> SMB connection failed
> ## NOTE: successive calls to the command returns a different number
> ## each time. I assume it is a PID, rather than an error ID.
>
> The syntax following `sudo' works on slack 10.0. Mountpoint appears
> to be correct, uid and gid match dump from `id tim'
>
> samba is configured to log at /var/log/samba/, but I don't see anything
> there.....
>
> Thanks
> Tim



You SHUT OFF your Windows Firewall didn't you?

Citizen Jimserac

Tim Johnson

2007-05-20, 7:13 pm

Jimserac wrote:
> On May 20, 9:55 am, Tim Johnson <t...@johnsons-web.com> wrote:
>
>
> You SHUT OFF your Windows Firewall didn't you?


There isn't any. It's XP - the only firewall is the router,
and the same command works from other linux boxes
Tim Johnson

2007-05-20, 7:13 pm

Tim Johnson wrote:
> Hi: (kubuntu 7.04 KDE 3.5.6, background in slack and rh)
> I am unable to connection with a windows computer on my network.
> My smb.conf file can be seen at
> http://www.johnsons-web.com/demo/ubuntu/smb.conf.txt


> The following command:
> sudo mount -t smbfs //barbara/c /mnt/barbara -o
> username=tim,password=******,uid=1000,gi
d=1000
> ## returns the following
> 6479: Connection to barbara failed
> SMB connection failed
> ## NOTE: successive calls to the command returns a different number
> ## each time. I assume it is a PID, rather than an error ID.
>
> The syntax following `sudo' works on slack 10.0. Mountpoint appears
> to be correct, uid and gid match dump from `id tim'
>
> samba is configured to log at /var/log/samba/, but I don't see anything
> there.....


I'm writing myself up for "lack of attention to detail"
I forgot to put an entry for `barbara' in my hosts file.
I placed the following:
192.168.1.5 barbara
in /etc/hosts
and then executed:
sudo smbmount //barbara/c /mnt/barbara -o username=tim,password=******
<grin> Thanks for the help!</grin>
Linonut

2007-05-21, 7:13 am

After takin' a swig o' grog, Tim Johnson belched out this bit o' wisdom:

> Tim Johnson wrote:
>
> I'm writing myself up for "lack of attention to detail"
> I forgot to put an entry for `barbara' in my hosts file.
>
> <grin> Thanks for the help!</grin>


No, thank us for not /razzing/ you <grin>!

Been there, done that.

--
I had only one nerve left, and -dang- if you didn't git on it!
egberto

2007-05-21, 7:13 am

Hi, have you tryeb smbaudit?
this may help you find what's the problem !!

http://sourceforge.net/projects/smbdaudit/


"Tim Johnson" <tim@johnsons-web.com> escreveu na mensagem
news:1351lvaaqnmsndb@news.supernews.com...
> Jimserac wrote:
>
> There isn't any. It's XP - the only firewall is the router,
> and the same command works from other linux boxes



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com