samba-tool domain: correctly spell variable name
[sfrench/samba-autobuild/.git] / python / samba / netcmd / domain.py
index de8d537e580231fb7d1c976366f32f5f9162128d..e03972447259c99c44bb41b8d9e13280cb44d60c 100644 (file)
@@ -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: