Re: [Samba] Updated 2.2.8a to 3.0.7-1 and Cups went South

2004-09-22 Thread David Rankin
John T. wrote

> Sure! The permission on /var/spool/samba needs to be:
>
> chmod 01777 /var/spool/samba
>

Thanks John, that did it!

--
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
--
- Original Message - 
From: "John H Terpstra" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 22, 2004 12:24 AM
Subject: Re: [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.
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Updated 2.2.8a to 3.0.7-1 and Cups went South

2004-09-21 Thread John H Terpstra
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.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Updated 2.2.8a to 3.0.7-1 and Cups went South

2004-09-21 Thread David Rankin
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.0008.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.0009.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.0010.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
lrwxrwxrwx1 root root7 Apr 13 21:16 locks -> ../lock
drwxr-xr-x2 lp   lp 48 Sep 23  2003 lpd
drwxrwxrwt2 root root   72 Sep 15 11:32 mail
drwxrwxr-x9 news news  216 Apr 13 22:36 news
drwxr-xr-x   14 root root  336 Apr 13 21:43 postfix
drwxr-xr-x2 root root   48 Sep 16 05:17 samba
drwx--4 uucp root   96 Apr 13 22:42 smtpd
drwxr-xr-x3 uucp uucp   72 Apr 13 21:16 uucp
drwxrwxrwt2 root root   72 Apr 13 22:41 uucppublic
drwxr-xr-x4 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
--

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba