samba_dnsupdate and nsupdate issues

Andreas Schneider asn at samba.org
Thu Jun 16 08:07:30 UTC 2016


On Thursday, 16 June 2016 08:38:04 CEST Garming Sam wrote:
> The branch, master has been updated
>        via  e2743b1 flapping: temporarily add samba_dnsupdate test

Hi Garming,

in samba_dnsupdate set the environment variable SOCKET_WRAPPER_MTU=3000 then 
nsupdate will work.

Details are here:

https://bugzilla.redhat.com/show_bug.cgi?id=1250921


After you set the MTU you could try if the following works:

https://git.cryptomilk.org/projects/resolv_wrapper.git/log/?h=master-dns

Compile and install resolve_wrapper from this branch and install it in the 
system, run configure so Samba uses the system one, then try 'make test' with:

 selftest/wscript | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/selftest/wscript b/selftest/wscript
index 61ca0bd..e93af4c 100644
--- a/selftest/wscript
+++ b/selftest/wscript
@@ -207,11 +207,9 @@ def cmd_testonly(opt):
     env.OPTIONS += " --socket_wrapper_so_path=" + CONFIG_GET(opt, 
'LIBSOCKET_WRAPPER_SO_PATH')
     env.OPTIONS += " --uid_wrapper_so_path=" + CONFIG_GET(opt, 
'LIBUID_WRAPPER_SO_PATH')
 
-    #if unversioned_sys_platform in ('freebsd', 'netbsd', 'openbsd', 
'sunos'):
-    #    env.OPTIONS += " --use-dns-faking"
+    if unversioned_sys_platform in ('freebsd', 'netbsd', 'openbsd', 'sunos'):
+        env.OPTIONS += " --use-dns-faking"
 
-    # FIXME REMOVE ME!
-    env.OPTIONS += " --use-dns-faking"
 
 
     subunit_cache = None



Cheers,


	-- andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org



More information about the samba-technical mailing list