From 732233ff3dd135f1645c6e7854f8911bdd6979eb Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 9 Mar 2017 14:51:27 +1300 Subject: [PATCH] samba-tool domain: correctly spell variable name Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- python/samba/netcmd/domain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py index de8d537e580..e0397244725 100644 --- a/python/samba/netcmd/domain.py +++ b/python/samba/netcmd/domain.py @@ -3169,7 +3169,7 @@ class cmd_domain_trust_namespaces(DomainTrustCommand): if len(enable_nb) > 0: raise CommandError("--enable-nb not allowed together with --enable-all") - if len(enable_sid) > 0: + if len(enable_sid_str) > 0: raise CommandError("--enable-sid not allowed together with --enable-all") if len(enable_tln) > 0: