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.
Created attachment 3494 [details] Patch to fix WERR_NOMEM A first patch which fixes the WERR_NOMEM problem. This was caused due a missing event context pointer. The patch contains also two useful "regshell" fixes/improvements.
"regtree -R <DNS name of ip address>" failed because I had a DNS problem. Also, nothing wrong here!
Please break patches up if possible. For example, don't mix two useful "regshell" fixes/improvements with the NOMEM fixes.
That's a bit difficult here, because parts of the corrections are located in the same file (regshell.c). I could send you the two useful regshell corrections as standalone patch file.
Also here an URL to a GIT branch, where I checked the fixes in.
merged, thanks!
I'd keep it open until everything works properly. We aren't done yet, because WINREG servers seem to break when they are connected to our SAMBA 4 registry client.
Comment on attachment 3494 [details] Patch to fix WERR_NOMEM Patches are provided in my GIT repository, so this is obsolete now.
Fixed with registry branch merge.