Rowland penny
2021-Jan-29 16:05 UTC
[Samba] Dynamic Updates to Bind DLZ through DHCP have repeated errors in syslog
On 29/01/2021 15:56, ralph strebbing wrote:> On Fri, Jan 29, 2021 at 10:09 AM Rowland penny via samba > <samba at lists.samba.org> wrote: >> No, I wanted the OP to try it out before updating the wiki, that was >> before I found out the OP was misusing the script. The changes are >> pretty simple, 'DHCID' is now only used if the script stores >> 'macAddress' in AD, so the check for it has been moved to that section >> and is now not fatal to the main part of the script. > I'll ask this then, what is the correct use of the script? And I'm > asking this in the most respectful way I can via text, because I was > under the assumption originally that I was using the script in the way > it was intended. > > Thanks, > RalphThe script was designed to take output from the dhcp server and use that to update the Samba AD DC dns records in AD. You, by your own admission, are letting it do that, but then trample all over it by changing IP's manually. If you require the computer to have a different IP when in production, then I would suggest you set it up with a fixed IP in the first place and not use dhcp at all. Rowland
ralph strebbing
2021-Jan-29 16:16 UTC
[Samba] Dynamic Updates to Bind DLZ through DHCP have repeated errors in syslog
On Fri, Jan 29, 2021 at 11:05 AM Rowland penny via samba <samba at lists.samba.org> wrote:> The script was designed to take output from the dhcp server and use that > to update the Samba AD DC dns records in AD. You, by your own admission, > are letting it do that, but then trample all over it by changing IP's > manually. If you require the computer to have a different IP when in > production, then I would suggest you set it up with a fixed IP in the > first place and not use dhcp at all.Understood, and that will be handled appropriately as we encounter it moving forward, I appreciate the professional advice on this more than I'm likely expressing. My only continuing issue using this script (and I believe my last comment on this thread before today) is why the script completes its task (correctly from what i can tell), but still reports that it failed according to it's result codes that you gather for the check? Also, as I continued to test how well it will work with regards to expiring leases as they happen naturally (shortened lease time to 10 min), the delete function fails as it can't find the records with the given args (Log link below): http://haste.thegamingcorner.net/zunivocivo.sql Thanks Again, Ralph