The registry library of SAMBA 4 seems to suffer some problems when connecting to other registry servers over RPC. Whe should have a look at it and try to fix this. E.g. a call "regtree -R <ip address>" fails on current GIT versions. Also, the use of "regtree -R <DNS name of ip address>" gives name resolution problems.
Why was the bug created twice? Close one copy.