Removing the DNS entry for a member server when leaving a domain ...
Kai Blin
kai at samba.org
Sun Mar 3 03:50:22 MST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2013-03-01 22:15, Richard Sharpe wrote:
Hi Richard,
> I have been asked to make the net ads leave command remove the
> DDNS entry it adds when we join a domain.
>
> As an aside, I see that Microsoft, at least with Win7 does not seem
> to use RFC compliant RRs when deleting records. It uses CLASS: NONE
> when the RFC says to use CLASS: ANY.
Do you have a network capture of that?
> In any event, it would seem that I can reuse the existing
> infrastructure passing an extra parameter to net_update_dns,
> DoDNSUpdate and friends to indicate that an Add or Delete is
> required. It seems that we should delete the DNS record before we
> delete the machine account in net_ads_leave as well.
>
> Any comments?
Please don't. lib/addns is a mess already, and it's not really covered
by test code either.
We've got the start of a new DNS library with an IDL-based parser in
libcli/dns. It's by no means complete yet, but really is the code base
we should be adding new things to.
Cheers,
Kai
- --
Kai Blin
Worldforge developer http://www.worldforge.org/
Wine developer http://wiki.winehq.org/KaiBlin
Samba team member http://www.samba.org/samba/team/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlEzKugACgkQEKXX/bF2FpSEZQCeNo6EbwVCBKwAeiV7nhYyjcGP
pJoAoKLnDzn7v7lJ68E22b2XErCbSAcY
=OQnM
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list