Skip to content

Commit

Permalink
Fix kerberos authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
lefayjey committed Jul 2, 2023
1 parent f3c8b61 commit a76c2ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions certsync/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ def __init__(self, options: argparse.Namespace):
no_pass = options.no_pass,
ns = options.ns,
aes = options.aesKey,
target_ip = options.dc_ip)
target_ip = options.dc_ip,
remote_name = options.kdcHost)

self.ca_ip = options.ca_ip
self.user_search_filter = options.ldap_filter
Expand Down Expand Up @@ -211,7 +212,8 @@ def run(self):
do_kerberos = self.target.do_kerberos,
hashes = self.options.hashes,
aes = self.target.aes,
remote_name = self.ca_ip_address)
remote_name = self.ca_dns_name,
no_pass = self.options.no_pass)

ca_module = CA(target=ca_target, ca=self.ca_name)
self.backup_ca_pki(ca_module)
Expand Down

0 comments on commit a76c2ea

Please # to comment.