diff options
author | Günther Deschner <gd@samba.org> | 2009-02-19 19:02:48 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-19 19:27:07 +0100 |
commit | 669617036eecbbe2fb9b53c15faa76be147d916a (patch) | |
tree | 6beb05c8f08c72c465d2b15201d4266d8ef5839a /source3/rpc_server | |
parent | 38fde6d5d9abd7faf5053c746acebba342c5d335 (diff) | |
download | samba-669617036eecbbe2fb9b53c15faa76be147d916a.tar.gz samba-669617036eecbbe2fb9b53c15faa76be147d916a.tar.bz2 samba-669617036eecbbe2fb9b53c15faa76be147d916a.zip |
s3-spoolss: fix vista fallback in _spoolss_AddPrinterDriverEx.
Martin Zielinski, if you're reading this, please have a look. Vista nicely takes
just a WERR_UNKNOWN_LEVEL here and retries with a level 6 add.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 61ec552343..7439fe51a5 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -8086,8 +8086,7 @@ WERROR _spoolss_AddPrinterDriver(pipes_struct *p, * to allow downgrade from level 8 (Vista). */ DEBUG(0,("%s: level %d not yet implemented\n", fn, level)); - setup_fault_pdu(p, NT_STATUS(DCERPC_FAULT_INVALID_TAG)); - return WERR_NOT_SUPPORTED; + return WERR_UNKNOWN_LEVEL; } ZERO_STRUCT(driver); |