Internal dns server changed between RC2 & 4.1.0pre1-GIT-2c3a808

Rowland Penny repenny at f2s.com
Mon Oct 15 10:07:35 MDT 2012


Hello, I set Samba 4 RC2 to update the internal nameserver via dhcp 
using a script, this works ok. I have compiled and installed 
4.1.0pre1-GIT-2c3a808 and dhcp updating the nameserver no longer works! 
Everything is the same, only the version of Samba4 has changed

If I run netstat -nlp | grep LISTEN | grep 53 on RC2 I get:

tcp        0      0 192.168.0.5:53          0.0.0.0:* LISTEN      810/samba
tcp6       0      0 fe80::e2cb:4eff:fe06:53 :::* LISTEN      810/samba

But on 4.1.0pre1-GIT-2c3a808 I get:

tcp        0      0 0.0.0.0:53              0.0.0.0:* LISTEN      
22350/samba
tcp6       0      0 :::53                   :::* LISTEN      22350/samba

If I run the script manually: /usr/local/sbin/dhcp-dyndns.sh add 
192.168.0.171 LinPad
I get:
root at adserver:~# dns_tkey_negotiategss: TKEY is unacceptable
specified zone '0.168.192.in-addr.arpa' does not exist (NXDOMAIN)
dhcpd: DDNS: adding records for 192.168.0.171 <LinPad.home.lan> FAILED: 
status 10

Why is the TKEY suddenly unacceptable? and why is it saying the reverse 
zone does not exist when it does, as I created it and samba-tool lists it?.

samba-tool dns zonelist 192.168.0.10
Password for [administrator at HOME.LAN]:
   3 zone(s) found

   pszZoneName                 : 0.168.192.in-addr.arpa
   Flags                       : DNS_RPC_ZONE_DSINTEGRATED 
DNS_RPC_ZONE_UPDATE_SECURE
   ZoneType                    : DNS_ZONE_TYPE_PRIMARY
   Version                     : 50
   dwDpFlags                   : DNS_DP_AUTOCREATED 
DNS_DP_DOMAIN_DEFAULT DNS_DP_ENLISTED
   pszDpFqdn                   : DomainDnsZones.home.lan

   pszZoneName                 : home.lan
   Flags                       : DNS_RPC_ZONE_DSINTEGRATED 
DNS_RPC_ZONE_UPDATE_SECURE
   ZoneType                    : DNS_ZONE_TYPE_PRIMARY
   Version                     : 50
   dwDpFlags                   : DNS_DP_AUTOCREATED 
DNS_DP_DOMAIN_DEFAULT DNS_DP_ENLISTED
   pszDpFqdn                   : DomainDnsZones.home.lan

   pszZoneName                 : _msdcs.home.lan
   Flags                       : DNS_RPC_ZONE_DSINTEGRATED 
DNS_RPC_ZONE_UPDATE_SECURE
   ZoneType                    : DNS_ZONE_TYPE_PRIMARY
   Version                     : 50
   dwDpFlags                   : DNS_DP_AUTOCREATED 
DNS_DP_FOREST_DEFAULT DNS_DP_ENLISTED
   pszDpFqdn                   : ForestDnsZones.home.lan

Something must have changed between RC2 & 4.1.0pre1-GIT-2c3a808, so how 
do I work round it, or am I missing something obvious?

Rowland

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba-technical mailing list