I was analyzing the samba logs and I came across these errors that appear constantly:
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/winbindd: Could not find domain for pdc.local
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/winbindd: Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/winbindd: Could not find domain for PDC.LOCAL
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/winbindd: Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/smbd: load_usershare_service: stat of /var/lib/samba/usershares failed. No such file or directory
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/winbindd: Could not find domain for pdc.local
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/winbindd: Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/winbindd: Could not find domain for PDC.LOCAL
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/winbindd: Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/smbd: load_usershare_service: stat of /var/lib/samba/usershares failed. No such file or directory
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/winbindd: Could not find domain for pdc.local
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/winbindd: Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/winbindd: Could not find domain for PDC.LOCAL
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/winbindd: Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
Apr 23 09:29:18 nethserver8 samba-dc[600192]: /usr/sbin/smbd: load_usershare_service: stat of /var/lib/samba/usershares failed. No such file or directory
My domain is not pdc.local, but ad.pdc.local. Could it be that when I migrated from NS7 to NS8, some information was incomplete?
Does anyone know which files I should be reviewing to check if I find this “pdc.local” and change it to the correct domain?
#
# Empty file, placeholder
# It is safe to manually edit this file. Changes are preserved.
#
[global]
netbios aliases = dama
ldap server require strong auth = no
I followed the instructions given, but now I get the following error:
abr 28 08:09:40 nethserver8 samba-dc[302115]: /usr/sbin/winbindd: Could not find domain for pdc.local
abr 28 08:09:40 nethserver8 samba-dc[302115]: /usr/sbin/winbindd: Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
abr 28 08:09:40 nethserver8 samba-dc[302115]: /usr/sbin/winbindd: Could not find domain for PDC.LOCAL
abr 28 08:09:40 nethserver8 samba-dc[302115]: /usr/sbin/winbindd: Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
abr 28 08:09:40 nethserver8 samba-dc[302115]: /usr/sbin/smbd: load_usershare_service: directory /var/lib/samba/usershares is not owned by root or does not have the sticky bit 't' set or is writable by anyone.
abr 28 08:09:40 nethserver8 samba-dc[302115]: /usr/sbin/winbindd: Could not find domain for pdc.local
abr 28 08:09:40 nethserver8 samba-dc[302115]: /usr/sbin/winbindd: Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
abr 28 08:09:40 nethserver8 samba-dc[302115]: /usr/sbin/winbindd: Could not find domain for PDC.LOCAL
abr 28 08:09:40 nethserver8 samba-dc[302115]: /usr/sbin/winbindd: Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
abr 28 08:09:40 nethserver8 samba-dc[302115]: /usr/sbin/smbd: load_usershare_service: directory /var/lib/samba/usershares is not owned by root or does not have the sticky bit 't' set or is writable by anyone.
Yes, it connects and everything works perfectly. I just can’t understand where this pdc.local information is coming from.
Logs after permission fix
abr 29 11:40:41 nethserver8 samba-dc[469116]: /usr/sbin/winbindd: Could not find domain for pdc.local
abr 29 11:40:41 nethserver8 samba-dc[469116]: /usr/sbin/winbindd: Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
abr 29 11:40:41 nethserver8 samba-dc[469116]: /usr/sbin/winbindd: Could not find domain for PDC.LOCAL
abr 29 11:40:41 nethserver8 samba-dc[469116]: /usr/sbin/winbindd: Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED
abr 29 11:40:41 nethserver8 samba-dc[469116]: /usr/sbin/winbindd: Could not find domain for pdc.local