-
Samba and CUPS printing
I have Samba 3.0.7 and cups installed on a Debian 3 system.
The local computer can print to the printer -
Windows boxes can browse to the share to connect and install the printer driver however, when attempting to print from a WinXP box to the Samba print share it errors with: Test page failed to print, Unable to create a print Job, would you like to view the Print troubleshooter
A print from a Win98 Box returns: Error writing to \\athena\hp4mv_mis network access denied.
My smb.conf
[global]
netbios name = athena
workgroup = workgroup
passdb backend = smbpasswd
hosts allow = 127.0.0.1 10.0.1.0/24 192.168.0.0/63
hosts deny = 0.0.0.0/0
os level = 50
load printers = Yes
printing = cups
printcap name = cups
printcap = /etc/printcap.cups
security = user
interfaces = eth0
encrypt passwords = Yes
unix password sync = true
passwd program = /usr/bin/passwd %u
guest account = smbuser
map to guest = bad user
[homes]
comment = Home Directories
writeable = Yes
browseable = No
[netlogon]
comment = Network Logon Service
path = /home/netlogon
guest ok = no
read only = Yes
[test]
comment = Test share
path = /home/test
guest ok = yes
read only = no
[printers]
comment = All Printers
path = /var/spool/cups
browseable = no
guest ok = yes
use client driver = Yes
printable = yes
printer admin = root
IP's changed to protect the innocent.
Logging in as a Valid user gives me access to Home drive/ Netlogon/test share... all that good stuff. I can view the printer share if I browse through Win Explorer. The wierd thing is, This was working a week ago - I have made No Configuration changes to this box that I can recall, and all of a sudden it quit working. Please help if you can - I am at a loss.
-
windoze usernames and passwords must match user accounts on the Deb box. If the user accounts don't exist, create them with the same usernames and passwords as are used on windoze.
-
This is written for Gentoo, but the configuration would be the same, http://www.gentoo.org/doc/en/quick-samba-howto.xml
I haven't cried like this since I paid for Godfather III --Fat Tony
Currently breaking:
Gentoo Stage 1 w/gentoo-dev-2.6.14-r2 kernel
FreeBSD 6.0
XP Pro, well thats already broken
-
Thank you, Just what I was missing
IMPORTANT: There seems to be a problem with the permissions of the Samba spool directory (at least on my and TriGuN's machines) as of (not exactly sure) Samba 3.0.3, which wouldn't let Windows clients print to the server, even when logged on an authenticated correctly.
To resolve this problem, I had to do a
Code:
# chmod 777 /var/spool/samba
Not exactly a solution but it worked. I am not sure whether the problem still exists in any newer (or older) Samba version, but that's how to get rid of it.
I recently saw that /var/spool/samba gets created with 777 permissions anyway, so the above IS a solution
Thank you for your help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|