samba-tool/domain: change incorrect NT_STATUS to WERR
authorBob Campbell <bobcampbell@catalyst.net.nz>
Thu, 12 Jan 2017 23:21:42 +0000 (12:21 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 14 Feb 2017 08:46:23 +0000 (09:46 +0100)
commit5356fa0a5ac11525603d33a20f9eb63634f65f0b
tree9fe3d60d63a6dbd87fabbb85a78e2fd589e00408
parent3ba25569b162d0a114a1d91fa22ad61727b41b2c
samba-tool/domain: change incorrect NT_STATUS to WERR

Since the called functions here return a WERR rather than an NTSTATUS,
the checked for errors were incorrect.

Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/netcmd/domain.py