Skip to content

Commit

Permalink
Merge pull request #9 from lefayjey/main
Browse files Browse the repository at this point in the history
Fix kerberos authentication
  • Loading branch information
zblurx authored Jul 4, 2023
2 parents f3c8b61 + a76c2ea commit f018ac2
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 f018ac2

Please # to comment.