LinuxQuestions.org
Review your favorite Linux distribution.
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-07-2003, 05:22 AM   #1
SantaGhost
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Samba - Win2000 <-> SuSE 8.2


Im relatively new to linux and as a next step i tried to connect on one side a win2000 sp4 pc to the linux pc running SuSE 8.2.

I installed all the samba packages an began to configure smb.conf. I still was unable to see the linux pc from the windows pc. I read a lot of documentation and checked out the log files, it stated something about being unable to connect to the CUPS server.
Code:
[2003/09/07 11:33:15, 0] smbd/server.c:main(707)
  smbd version 2.2.7a-SuSE started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/09/07 11:33:15, 1] lib/debug.c:debug_message(258)
  INFO: Debug class all level = 1   (pid 2420 from pid 2420)
[2003/09/07 11:33:15, 0] printing/print_cups.c:cups_printer_fn(110)
  Unable to connect to CUPS server localhost - Connection refused
After installing those packages and doing some configuring in cupsd.conf the messag was gone.

still i cant see the linux box on network neighbourhood, everything else works fine (ping ect.)

below my smb.conf:

Code:
# smb.conf is the main samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2003-03-17
[global]
	workgroup = GEPELAN
	server string = SantaGhost Linux
	os level = 2
	time server = Yes
	unix extensions = Yes
	encrypt passwords = Yes
	log level = 1
	syslog = 0
	printing = CUPS
	printcap name = CUPS
	socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
	wins support = yes
;	wins server = 10.0.0.101
	veto files = /*.eml/*.nws/riched20.dll/*.{*}/
	encrypt passwords = yes
	smb passwd file = /etc/samba/smbpasswd
[homes]
	comment = Home Directories
	valid users = %S
	browseable = yes
	writeable = yes
	read only = No
	create mask = 0640
	directory mask = 0750
[printers]
	comment = All Printers
	path = /var/tmp
	printable = Yes
	create mask = 0600
	browseable = No
[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775
i am also unable to connect to swat on localhost:901, after installing cups i could connect to cups` administration webbased tool on localhost but still no luck on swat.

any help is greatly appreciated

Last edited by SantaGhost; 09-07-2003 at 05:26 AM.
 
Old 09-07-2003, 08:21 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

A few thngs to check:
1) make sure you don;t have any firewall rules blocking ports 137, 138 & 139

2) Samba is usually better at being a master browser than windows. Try setting these variables:
local master = yes
os level = 65
preferred master = yes

Then restart samba.
 
Old 09-08-2003, 11:11 AM   #3
SantaGhost
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Original Poster
Rep: Reputation: 0
all hail david_ross

well its working allright, thx

but still no luck with accessing localhost:901

Last edited by SantaGhost; 09-08-2003 at 11:19 AM.
 
Old 09-08-2003, 12:28 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You may need to enable it:
chkconfig swat on
/etc/init.d/xinetd restart

Personnaly I wouldn't use swat since it tends to screw wwith smb.conf and make it up itself. Once you get used to the format it isn't that difficult to use.
 
  


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 PDC and Win2000 mheymann Linux - Networking 3 09-15-2005 09:06 AM
fedora and win2000 and samba yps Linux - Newbie 2 11-28-2003 04:13 AM
Samba and win2000 loke137 Linux - Networking 6 08-29-2003 02:32 PM
Samba and Win2000 cfaranda Linux - Networking 2 07-04-2002 06:25 AM
samba and win2000 tstuhr Linux - Networking 5 10-03-2001 08:58 AM

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

All times are GMT -5. The time now is 08:36 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