I invoked this command with --external=true, but result is the same:
ipa trust-add --type=ad my.domain.com --admin adminaccount --password --external=true Active Directory domain administrator's password: ipa: ERROR: CIFS server communication error: code "-1073741801", message "Memory allocation error" (both may be "None")