samba-tool: Use ntstatus constants in gpo commands
authorDavid Mulder <dmulder@samba.org>
Wed, 7 Dec 2022 17:56:54 +0000 (10:56 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 30 Jan 2023 09:00:39 +0000 (09:00 +0000)
commita15208f60bbace89d99acbe8e3a8325740f5d6ab
tree2b11f1c35d3679aca5201de9c0fa898e34dc79d3
parenta4530c153e38b205f0ffa7f30e06d2a4469fa58b
samba-tool: Use ntstatus constants in gpo commands

Replace all the hard coded instances of ntstatus
codes in the samba-tool gpo commands with
constants from samba.ntstatus.

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/gpo.py