Hello Samba Group Today installing the Samba Version 4.11.7-Debian pkg from Louis, Thanks Louis !! The Server will running but watching on the service i have DNS Problmes. Please can give me any update here : what are runing wrong. -- samba-ad-dc.service - Samba AD Daemon Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-03-23 13:48:27 CET; 17min ago Docs: man:samba(8) man:samba(7) man:smb.conf(5) Main PID: 4339 (samba) Status: "smbd: ready to serve connections..." Tasks: 61 (limit: 4915) Memory: 190.5M CGroup: /system.slice/samba-ad-dc.service +-4339 samba: root process +-4340 samba: tfork waiter process +-4341 samba: task[s3fs] pre-fork master +-4342 samba: tfork waiter process +-4343 samba: task[rpc] pre-fork master +-4344 samba: tfork waiter process +-4345 samba: tfork waiter process +-4346 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground +-4347 samba: tfork waiter process +-4348 samba: task[nbt] pre-fork master +-4349 samba: tfork waiter process +-4350 samba: task[rpc] pre-forked worker(0) +-4351 samba: tfork waiter process +-4352 samba: task[rpc] pre-forked worker(1) +-4353 samba: tfork waiter process +-4354 samba: task[wrepl] pre-fork master +-4355 samba: tfork waiter process +-4356 samba: task[rpc] pre-forked worker(2) +-4357 samba: task[ldap] pre-fork master +-4358 samba: tfork waiter process +-4359 samba: tfork waiter process +-4360 samba: task[rpc] pre-forked worker(3) +-4361 samba: task[cldap] pre-fork master +-4362 samba: tfork waiter process +-4363 samba: task[kdc] pre-fork master +-4364 samba: tfork waiter process +-4365 samba: tfork waiter process +-4366 samba: task[drepl] pre-fork master +-4367 samba: tfork waiter process +-4368 samba: task[kdc] pre-forked worker(0) +-4369 samba: tfork waiter process +-4370 samba: task[winbindd] pre-fork master +-4371 samba: task[kdc] pre-forked worker(1) +-4372 samba: tfork waiter process +-4373 samba: task[ntp_signd] pre-fork master +-4374 samba: tfork waiter process +-4375 samba: tfork waiter process +-4376 samba: task[kdc] pre-forked worker(2) +-4377 samba: tfork waiter process +-4378 samba: tfork waiter process +-4379 samba: task[kcc] pre-fork master +-4380 samba: tfork waiter process +-4381 samba: task[kdc] pre-forked worker(3) +-4382 samba: task[dnsupdate] pre-fork master +-4383 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground +-4384 samba: tfork waiter process +-4385 samba: task[dns] pre-fork master +-4391 samba: tfork waiter process +-4392 samba: task[ldap] pre-forked worker(0) +-4393 samba: tfork waiter process +-4394 samba: task[ldap] pre-forked worker(1) +-4395 samba: tfork waiter process +-4396 samba: task[ldap] pre-forked worker(2) +-4397 samba: tfork waiter process +-4398 samba: task[ldap] pre-forked worker(3) +-4400 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground +-4401 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground +-4402 winbindd: domain child [CALORO] +-4403 winbindd: idmap child +-4404 winbindd: domain child [BUILTIN] L-4405 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.436846, 0] ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) Mar 23 13:58:27 AD samba[4382]: /usr/sbin/samba_dnsupdate: File "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line 945, in run Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.436862, 0] ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) Mar 23 13:58:27 AD samba[4382]: /usr/sbin/samba_dnsupdate: raise e Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.436876, 0] ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) Mar 23 13:58:27 AD samba[4382]: /usr/sbin/samba_dnsupdate: File "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line 941, in run Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.436891, 0] ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) Mar 23 13:58:27 AD samba[4382]: /usr/sbin/samba_dnsupdate: 0, server, zone, name, add_rec_buf, None) Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.457399, 0] ../../source4/dsdb/dns/dns_update.c:331(dnsupdate_nameupdate_done) Mar 23 13:58:27 AD samba[4382]: dnsupdate_nameupdate_done: Failed DNS update with exit code 23 root at AD:/home/mauri# root at AD:/home/mauri# cat /etc/samba/smb.conf # Global parameters [global] dns forwarder = 192.168.1.9 netbios name = AD realm = CALORO.M server role = active directory domain controller workgroup = CALORO idmap_ldb:use rfc2307 = yes [sysvol] path = /var/lib/samba/sysvol read only = No [netlogon] path = /var/lib/samba/sysvol/caloro.m/scripts read only = No root at AD:/home/mauri# root at AD:/home/mauri# cat /etc/hostname AD root at AD:/home/mauri# cat /etc/hosts 127.0.0.1 localhost 192.168.1.7 AD.Caloro.m AD # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
Your welkom Can you run this : https://raw.githubusercontent.com/thctlo/samba4/master/samba-collect-debug-info.sh Anonimize where needed. That should tell use enough to see whats going on. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > mauri via samba > Verzonden: maandag 23 maart 2020 14:13 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Samba still DNS Exit Code 23 > > Hello Samba Group > > > > Today installing the Samba Version 4.11.7-Debian pkg from > Louis, Thanks > Louis !! > The Server will running but watching on the service i have > DNS Problmes. > > > > Please can give me any update here : what are runing wrong. > > > > > > -- > > > > samba-ad-dc.service - Samba AD Daemon > > Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; > enabled; vendor > preset: enabled) > > Active: active (running) since Mon 2020-03-23 13:48:27 > CET; 17min ago > > Docs: man:samba(8) > > man:samba(7) > > man:smb.conf(5) > > Main PID: 4339 (samba) > > Status: "smbd: ready to serve connections..." > > Tasks: 61 (limit: 4915) > > Memory: 190.5M > > CGroup: /system.slice/samba-ad-dc.service > > +-4339 samba: root process > > +-4340 samba: tfork waiter process > > +-4341 samba: task[s3fs] pre-fork master > > +-4342 samba: tfork waiter process > > +-4343 samba: task[rpc] pre-fork master > > +-4344 samba: tfork waiter process > > +-4345 samba: tfork waiter process > > +-4346 /usr/sbin/smbd -D --option=server role > check:inhibit=yes > --foreground > > +-4347 samba: tfork waiter process > > +-4348 samba: task[nbt] pre-fork master > > +-4349 samba: tfork waiter process > > +-4350 samba: task[rpc] pre-forked worker(0) > > +-4351 samba: tfork waiter process > > +-4352 samba: task[rpc] pre-forked worker(1) > > +-4353 samba: tfork waiter process > > +-4354 samba: task[wrepl] pre-fork master > > +-4355 samba: tfork waiter process > > +-4356 samba: task[rpc] pre-forked worker(2) > > +-4357 samba: task[ldap] pre-fork master > > +-4358 samba: tfork waiter process > > +-4359 samba: tfork waiter process > > +-4360 samba: task[rpc] pre-forked worker(3) > > +-4361 samba: task[cldap] pre-fork master > > +-4362 samba: tfork waiter process > > +-4363 samba: task[kdc] pre-fork master > > +-4364 samba: tfork waiter process > > +-4365 samba: tfork waiter process > > +-4366 samba: task[drepl] pre-fork master > > +-4367 samba: tfork waiter process > > +-4368 samba: task[kdc] pre-forked worker(0) > > +-4369 samba: tfork waiter process > > +-4370 samba: task[winbindd] pre-fork master > > +-4371 samba: task[kdc] pre-forked worker(1) > > +-4372 samba: tfork waiter process > > +-4373 samba: task[ntp_signd] pre-fork master > > +-4374 samba: tfork waiter process > > +-4375 samba: tfork waiter process > > +-4376 samba: task[kdc] pre-forked worker(2) > > +-4377 samba: tfork waiter process > > +-4378 samba: tfork waiter process > > +-4379 samba: task[kcc] pre-fork master > > +-4380 samba: tfork waiter process > > +-4381 samba: task[kdc] pre-forked worker(3) > > +-4382 samba: task[dnsupdate] pre-fork master > > +-4383 /usr/sbin/winbindd -D --option=server role > check:inhibit=yes --foreground > > +-4384 samba: tfork waiter process > > +-4385 samba: task[dns] pre-fork master > > +-4391 samba: tfork waiter process > > +-4392 samba: task[ldap] pre-forked worker(0) > > +-4393 samba: tfork waiter process > > +-4394 samba: task[ldap] pre-forked worker(1) > > +-4395 samba: tfork waiter process > > +-4396 samba: task[ldap] pre-forked worker(2) > > +-4397 samba: tfork waiter process > > +-4398 samba: task[ldap] pre-forked worker(3) > > +-4400 /usr/sbin/smbd -D --option=server role > check:inhibit=yes > --foreground > > +-4401 /usr/sbin/smbd -D --option=server role > check:inhibit=yes > --foreground > > +-4402 winbindd: domain child [CALORO] > > +-4403 winbindd: idmap child > > +-4404 winbindd: domain child [BUILTIN] > > L-4405 /usr/sbin/smbd -D --option=server role > check:inhibit=yes > --foreground > > > > Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.436846, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > > Mar 23 13:58:27 AD samba[4382]: /usr/sbin/samba_dnsupdate: File > "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line 945, in run > > Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.436862, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > > Mar 23 13:58:27 AD samba[4382]: /usr/sbin/samba_dnsupdate: > raise e > > Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.436876, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > > Mar 23 13:58:27 AD samba[4382]: /usr/sbin/samba_dnsupdate: File > "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line 941, in run > > Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.436891, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > > Mar 23 13:58:27 AD samba[4382]: /usr/sbin/samba_dnsupdate: > 0, server, > zone, name, add_rec_buf, None) > > Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.457399, 0] > ../../source4/dsdb/dns/dns_update.c:331(dnsupdate_nameupdate_done) > > Mar 23 13:58:27 AD samba[4382]: dnsupdate_nameupdate_done: > Failed DNS > update with exit code 23 > > root at AD:/home/mauri# > > > > > > > > root at AD:/home/mauri# cat /etc/samba/smb.conf > > # Global parameters > > [global] > > dns forwarder = 192.168.1.9 > > netbios name = AD > > realm = CALORO.M > > server role = active directory domain controller > > workgroup = CALORO > > idmap_ldb:use rfc2307 = yes > > > > [sysvol] > > path = /var/lib/samba/sysvol > > read only = No > > > > [netlogon] > > path = /var/lib/samba/sysvol/caloro.m/scripts > > read only = No > > root at AD:/home/mauri# > > > > > > root at AD:/home/mauri# cat /etc/hostname > > AD > > > > root at AD:/home/mauri# cat /etc/hosts > > 127.0.0.1 localhost > > 192.168.1.7 AD.Caloro.m AD > > > > # The following lines are desirable for IPv6 capable hosts > > ::1 localhost ip6-localhost ip6-loopback > > ff02::1 ip6-allnodes > > ff02::2 ip6-allrouters > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Meny thanks for our fast answer ! root at AD:/source# cat /tmp/samba-debug-info.txt Collected config --- 2020-03-23-15:57 ----------- Hostname: AD DNS Domain: Caloro.m FQDN: AD.Caloro.m ipaddress: 192.168.1.7 ----------- Kerberos SRV _kerberos._tcp.Caloro.m record verified ok, sample output: Server: 192.168.1.9 Address: 192.168.1.9#53 _kerberos._tcp.caloro.m service = 0 0 88 AD.CALORO.M. -----Urspr?ngliche Nachricht----- Von: maurizio at caloro.ch <maurizio at caloro.ch> Gesendet: Montag, 23. M?rz 2020 15:45 An: 'L.P.H. van Belle' <belle at bazuin.nl> Betreff: AW: [Samba] Samba still DNS Exit Code 23 Meny thanks for our fast answer ! root at AD:/source# ./samba-collect-debug-info.sh Please wait, collecting debug info. Password for Administrator at CALORO.M: kinit: Client 'Administrator at CALORO.M' not found in Kerberos database while getting initial credentials Wrong password or kerberos REALM problems, exiting now. smbpasswd -a administrator, but the same issue ----- krb5-kdc.service - Kerberos 5 Key Distribution Center Active: active (running) since Mon 2020-03-23 14:52:35 CET; 10min ago Mar 23 14:56:32 AD krb5kdc[7571]: AS_REQ (8 etypes {18 17 20 19 16 23 25 26}) 192.168.1.7: CLIENT_NOT_FOUND: Administrator at CALORO.M for krbtgt/CALORO.M at CALORO.M, Client not found in Kerberos database Mar 23 14:56:32 AD krb5kdc[7571]: closing down fd 14 Mar 23 14:56:55 AD krb5kdc[7571]: AS_REQ (8 etypes {18 17 20 19 16 23 25 26}) 192.168.1.7: CLIENT_NOT_FOUND: Administrator at CALORO.M for krbtgt/CALORO.M at CALORO.M, Client not found in Kerberos database Mar 23 14:56:55 AD krb5kdc[7571]: closing down fd 14 root at AD:/source# cat /var/log/kadmin.log Mar 23 15:09:43 AD kadmin.local[8770](info): No dictionary file specified, continuing without one. Thanks -----Urspr?ngliche Nachricht----- Von: samba <samba-bounces at lists.samba.org> Im Auftrag von L.P.H. van Belle via samba Gesendet: Montag, 23. M?rz 2020 14:25 An: samba at lists.samba.org Cc: maurizio at caloro.ch Betreff: Re: [Samba] Samba still DNS Exit Code 23 Your welkom Can you run this : https://raw.githubusercontent.com/thctlo/samba4/master/samba-collect-debug-info.sh Anonimize where needed. That should tell use enough to see whats going on. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens mauri via > samba > Verzonden: maandag 23 maart 2020 14:13 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Samba still DNS Exit Code 23 > > Hello Samba Group > > > > Today installing the Samba Version 4.11.7-Debian pkg from Louis, > Thanks Louis !! > The Server will running but watching on the service i have DNS > Problmes. > > > > Please can give me any update here : what are runing wrong. > > > > > > -- > > > > samba-ad-dc.service - Samba AD Daemon > > Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; > enabled; vendor > preset: enabled) > > Active: active (running) since Mon 2020-03-23 13:48:27 CET; 17min > ago > > Docs: man:samba(8) > > man:samba(7) > > man:smb.conf(5) > > Main PID: 4339 (samba) > > Status: "smbd: ready to serve connections..." > > Tasks: 61 (limit: 4915) > > Memory: 190.5M > > CGroup: /system.slice/samba-ad-dc.service > > +-4339 samba: root process > > +-4340 samba: tfork waiter process > > +-4341 samba: task[s3fs] pre-fork master > > +-4342 samba: tfork waiter process > > +-4343 samba: task[rpc] pre-fork master > > +-4344 samba: tfork waiter process > > +-4345 samba: tfork waiter process > > +-4346 /usr/sbin/smbd -D --option=server role > check:inhibit=yes --foreground > > +-4347 samba: tfork waiter process > > +-4348 samba: task[nbt] pre-fork master > > +-4349 samba: tfork waiter process > > +-4350 samba: task[rpc] pre-forked worker(0) > > +-4351 samba: tfork waiter process > > +-4352 samba: task[rpc] pre-forked worker(1) > > +-4353 samba: tfork waiter process > > +-4354 samba: task[wrepl] pre-fork master > > +-4355 samba: tfork waiter process > > +-4356 samba: task[rpc] pre-forked worker(2) > > +-4357 samba: task[ldap] pre-fork master > > +-4358 samba: tfork waiter process > > +-4359 samba: tfork waiter process > > +-4360 samba: task[rpc] pre-forked worker(3) > > +-4361 samba: task[cldap] pre-fork master > > +-4362 samba: tfork waiter process > > +-4363 samba: task[kdc] pre-fork master > > +-4364 samba: tfork waiter process > > +-4365 samba: tfork waiter process > > +-4366 samba: task[drepl] pre-fork master > > +-4367 samba: tfork waiter process > > +-4368 samba: task[kdc] pre-forked worker(0) > > +-4369 samba: tfork waiter process > > +-4370 samba: task[winbindd] pre-fork master > > +-4371 samba: task[kdc] pre-forked worker(1) > > +-4372 samba: tfork waiter process > > +-4373 samba: task[ntp_signd] pre-fork master > > +-4374 samba: tfork waiter process > > +-4375 samba: tfork waiter process > > +-4376 samba: task[kdc] pre-forked worker(2) > > +-4377 samba: tfork waiter process > > +-4378 samba: tfork waiter process > > +-4379 samba: task[kcc] pre-fork master > > +-4380 samba: tfork waiter process > > +-4381 samba: task[kdc] pre-forked worker(3) > > +-4382 samba: task[dnsupdate] pre-fork master > > +-4383 /usr/sbin/winbindd -D --option=server role > check:inhibit=yes --foreground > > +-4384 samba: tfork waiter process > > +-4385 samba: task[dns] pre-fork master > > +-4391 samba: tfork waiter process > > +-4392 samba: task[ldap] pre-forked worker(0) > > +-4393 samba: tfork waiter process > > +-4394 samba: task[ldap] pre-forked worker(1) > > +-4395 samba: tfork waiter process > > +-4396 samba: task[ldap] pre-forked worker(2) > > +-4397 samba: tfork waiter process > > +-4398 samba: task[ldap] pre-forked worker(3) > > +-4400 /usr/sbin/smbd -D --option=server role > check:inhibit=yes --foreground > > +-4401 /usr/sbin/smbd -D --option=server role > check:inhibit=yes --foreground > > +-4402 winbindd: domain child [CALORO] > > +-4403 winbindd: idmap child > > +-4404 winbindd: domain child [BUILTIN] > > L-4405 /usr/sbin/smbd -D --option=server role > check:inhibit=yes --foreground > > > > Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.436846, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > > Mar 23 13:58:27 AD samba[4382]: /usr/sbin/samba_dnsupdate: File > "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line 945, in run > > Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.436862, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > > Mar 23 13:58:27 AD samba[4382]: /usr/sbin/samba_dnsupdate: > raise e > > Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.436876, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > > Mar 23 13:58:27 AD samba[4382]: /usr/sbin/samba_dnsupdate: File > "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line 941, in run > > Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.436891, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > > Mar 23 13:58:27 AD samba[4382]: /usr/sbin/samba_dnsupdate: > 0, server, > zone, name, add_rec_buf, None) > > Mar 23 13:58:27 AD samba[4382]: [2020/03/23 13:58:27.457399, 0] > ../../source4/dsdb/dns/dns_update.c:331(dnsupdate_nameupdate_done) > > Mar 23 13:58:27 AD samba[4382]: dnsupdate_nameupdate_done: > Failed DNS > update with exit code 23 > > root at AD:/home/mauri# > > > > > > > > root at AD:/home/mauri# cat /etc/samba/smb.conf > > # Global parameters > > [global] > > dns forwarder = 192.168.1.9 > > netbios name = AD > > realm = CALORO.M > > server role = active directory domain controller > > workgroup = CALORO > > idmap_ldb:use rfc2307 = yes > > > > [sysvol] > > path = /var/lib/samba/sysvol > > read only = No > > > > [netlogon] > > path = /var/lib/samba/sysvol/caloro.m/scripts > > read only = No > > root at AD:/home/mauri# > > > > > > root at AD:/home/mauri# cat /etc/hostname > > AD > > > > root at AD:/home/mauri# cat /etc/hosts > > 127.0.0.1 localhost > > 192.168.1.7 AD.Caloro.m AD > > > > # The following lines are desirable for IPv6 capable hosts > > ::1 localhost ip6-localhost ip6-loopback > > ff02::1 ip6-allnodes > > ff02::2 ip6-allrouters > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba