[Samba] bug in samba-tool w.r.t. (sub)domains

Andrew Bartlett abartlet at samba.org
Tue Jun 4 15:33:48 MDT 2013


On Tue, 2013-06-04 at 12:20 +0200, NOC wrote:
> Hi all
> 
> I'm trying to import our bind dns data for our domain into samba4 using 
> sambatool. Unfortunately, our domain has lots of (unnecessary) 
> subdomains, but that's hard to revert after a long time. So I will have 
> to parse the bind data and do a zonecreate for each subdomain that comes 
> out of bind. I can deal with this, but it's cumbersome :-(
> 
> The bug I'm talking about is this, when I was trying to add a subdomain, 
> I found that samba4 retains a trailing . (dot), the root of the fqdn 
> tree, which is usually omitted. To make this even weirder, I can add 
> foo.bar.com and foo.bar.com. and both will be listed as pszZoneName when 
> asking samba-tool for "dns zonelist localhost".
> 
> This is treated by samba as a different subdomain, so when I add 
> "x.foo.bar.com" and I later query the address for "x" in subdomain 
> "foo.bar.com.", I get an exception. (Which is also ugly, I'd rather get 
> a nice error message and proper exit code).

I think this just got fixed in master, and might be on the way to the
next 4.0.x.  Can you re-test GIT master so we know if we need to look
into this more?

Thanks,

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba mailing list