diff --git a/ipaserver/dcerpc.py b/ipaserver/dcerpc.py index 6a1c179a4..7220c440d 100644 --- a/ipaserver/dcerpc.py +++ b/ipaserver/dcerpc.py @@ -644,6 +644,8 @@ class DomainValidator(object): Returns LDAP result or None. """ + ccache_name = None + if self._admin_creds: (ccache_name, principal) = self.kinit_as_administrator(info['dns_domain'])