Alberto Flórez Castro
2013-Jun-23 19:45 UTC
[Samba] [samba 4.0.6] samba_dnsupdate and samba_spnupdate failling
I have joined a samba 4.0.6 archlinux PC as an additional AD domain controller to an existing windows 2003 active directory domain using the official HOWTO as reference. For DNS I used BIND 9.9.3-P1. The samba PC apparently joined the domain correctly and the database is replicating. But if I look at the log.samba file I see the following messages: [2013/06/23 21:30:44, 0] ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler) /usr/bin/samba_dnsupdate: Failed to exec child - No such file or directory [2013/06/23 21:30:44, 0] ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler) /usr/bin/samba_spnupdate: Failed to exec child - No such file or directory Also I can confirm that the DNS is not updating. If try to execute manually the dns update (samba_dnsupdate --verbose --all-names ) I get: -bash: /usr/bin/samba_dnsupdate: /usr/bin/python2#: bad interpreter: No such file or directory Any ideas about how to solve this issue?. Thank you very much for the help. Alberto.
Andrew Bartlett
2013-Jun-23 22:26 UTC
[Samba] [samba 4.0.6] samba_dnsupdate and samba_spnupdate failling
On Sun, 2013-06-23 at 21:45 +0200, Alberto Fl?rez Castro wrote:> I have joined a samba 4.0.6 archlinux PC as an additional AD domain > controller to an existing windows 2003 active directory domain using the > official HOWTO as reference. For DNS I used BIND 9.9.3-P1. The samba PC > apparently joined the domain correctly and the database is replicating. But > if I look at the log.samba file I see the following messages: > > [2013/06/23 21:30:44, 0] > ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler) > /usr/bin/samba_dnsupdate: Failed to exec child - No such file or directory > [2013/06/23 21:30:44, 0] > ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler) > /usr/bin/samba_spnupdate: Failed to exec child - No such file or directory > > Also I can confirm that the DNS is not updating. If try to execute manually > the dns update (samba_dnsupdate --verbose --all-names > ) I get: > > -bash: /usr/bin/samba_dnsupdate: /usr/bin/python2#: bad interpreter: No > such file or directory > > Any ideas about how to solve this issue?.Insert a newline before the # Alternately, the patch for this is attached, which will be in the next 4.0 release. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-build-Add-missing-new-line-to-replaced-python-sheban.patch Type: text/x-patch Size: 1872 bytes Desc: not available URL: <http://lists.samba.org/pipermail/samba/attachments/20130624/593c1fe9/attachment.bin>