Bug 5704 - Registry backend: Connection problems to remote registry servers
Registry backend: Connection problems to remote registry servers
Product: Samba 4.0
Classification: Unclassified
Component: Other
All All
: P3 major
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2008-08-19 13:52 UTC by Matthias Dieter Wallnöfer
Modified: 2013-07-03 03:25 UTC (History)
0 users

See Also:

Patch to fix WERR_NOMEM (4.05 KB, patch)
2008-08-19 13:56 UTC, Matthias Dieter Wallnöfer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Dieter Wallnöfer 2008-08-19 13:52:36 UTC
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.
Comment 1 Matthias Dieter Wallnöfer 2008-08-19 13:56:42 UTC
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.
Comment 2 Matthias Dieter Wallnöfer 2008-08-20 13:51:26 UTC
"regtree -R <DNS name of ip address>" failed because I had a DNS problem. Also, nothing wrong here!
Comment 3 Andrew Bartlett 2008-09-09 03:45:09 UTC
Please break patches up if possible.  For example, don't mix two useful "regshell" fixes/improvements with the NOMEM fixes.
Comment 4 Matthias Dieter Wallnöfer 2008-09-09 05:52:16 UTC
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.
Comment 5 Matthias Dieter Wallnöfer 2008-09-09 14:45:52 UTC
Also here an URL to a GIT branch, where I checked the fixes in.
Comment 6 Jelmer Vernooij 2008-09-09 17:06:12 UTC
merged, thanks!
Comment 7 Matthias Dieter Wallnöfer 2008-09-09 17:24:08 UTC
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 8 Matthias Dieter Wallnöfer 2008-09-12 10:51:09 UTC
Comment on attachment 3494 [details]
Patch to fix WERR_NOMEM

Patches are provided in my GIT repository, so this is obsolete now.
Comment 9 Matthias Dieter Wallnöfer 2008-09-22 11:15:36 UTC
Fixed with registry branch merge.