Bug 9641 - Samba hands out stale IP address
Summary: Samba hands out stale IP address
Status: RESOLVED INVALID
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: DNS server (show other bugs)
Version: 4.0.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Kai Blin
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-07 04:18 UTC by Nick Semenkovich
Modified: 2013-04-24 04:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Semenkovich 2013-02-07 04:18:05 UTC
I'm running samba4 on ubuntu (4.0.0+dfsg1-1), on a machine that has had a variety of DHCP-assigned IPs.

When I installed samba4, this machine had the IP of 192.168.1.103.

Now, it has a DHCP assigned value of 192.168.0.2

dig +short @192.168.0.2 machine.corp.example.com:
192.168.1.103

dig +short @192.168.0.2 machine
192.168.0.2

I'm sure this is samba4 replying, and the upstream forwarding nameserver actually returns the correct (192.168.0.2) value for both. samba4 has clearly cached this somewhere.


The logs show nothing of interest, except for:

> Not authoritative for 'machine', forwarding    [so the correct value is coming from the upstream DNS]
Comment 1 Nick Semenkovich 2013-02-07 04:24:47 UTC
(Just to be clear about the timeline, this machine was installed w/ an IP of 192.168.1.103, but hasn't had that IP for days, and has been restarted since then.)
Comment 2 Nick Semenkovich 2013-02-07 05:22:42 UTC
Resolved by re-provisioning the DC with:

> samba-tool domain provision