samba-tool trust: support discovery via netr_GetDcName

Enterprise / Samba - Alexander Bokovoy [samba.org] - 24 July 2018 07:55 EDT

In case a remote DC does not support netr_DsRGetDCNameEx2(), use netr_GetDcName() instead.

This should help with FreeIPA where embedded smbd runs as a domain controller but does not implement full Active Directory compatibility.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13538

c390728819e samba-tool trust: support discovery via netr_GetDcName
python/samba/netcmd/domain.py | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)

Upstream: gitweb.samba.org


  • Share