diff options
Diffstat (limited to 'source4/scripting/bin/samba_spnupdate')
-rwxr-xr-x | source4/scripting/bin/samba_spnupdate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba_spnupdate b/source4/scripting/bin/samba_spnupdate index 169c12ab00..1794f2bd26 100755 --- a/source4/scripting/bin/samba_spnupdate +++ b/source4/scripting/bin/samba_spnupdate @@ -196,7 +196,7 @@ def call_rodc_update(d): server = cldap_ret.pdc_dns_name try: binding_options = "seal" - if lp.get("log level") >= 5: + if int(lp.get("log level")) >= 5: binding_options += ",print" drs = drsuapi.drsuapi('ncacn_ip_tcp:%s[%s]' % (server, binding_options), lp, creds) (drs_handle, supported_extensions) = drs_utils.drs_DsBind(drs) |