s3-spoolss: fix some crash bugs and missing error codes in AddDriver paths.
commit286f4b53993fab0ffc53e5619e2987dfb13b0ec2
authorGünther Deschner <gd@samba.org>
Fri, 23 Apr 2010 00:34:43 +0000 (23 02:34 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 16 Jun 2010 13:52:51 +0000 (16 15:52 +0200)
tree9c07979fe5e5116ca79b7ce48c0444f8fc414582
parentbe585bb0cd81f5ddd3345f04990eaddfa1e13eda
s3-spoolss: fix some crash bugs and missing error codes in AddDriver paths.

Found by torture test.

Guenther
(cherry picked from commit 413ffe9adb8eea488133da0249dcb2eca08fd69d)

Addresses bug #7459 (after upgrade to samba 3.4 and 3.5 lose ability to control duplex
for normal domain user).
source3/printing/nt_printing.c
source3/rpc_server/srv_spoolss_nt.c