mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 08:41:55 -06:00
Use fully qualified PDC name when contacting for extended DN information
This commit is contained in:
parent
a7420c1e83
commit
27517c2008
@ -135,7 +135,7 @@ class TrustDomainInstance(object):
|
||||
|
||||
# Netlogon response doesn't contain SID of the domain.
|
||||
# We need to do rootDSE search with LDAP_SERVER_EXTENDED_DN_OID control to reveal the SID
|
||||
ldap_uri = 'ldap://%s' % (result.pdc_name)
|
||||
ldap_uri = 'ldap://%s' % (result.pdc_dns_name)
|
||||
conn = _ldap.initialize(ldap_uri)
|
||||
conn.set_option(_ldap.OPT_SERVER_CONTROLS, [ExtendedDNControl()])
|
||||
result = None
|
||||
|
Loading…
Reference in New Issue
Block a user