On la, 16 loka 2021, Jakub Novak via FreeIPA-users wrote:
Is possible create trust between FreeIPA (v. 4.9.6) and Samba AD DC (v. 4.13.5)?
I'm tried create trust via this command:
ipa -d -v trust-add --type ad --two-way=true ad.idp.t.dom --admin Administrator
(same command working correctly with Microsoft AD, but i need with Samba AD DC)
but allways I'm getting this error:
ipa: ERROR: an internal error has occurred
Is it even possible to create trust between them? What do I need to do?
Trust between the two should be working. Things to check:
- FreeIPA running on RHEL/CentOS/Fedora and linked with MIT Kerberos. I
assume this part is OK because it works with Microsoft AD in your
- both IPA and Samba AD using the same ciphers. In Fedora 33+/RHEL 8.3+ we
disabled RC4-HMAC by default while Samba AD currently has a bug that
prefers RC4-HMAC which was only fixed this week. Enabling
AD-SUPPORT crypto sub-policy one might make RC4-HMAC working again on
In any way, please provide (off list) server debug logs of your attempt to
establish the trust. I don't need output of your 'ipa' command above.
Instead, httpd's error_log and samba logs are needed as outlined in 
/ Alexander Bokovoy
Sr. Principal Software Engineer
Security / Identity Management Engineering
Red Hat Limited, Finland