s3:smbspool: Use NTSTATUS return codes
authorAndreas Schneider <asn@samba.org>
Tue, 14 May 2019 09:35:46 +0000 (11:35 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 23 May 2019 09:41:17 +0000 (09:41 +0000)
commitd9af3dc02e98a3eb22441dfbdeddbaca0af078ea
treea23d4b694ac0551da7ca7723fabf15c85e6c6547
parent93acd880801524c5e621df7b5bf5ad650f93cec3
s3:smbspool: Use NTSTATUS return codes

This allows us to simplify some code and return better errors.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13939

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/client/smbspool.c