LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-12-2004, 09:37 PM   #1
andy753421
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 65

Rep: Reputation: 15
samba cannot connect


im useing slackware 10 with the samba 3.0.6 and for some reason i cant seem to connect to anything over the network.

im trying to connect to shares on a windows network useing linux, and whenever i type
Code:
smbclient -L workgroup
it gives me the error
Code:
Connection to workgroup failed
and when i try going to smb:/ in konquorer it doesnt display anything and when i try going to smb://workgroup/ in konqueror it says
Code:
Could not connect to host workgroup
but (this is the strange part) if i try going to smb://workgroup/ in firefox then it displays a list off all the computers on the windows network, anyone know why this would happen? heres a copy of my smb.conf file i have in /etc/samba/


Code:
[global]
	netbios name = mycomputer
	server string = "computer"
	workgroup = workgroup
	security = share
	log file = /var/log/samba.log
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	encrypt passwords = yes
	smb passwd file = /etc/samba/smbpasswd
#10.100 is the first numbers of my local network 
	hosts allow = 10.100. 127.
# only add as much of the number as necessary to identify the computers, localhost can be
# identified using only 127. a private network may require the first three numbers in the IP
# address.
	hosts deny = ALL
	invalid users = root
	message command = /bin/sh -c 'xmessage "%f" "%m" %s; rm %s' &
	interfaces = eth0

[public]
	path = /home/ftp
	guest ok = yes
	writeable = yes

[printers]
	comment = All Printers
	path = /var/spool/samba
        printing = bsd
        browseable = yes
        read only = yes
        printable = yes
        guest ok = yes

[homes]
	comment = Home Directories
	browseable = Yes
	writeable = Yes
 
Old 09-12-2004, 10:41 PM   #2
angrybeaver
Member
 
Registered: Aug 2004
Location: .au
Distribution: debian, BSD
Posts: 104

Rep: Reputation: 17
try popping the following into your global config :

wins support = yes
domain master = yes
local master = yes
preferred master = yes

BROWSING.txt that comes with the samba docs should give you some pointers.

maybe ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 05:32 PM
Samba: Can't connect Thomas M. Linux - Networking 4 03-18-2004 05:19 PM
Can't connect via Samba vinny0 Linux - Software 4 01-28-2004 12:55 PM
Mandrake (Samba) Client Can't Connect To Samba Buick Linux - Networking 1 01-21-2004 01:55 PM
Samba won't connect Travis86 Linux - Networking 6 04-30-2003 10:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration