Web lists-archives.com

Re: [Samba] dhcpd create lease error and unable to kinit for dynupdate on domain controller




On Fri, 5 Jan 2018 13:10:10 +0000
niya via samba <samba@xxxxxxxxxxxxxxx> wrote:

> Hi everyone
> following
> https://wiki.archlinux.org/index.php/Samba/Active_Directory_domain_controller#DHCP_with_dynamic_DNS_updates,
> on my samba dc i have installed the dhcp package and the 
> samba-dhcpd-updateAUR package
> there are two unresolved errors that i cannot fix
> 
> 1 -: Can't create new lease file: Permission denied
> 2 -: kinit for dynamic DNS failed
> 
> can anyone offer any suggestions.
> 
> # journalctl
> Jan 02 17:43:28 MYDC dhcpd[25603]: execute_statement argv[0] = 
> /usr/bin/dhcpd-update-samba-dns.sh
> Jan 02 17:43:28 MYDC dhcpd[25603]: execute_statement argv[1] = add
> Jan 02 17:43:28 MYDC dhcpd[25603]: execute_statement argv[2] =
> 192.168.1.233 Jan 02 17:43:28 MYDC dhcpd[25603]: execute_statement
> argv[3] = salaam Jan 02 17:43:29 MYDC dhcpd[25603]: Can't create new
> lease file: Permission denied
> Jan 02 17:43:29 MYDC dhcpd[25603]: DHCPREQUEST for 192.168.1.233 from 
> f0:7b:cb:0e:f6:02 via eth0
> Jan 02 17:43:29 MYDC dhcpd[25603]: DHCPACK on 192.168.1.233 to 
> f0:7b:cb:0e:f6:02 (salaam) via eth0
> Jan 02 17:43:35 MYDC dhcpd[24067]: kinit for dynamic DNS failed
> 
> let me know if i need to send more configuration details.
> shadrock

You are asking the wrong list, the packages you installed have nothing
to do with Samba.

Although it has this in the main script:

echo -e "\n"`basename ${0}` "uses samba-tool to update DNS records in Samba 4's DNS"
echo "server when using INTERNAL DNS or BIND9 DLZ plugin."

I could never get my version of this script to update the internal dns
server.

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba