diff options
-rw-r--r-- | source4/scripting/python/samba/provision/sambadns.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision/sambadns.py b/source4/scripting/python/samba/provision/sambadns.py index 576a33fadf..a66fde1425 100644 --- a/source4/scripting/python/samba/provision/sambadns.py +++ b/source4/scripting/python/samba/provision/sambadns.py @@ -1017,7 +1017,7 @@ def setup_ad_dns(samdb, secretsdb, domainsid, names, paths, lp, logger, if not is_valid_os_level(os_level): raise Exception("Invalid os level: %r" % os_level) - if dns_backend is "NONE": + if dns_backend == "NONE": logger.info("No DNS backend set, not configuring DNS") return |