Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor ram recovery router screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Samba print share from RH9 to WinXP

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
nick_uk's Avatar
Junior Member with 2 posts.
 
Join Date: Jul 2003
30-Jul-2003, 10:20 AM #1
Samba print share from RH9 to WinXP
Can anyone please help me, im going nuts tring to figure this out.

I have a Samsung ML1210 USB printer setup on my RH9 box (printing fine). I CAN print from other Linux boxes to this printer no problem. I can also shell out to DOS from my XP box and issue a print command to the printer (print /D:\\smith\samsung c:\textfile.txt) and this also prints no problem.

My problem arrises when i try to print to the "samba printer" i can connect but then i get access denied as a status. agghhhh

here's my smb.conf file

[global]
workgroup = EBUSINESS
server string = smith
encrypt passwords = Yes
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
guest ok = Yes
printing = cups
printcap name = cups
load printers = yes

[homes]
comment = Home directories
valid users = %S
read only = No
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[share]
path = /share
read only = No

[samsung]
comment = ML-1210
path = /var/spool/samba
read only = No
printable = Yes
printer name = samsung
srhoades's Avatar
Senior Member with 1,303 posts.
 
Join Date: May 2003
Experience: Advanced
03-Aug-2003, 09:41 PM #2
I believe in your global you need to add
security = user (or share)
depending if you just want open access or password security
nick_uk's Avatar
Junior Member with 2 posts.
 
Join Date: Jul 2003
04-Aug-2003, 03:11 AM #3
Thanks for your reply but i have just found the answer. YIPEE

The problem was not samba but cups

as soon as i uncommented the following line from /etc/cups/mime.convs:
application/octet-stream application/vnd.cups-raw 0 -


and also uncommented the following line from /etc/cups/mime.types:
application/octet-stream

and added these lines to /etc/cups/cupsd.conf: <Location /printers>
AuthType None
Order Deny,Allow
Deny From None
Allow From All
</Location>


restarted samba & cups and hey presto! we have printing (wow its only taken two weeks)
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 03:02 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.