Hello Gustavo,
From what I can see, the issue would be PROTOCOL ERROR in whoami command. Could you please check whether all services running? Please run
# ipactl status
and post the output.
And please could you send me the /etc/named.conf? Especially everything after
dyndb "ipa"
line is interesting for us.