s3-lanman: fix api_DosPrintQEnum().
authorGünther Deschner <gd@samba.org>
Mon, 3 May 2010 11:42:32 +0000 (13:42 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 3 May 2010 12:45:26 +0000 (14:45 +0200)
commitfe1617a818b13b2ff2289e3afd33f2ddcfa76124
tree81efee910946d55ca3d35e0856817cc5f7f06d8a
parent84aea4784a1798f2585cfa98b6126e21e830ae82
s3-lanman: fix api_DosPrintQEnum().

This was a subtile bug where the OpenPrinter call (called directly via
dispatcher table) was modifiying r->in.printername in a way that all printers on
a server had the printername stripped off the server unc. Once we switch to full
NDR marshalling in inter RAP<->RPC server communication there is no danger
anymore to have these kind of nasty effects.

Guenther
source3/smbd/lanman.c