[PATCH] s3-printing: fix move_driver_to_download_area() error paths

Jeremy Allison jra at samba.org
Fri Feb 25 17:48:35 MST 2011


On Fri, Feb 25, 2011 at 02:19:17PM +0100, David Disseldorp wrote:
> WERR_ACCESS_DENIED errors are mapped to WERR_UNKNOWN_PRINTER_DRIVER,
> resulting in incorrect error messages on Windows clients.
> 
> move_driver_to_download_area() returns *the same* error status values
> to the caller via the *perr argument as well as the return value.
> 
> The create_directory() call is not checked for error.

Doesn't pass "make test" in master - can you fix that
please ?

Jeremy.


More information about the samba-technical mailing list