Mates,
On my Suse 9.0 pro installation, I updated Samba from 2.2.8a to 3.0.7.
The upgrade went flawlessly, Samba is happily sharing all the files it was
before. However, I can no longer print via cups. I have a HP LJ4 attached to
the Linux box that worked great before the upgrade. I have 2 XP clients. Now
from the Windows side, I get the printer status showing 'access denied,
unable to connect' I can browse all the shares without problems.
A tail of /var/log shows:
Sep 21 23:45:14 skyline smbd[6803]: [2004/09/21 23:45:14, 0]
printing/printing.c:print_job_start(2103)
Sep 21 23:45:14 skyline smbd[6803]: print_job_start: insufficient
permissions to open spool file /var/spool/samba/smbprn.00000008.VNOJIk.
Sep 21 23:46:04 skyline smbd[6803]: [2004/09/21 23:46:04, 0]
printing/printing.c:print_job_start(2103)
Sep 21 23:46:04 skyline smbd[6803]: print_job_start: insufficient
permissions to open spool file /var/spool/samba/smbprn.00000009.EfTyaH.
Sep 21 23:46:29 skyline smbd[6803]: [2004/09/21 23:46:29, 0]
smbd/service.c:make_connection(800)
Sep 21 23:46:29 skyline smbd[6803]: ripper (192.168.6.100) couldn't find
service ::{2227a280-3aea-1069-a2de-08002b30309d}
Sep 21 23:49:08 skyline smbd[6803]: [2004/09/21 23:49:08, 0]
printing/printing.c:print_job_start(2103)
Sep 21 23:49:08 skyline smbd[6803]: print_job_start: insufficient
permissions to open spool file /var/spool/samba/smbprn.00000010.vrhiRO.
The permissions are:
skyline:/var/spool # ls -al
total 4
drwxr-xr-x 17 root root 448 May 17 22:30 .
drwxr-xr-x 17 root root 432 Apr 13 22:49 ..
drwx------ 2 at at 72 Apr 13 21:39 atjobs
drwx------ 2 at at 48 Sep 23 2003 atspool
drwxrwx--- 2 mail mail 48 Sep 23 2003 clientmqueue
drwx------ 4 root root 120 Apr 13 21:44 cron
drwx--x--- 3 lp lp 3072 Sep 17 14:24 cups
drwxr-xr-x 17 fax uucp 496 Apr 21 01:51 fax
lrwxrwxrwx 1 root root 7 Apr 13 21:16 locks -> ../lock
drwxr-xr-x 2 lp lp 48 Sep 23 2003 lpd
drwxrwxrwt 2 root root 72 Sep 15 11:32 mail
drwxrwxr-x 9 news news 216 Apr 13 22:36 news
drwxr-xr-x 14 root root 336 Apr 13 21:43 postfix
drwxr-xr-x 2 root root 48 Sep 16 05:17 samba
drwx------ 4 uucp root 96 Apr 13 22:42 smtpd
drwxr-xr-x 3 uucp uucp 72 Apr 13 21:16 uucp
drwxrwxrwt 2 root root 72 Apr 13 22:41 uucppublic
drwxr-xr-x 4 root root 96 Apr 13 22:06 voice
Any ideas what I need to set the permissions or ownership to?
--
David C. Rankin, J.D., P.E.
Rankin * Bertin, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankin-bertin.com
--
John H Terpstra
2004-Sep-22 05:25 UTC
[Samba] Updated 2.2.8a to 3.0.7-1 and Cups went South
On Tuesday 21 September 2004 23:13, David Rankin wrote:> Mates, > > On my Suse 9.0 pro installation, I updated Samba from 2.2.8a to 3.0.7. > The upgrade went flawlessly, Samba is happily sharing all the files it was > before. However, I can no longer print via cups. I have a HP LJ4 attached > to the Linux box that worked great before the upgrade. I have 2 XP clients. > Now from the Windows side, I get the printer status showing 'access denied, > unable to connect' I can browse all the shares without problems....> Any ideas what I need to set the permissions or ownership to?Sure! The permission on /var/spool/samba needs to be: chmod 01777 /var/spool/samba - John T. -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 OpenLDAP by Example, ISBN: 0131488732 Other books in production.