The doio_send() function of bind fails on a short write with sendmsg().
See https://bugzilla.redhat.com/show_bug.cgi?id=
1250921
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
f.write("send\n")
f.close()
+ # Set a bigger MTU size to work around a bug in nsupdate's doio_send()
+ os.environ["SOCKET_WRAPPER_MTU"] = "2000"
+
global error_count
if ccachename:
os.environ["KRB5CCNAME"] = ccachename
print("Failed nsupdate: %s : %s" % (str(d), estr))
os.unlink(tmpfile)
+ # Let socket_wrapper set the default MTU size
+ os.environ["SOCKET_WRAPPER_MTU"] = "0"
def rodc_dns_update(d, t, op):