On 07/25/2019 11:35 AM, Rowland penny via samba wrote:> Well, 'WERR' is short for 'Windows Error' (I think) and > 'DNS_ERROR_DS_UNAVAILABLE' is supposed to mean that the Directory > Service is unavailable. Is something getting in the way (Apparmor, > Selinux, a firewall etc). Is Samba actually running ? Are you using > Bind9, if so, is it running and set up correctly ?I don't know what Apparmor is, selinux is not installed, and no firewall at this time is configured. Not using Bind9. Is samba running?? Well: athena:~# systemctl status samba-ad-dc.service ? samba-ad-dc.service - Samba AD Daemon ?? Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; disabled; vendor preset: enabled) ?? Active: active (running) since Thu 2019-07-18 14:26:00 CDT; 6 days ago ???? Docs: man:samba(8) ?????????? man:samba(7) ?????????? man:smb.conf(5) ?Main PID: 3198 (samba) ?? Status: "winbindd: ready to serve connections..." ??? Tasks: 24 (limit: 4915) ?? Memory: 439.9M ?? CGroup: /system.slice/samba-ad-dc.service ?????????? ?? 3198 samba: root process ?????????? ?? 3199 samba: task[s3fs_parent] ?????????? ?? 3200 samba: task[dcesrv] ?????????? ?? 3201 samba: tfork waiter process ?????????? ?? 3202 samba: task[nbtd] ?????????? ?? 3203 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground ?????????? ?? 3204 samba: task[wrepl] ?????????? ?? 3205 samba: task[ldapsrv] ?????????? ?? 3206 samba: task[cldapd] ?????????? ?? 3207 samba: conn[kdc_tcp] c[ipv4:10.10.10.204:55740] s[ipv4:10.10.1.10:88] server_id[3207.3] ?????????? ?? 3208 samba: task[dreplsrv] ?????????? ?? 3209 samba: task[winbindd_parent] ?????????? ?? 3210 samba: task[ntp_signd] ?????????? ?? 3211 samba: task[kccsrv] ?????????? ?? 3212 samba: task[dnsupdate] ?????????? ?? 3213 samba: tfork waiter process ?????????? ?? 3214 samba: conn[dns_tcp] c[ipv4:10.10.10.242:63297] s[ipv4:10.10.1.10:53] server_id[3214.41] ?????????? ?? 3215 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground ?????????? ?? 3223 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground ?????????? ?? 3225 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground ?????????? ?? 3445 winbindd: domain child [EDM] ?????????? ?? 3446 winbindd: idmap child ?????????? ??16924 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground ?????????? ??20302 winbindd: domain child [BUILTIN] Jul 25 11:46:16 athena samba[3208]: task[dreplsrv][3208]: [2019/07/25 11:46:16.392261,? 0] ../source4/dsdb/repl/drepl_out_helpers.c:1030(dre -- Bob Wooldridge EDM Incorporated
On 25/07/2019 17:52, Robert A Wooldridge via samba wrote:> On 07/25/2019 11:35 AM, Rowland penny via samba wrote: >> Well, 'WERR' is short for 'Windows Error' (I think) and >> 'DNS_ERROR_DS_UNAVAILABLE' is supposed to mean that the Directory >> Service is unavailable. Is something getting in the way (Apparmor, >> Selinux, a firewall etc). Is Samba actually running ? Are you using >> Bind9, if so, is it running and set up correctly ? > I don't know what Apparmor is, selinux is not installed, and no > firewall at this time is configured. > > Not using Bind9. > > Is samba running?? Well: > > athena:~# systemctl status samba-ad-dc.service > ? samba-ad-dc.service - Samba AD Daemon > ?? Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; disabled; > vendor preset: enabled) > ?? Active: active (running) since Thu 2019-07-18 14:26:00 CDT; 6 days ago > ???? Docs: man:samba(8) > ?????????? man:samba(7) > ?????????? man:smb.conf(5) > ?Main PID: 3198 (samba) > ?? Status: "winbindd: ready to serve connections..." > ??? Tasks: 24 (limit: 4915) > ?? Memory: 439.9M > ?? CGroup: /system.slice/samba-ad-dc.service > ?????????? ?? 3198 samba: root process > ?????????? ?? 3199 samba: task[s3fs_parent] > ?????????? ?? 3200 samba: task[dcesrv] > ?????????? ?? 3201 samba: tfork waiter process > ?????????? ?? 3202 samba: task[nbtd] > ?????????? ?? 3203 /usr/sbin/smbd -D --option=server role > check:inhibit=yes --foreground > ?????????? ?? 3204 samba: task[wrepl] > ?????????? ?? 3205 samba: task[ldapsrv] > ?????????? ?? 3206 samba: task[cldapd] > ?????????? ?? 3207 samba: conn[kdc_tcp] c[ipv4:10.10.10.204:55740] > s[ipv4:10.10.1.10:88] server_id[3207.3] > ?????????? ?? 3208 samba: task[dreplsrv] > ?????????? ?? 3209 samba: task[winbindd_parent] > ?????????? ?? 3210 samba: task[ntp_signd] > ?????????? ?? 3211 samba: task[kccsrv] > ?????????? ?? 3212 samba: task[dnsupdate] > ?????????? ?? 3213 samba: tfork waiter process > ?????????? ?? 3214 samba: conn[dns_tcp] c[ipv4:10.10.10.242:63297] > s[ipv4:10.10.1.10:53] server_id[3214.41] > ?????????? ?? 3215 /usr/sbin/winbindd -D --option=server role > check:inhibit=yes --foreground > ?????????? ?? 3223 /usr/sbin/smbd -D --option=server role > check:inhibit=yes --foreground > ?????????? ?? 3225 /usr/sbin/smbd -D --option=server role > check:inhibit=yes --foreground > ?????????? ?? 3445 winbindd: domain child [EDM] > ?????????? ?? 3446 winbindd: idmap child > ?????????? ??16924 /usr/sbin/smbd -D --option=server role > check:inhibit=yes --foreground > ?????????? ??20302 winbindd: domain child [BUILTIN] > > Jul 25 11:46:16 athena samba[3208]: task[dreplsrv][3208]: [2019/07/25 > 11:46:16.392261,? 0] ../source4/dsdb/repl/drepl_out_helpers.c:1030(dre > > >Yes, Samba is running ;-) I have reviewed the output of the script that Louis asked you to run and everything looks okay, except for /etc/nsswitch.conf. I would change: hosts:????????? files mdns4_minimal [NOTFOUND=return] dns To: hosts:????????? files dns mdns4_minimal [NOTFOUND=return] Rowland
On 07/25/2019 12:00 PM, Rowland penny via samba wrote:> Yes, Samba is running ;-) > > I have reviewed the output of the script that Louis asked you to run > and everything looks okay, except for /etc/nsswitch.conf. > > I would change: > > hosts:????????? files mdns4_minimal [NOTFOUND=return] dns > > To: > > hosts:????????? files dns mdns4_minimal [NOTFOUND=return]Did this and restarted samba as well as winbind and still the same result: athena:~# samba-tool dns serverinfo athena ERROR(runtime): uncaught exception - (9717, 'WERR_DNS_ERROR_DS_UNAVAILABLE') ? File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 177, in _run ??? return self.run(*args, **kwargs) ? File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 564, in run ??? None, 'ServerInfo') -- Bob Wooldridge EDM Incorporated