dcerpc: Fix UnboundLocalError for ccache_name

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Tomas Babej committed 2015-07-22 14:30:22 +02:00
1 parent 106e904337
commit cf59981cc2
1 file changed
+2
+2
View File
@@ -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'])