LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-07-2006, 02:43 PM   #1
Orgasma
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Rep: Reputation: 0
Windows Samba Problem


I have a wee-problem with Samba and sharing printers...

I'm trying to share a network printer on a linux server (Running Redhat 9.0) via Samba and Cups. I have annother linux box running Ubuntu that will print to it via samaba, but I have annother machine running Windows 2k that will not. I don't know if this is a driver problem or a config problem...

here's my smb.conf file...
[global]
workgroup = workgruop
hosts allow = all
load printers = yes
browseable = yes
printing = cups
printcap name = cups
encrypt passwords = yes
lock directory = /usr/local/samba/var/lock
interfaces = eth0
security = share
[print$]
comment = Printer Drivers
path = /etc/samba/printer
guest ok = no
browseable = yes
read only = yes
write list = user
[BigPrinter]
comment = HP Color Lazerjet 4550H
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = user
[printers]
comment = All printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = no
writable = no
printable = yes
printer name = BigPrinter
printer admin = user

I'm clueless why it won't print
 
Old 03-07-2006, 02:54 PM   #2
jrmann1999
Member
 
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Rep: Reputation: 30
First thought, can the win2k machine browse to the samba machine at all? (\\machinename)
 
Old 03-07-2006, 04:06 PM   #3
Orgasma
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Yeah, the Windows 2k computer can see the machine, add the printer, but when it tries to print, nothing happens
 
Old 03-07-2006, 07:20 PM   #4
jrmann1999
Member
 
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Rep: Reputation: 30
Have you looked into the CUPS documentation to make sure it's allowing print jobs from other than Localhost?
 
Old 03-07-2006, 07:39 PM   #5
Orgasma
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Original Poster
Rep: Reputation: 0
I'm pritty sure CUPS is doing fine (since the localhost will print, and also the other linux box through Samba), but here's my cupsd.conf anyways...

ServerName PrintServer
ServerAdmin user@printserver

ErrorLog /var/log/cups/error_log
LogLevel error
MaxLogSize 0
MaxJobs 500
Printcap /etc/printcap

Port 631
Listen hostname:631
Port 443

<Location />
Order Deny,Allow
Deny From All
Allow From 192.168.40.*
</Location>

<Location /admin>
AuthType Basic
AuthClass System
Allow From 127.0.0.1
Order Deny,Allow
Deny From All
</Location>

I have a wee-hunch that "User lp" and "Goup sys" might be part of the problem (they're commented out right now), so if you have a clue, please do tell
 
  


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 - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 04:07 PM
problem signing on to Samba from windows ivor.miller Linux - Newbie 2 08-21-2005 08:14 AM
Problem with Windows XP + samba JIV Linux - Networking 9 11-15-2003 04:47 AM
Samba problem(Windows 98) guanyu Linux - Networking 8 03-23-2003 04:37 AM
Windows to Samba Problem PatC Linux - Networking 11 09-19-2002 11:00 AM

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

All times are GMT -5. The time now is 02:31 AM.

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