diff --git a/ipa-server/xmlrpc-server/funcs.py b/ipa-server/xmlrpc-server/funcs.py index a09f5c4ee..b34c5d060 100644 --- a/ipa-server/xmlrpc-server/funcs.py +++ b/ipa-server/xmlrpc-server/funcs.py @@ -124,9 +124,10 @@ class IPAServer: that and None for proxy dn to make calling getConn() easier. """ - debug = opts.get('ipadebug') + debug = "Off" - if opts: + if opts is not None: + debug = opts.get('ipadebug') if opts.get('krbccache'): self.set_krbccache(opts['krbccache']) self.set_principal(None)