[Samba] Problem in rpc_api_pipe related to the \spoolss pipe
Gerald (Jerry) Carter
jerry at samba.org
Wed Jan 18 15:45:54 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mikael M. Hansen wrote:
> i
>
> I have a problem with a samba-3.0.21a (as a PDC), when I use rpcclient
> to set the driver for a printer. I receive the following error (log
> level 12 for relevant parts rpc*, printerdrivers,tdb attached):
>
> rpc_api_pipe: Remote machine pdc pipe \spoolss fnum 0x76dereturned
> critical error. Error was Call returned zero bytes (EOF)
> prs_mem_get: reading data of size 4 would overrun buffer by 4 bytes.
> SetPrinter call failed!
> rpc_api_pipe: Remote machine pdc pipe \spoolss fnum 0x76dereturned
> critical error. Error was Call returned zero bytes (EOF)
> prs_mem_get: reading data of size 4 would overrun buffer by 4 bytes.
> result was WERR_GENERAL_FAILURE
> cli_rpc_pipe_close: cli_close failed on pipe \spoolss, fnum 0x76de to
> machine pdc. Error was Call returned zero bytes
>
> The command I use is:
>
> rpcclient -Umhansen -c 'setdriver e21a "HP LaserJet 5000"' localhost
There was a segv in the server printing code what changing drivers.
This has been fixed for the upcoming 3.0.21b. The patch is attached to
this bug report (https://bugzilla.samba.org/show_bug.cgi?id=3380).
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFDzmKyIR7qMdg1EfYRAu9ZAJ98mdyr1IPWD0gACv6hAMTjXYE9uwCfQBxe
dGr6HhBaIaOgx3NF0l10kaU=
=A4Vz
-----END PGP SIGNATURE-----
More information about the samba
mailing list