Samba Printer Share on Win2K Access Denied, No Connection available
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Samba Printer Share on Win2K Access Denied, No Connection available
Hallo,
I have a problem with Samba printer Share and printing from a Win2k client.
Printing works from the Linux Server but not on the client. The Printer is an OKI610ex and I use the CUPS Printing System. I can see the printer share on the win client an I can install it as a new printer. When I click on the printer icon, I get the message: Access denied, No connection available.
My smb.conf is as following:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2003/04/07 23:02:10
# Global parameters
[global]
printer = oki610ex
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
encrypt passwords = Yes
time server = Yes
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
unix extensions = Yes
netbios name = SAUGI
writable = yes
printing = cups
path = /var/spool/cups
default service = MP3
workgroup = HOUSENET
os level = 2
printcap name = CUPS
syslog = 0
security = SHARE
log level = 1
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[sonst]
force user = XY
delete readonly = Yes
strict sync = Yes
sync always = Yes
[mp3]
force user = Kris
valid users = XY,Kris,Sardi
delete readonly = Yes
path = /home/mp3
Ive got this problem as well. Im using winXP pro, and my Samba server is running on a Red Hat Box. But I dont know how to fix it. I have tryed doing the configuration with Webmin (www.webmin.com) but i havent been able to solve it.
Ok, I tried it, but it didnīt work. I still get the "Access denied" and when I try to start a printjob I get the Message: "Print job could not be started".
I also tried to configure the printershare with webmin and SWAT, but I had no success.
OK for all who have this problem, maybe this helps you. Finaly I got a solution for my one.
I changed the path to: path = /var/spool/lp
this is the same printingqueu Linux installed the printer for.
Then I made a chmod 777 to the lpd directory and now it works fine. I can print and I donīt get the access denied message anymore. Hope it works for the others, too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.