[PATCH] fix for bug 10882

Rowland Penny repenny241155 at gmail.com
Thu Sep 8 17:33:44 UTC 2016


I am posting this at Jeremy's request, this Patch along with Garmin's
Patch, fixes the inability to recreate a deleted Bind user 'dns-*' with
samba_upgradedns.

It is quite a simple patch, it move the deletion of the users from the
bottom of the script (where they are only deleted if you are upgrading
to the internal dns server and they exist) to midway in the script
before the script portions for 'BIND9_DLZ' and 'SAMBA_INTERNAL'.
It doesn't matter if they are deleted here, this is because if they are
required, they will be created again.

This has always worked for me since I wrote it two months ago, it just
didn't work if your AD DC was created with an old version, Garmin's
patch fixes this.

Jeremy asked me to post Garmin's patch, but it is already posted here:

https://lists.samba.org/archive/samba-technical/2016-September/116018.html

Rowland
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba_upgradedns-fix-for-bug-10882.patch
Type: text/x-patch
Size: 7096 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160908/d26ddc01/samba_upgradedns-fix-for-bug-10882.bin>


More information about the samba-technical mailing list