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 acer asus bios bsod computer crash drive driver drivers error ethernet excel freeze games gaming hard drive hardware hdmi internet java laptop malware memory monitor motherboard music network obp printer problem ram random registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Samba print share from RH9 to WinXP

Reply  
Thread Tools
nick_uk's Avatar
Junior Member with 2 posts.
 
Join Date: Jul 2003
30-Jul-2003, 11: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 2,037 posts.
 
Join Date: May 2003
Experience: Advanced
03-Aug-2003, 10: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, 04: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)
Reply

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:54 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.