[Samba] printing issue after update to 3.6.1

2012-01-25 Thread Stefan Winter
Hello,

we've updated to 3.6.1 yesterday, and since encounter
problems with printing for some users. There's a
descriptive error in the log.smbd, but I can't see
what to do about it really (the rest of the,
admittedly fairly ancient system, is the same base
system as the previous 3.5.5 - only a couple of security
updates were patched in during downtime).

The message in log.smbd is:

  adminpc-rmarx (158.64.1.188) connect to service SuperJam PCL6 initially as 
user Administrator (uid=1003, gid=100) (pid 15885)
[2012/01/25 13:14:01.334500,  2] 
rpc_client/cli_winreg_spoolss.c:898(winreg_create_printer)
  winreg_create_printer: Skipping, SOFTWARE\Microsoft\Windows 
NT\CurrentVersion\Print\Printers\SuperJam PCL6 already exists
[2012/01/25 13:14:01.575723,  0] printing/print_cups.c:940(cups_job_submit)
  cups_job_submit: failed to parse jobid from name 
/usr/local/samba/var/spool/samba/smbprn..CXRIP3
[2012/01/25 13:14:11.775067,  1] smbd/service.c:1291(close_cnum)
  adminpc-rmarx (158.64.1.188) closed connection to service SuperJam PCL6

And indeed, looking into the spool directory, the file
names which used to encode the jobid now don't any more.
For illustration, a few old spooled jobs in the right
format as well:

[... snip lots more of the same ...]
-rw--- 1 rmarx  users   0 Jan 25 15:29 smbprn..zfgbGg
-rw--- 1 rmarx  users   0 Jan 25 14:41 smbprn..zjVnMg
-rw--- 1 rmarx  users   0 Jan 25 08:46 smbprn..zpuUmw
-rw--- 1 rmarx  users   0 Jan 25 15:25 smbprn..zqdI3C
-rw--- 1 rmarx  users   0 Jan 25 15:09 smbprn..zqu3kj
-rw--- 1 rmarx  users   0 Jan 25 14:46 smbprn..zx3GuR
-rw--- 1 rmarx  users   0 Jan 25 15:28 smbprn..zxNUxy
-rw--- 1 tduhautpas users 1657499 Apr 21  2008 smbprn.0676.rcl7r5
-rw--- 1 tduhautpas users 3441093 Apr 21  2008 smbprn.0678.eJYB0d
-rw--- 1 tduhautpas users 1587952 Apr 21  2008 smbprn.0679.0TbJsK
-rw--- 1 tduhautpas users  581632 May 25  2009 smbprn.1277.TEBFAb
-rw--- 1 abarthel   users6774 Nov 15  2007 smbprn.2633.psJWJh
-rw--- 1 lbattani   users   53156 Dec 14  2007 smbprn.3546.e7BsgC
-rw--- 1 yschaafusers8179 Oct 17  2008 smbprn.6035.9IfNcf

So, for some reasons, jobid gets lost. Strangely enough, the file size is also 
zero.

I'm sort of lost what would cause this. The thing I could
imagine is our fairly ancient cups on the system (1.2.7)
and that maybe 3.6.1 doesn't support some legacy CUPS API stuff that
3.5.5 still did. That's the only straw I'm holding onto.

Can anyone help out here?

Greetings,

Stefan Winter

-- 
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la 
Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473



signature.asc
Description: OpenPGP digital signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] printing issue after update to 3.6.1

2012-01-25 Thread David Disseldorp
Hi Stefan,

On Wed, 25 Jan 2012 15:44:31 +0100
Stefan Winter stefan.win...@restena.lu wrote:

...
 So, for some reasons, jobid gets lost. Strangely enough, the file size is 
 also zero.
 
 I'm sort of lost what would cause this. The thing I could
 imagine is our fairly ancient cups on the system (1.2.7)
 and that maybe 3.6.1 doesn't support some legacy CUPS API stuff that
 3.5.5 still did. That's the only straw I'm holding onto.
 
 Can anyone help out here?

The spoolss print job file open code-path has changed recently, looking
at print_spool_open() it looks like the job file is created without
taking the print jobid into account.

Please raise a bug with your logs attached.

Cheers, David
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] printing issue after update to 3.6.1

2012-01-25 Thread Stefan Winter
Hi,

thanks for the quick reply - I just opened bug 8719.

https://bugzilla.samba.org/show_bug.cgi?id=8719

Greetings,

Stefan Winter

On 25.01.2012 17:59, David Disseldorp wrote:
 Hi Stefan,
 
 On Wed, 25 Jan 2012 15:44:31 +0100
 Stefan Winter stefan.win...@restena.lu wrote:
 
 ...
 So, for some reasons, jobid gets lost. Strangely enough, the file size is 
 also zero.

 I'm sort of lost what would cause this. The thing I could
 imagine is our fairly ancient cups on the system (1.2.7)
 and that maybe 3.6.1 doesn't support some legacy CUPS API stuff that
 3.5.5 still did. That's the only straw I'm holding onto.

 Can anyone help out here?
 
 The spoolss print job file open code-path has changed recently, looking
 at print_spool_open() it looks like the job file is created without
 taking the print jobid into account.
 
 Please raise a bug with your logs attached.
 
 Cheers, David


-- 
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et
de la Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473



signature.asc
Description: OpenPGP digital signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba