since some UCS versions backwards I had a problem with the Samby server (version 4.4-2 errata 298).
When the server reboot (or new boot), the samba server didn´t annouce himself in the network and offers no shares.
After restart “smbd” manually, problem solved.
I increased the debug level to 5 to get more infos in the log.smbd (… grep fail):
interpret_string_addr_internal: getaddrinfo failed for name ens192 (flags 32) [Der Name oder der Dienst ist nicht bekannt]
pid_to_procid: messaging_dgm_get_unique failed: Datei oder Verzeichnis nicht gefunden
saf_fetch: failed to find server for “MY.DOMAIN” domain
saf_fetch: failed to find server for “MY.DOMAIN” domain
saf_fetch: failed to find server for “MY.DOMAIN” domain
saf_fetch: failed to find server for “MY.DOMAIN” domain
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
pid_to_procid: messaging_dgm_get_unique failed: Datei oder Verzeichnis nicht gefunden
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
receive_smb_raw_talloc failed for client ipv4:192.168.x.xxx:58372 read error = NT_STATUS_END_OF_FILE.
(info: the last line comes up from the client who want to connect to the server)
The message " interpret_string_addr_internal: getaddrinfo" is incomprehensible because “en192” is the (working) network interface.
Same log with “grep error”:
[2019/10/06 12:47:03.052374, 3] …/…/source3/smbd/smb2_server.c:3194(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_OBJECT_NAME_NOT_FOUND] || at …/…/source3/smbd/smb2_create.c:296
[2019/10/06 12:47:03.143638, 3] …/…/source3/smbd/smb2_server.c:3194(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_NO_SUCH_FILE] || at …/…/source3/smbd/smb2_query_directory.c:159
[2019/10/06 12:47:03.330759, 3] …/…/source3/smbd/smb2_server.c:3194(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_NO_SUCH_FILE] || at …/…/source3/smbd/smb2_query_directory.c:159
[2019/10/06 12:47:03.332738, 3] …/…/source3/smbd/smb2_server.c:3194(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_NO_SUCH_FILE] || at …/…/source3/smbd/smb2_query_directory.c:159
[2019/10/06 12:47:03.338399, 3] …/…/source3/smbd/smb2_server.c:3194(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_NO_SUCH_FILE] || at …/…/source3/smbd/smb2_query_directory.c:159
[2019/10/06 12:47:03.547299, 3] …/…/source3/smbd/smb2_server.c:3194(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_NO_SUCH_FILE] || at …/…/source3/smbd/smb2_query_directory.c:159
[2019/10/06 12:47:03.568836, 3] …/…/source3/smbd/smb2_server.c:3194(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_NO_SUCH_FILE] || at …/…/source3/smbd/smb2_query_directory.c:159
[2019/10/06 12:47:03.573531, 3] …/…/source3/smbd/smb2_server.c:3194(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_NO_SUCH_FILE] || at …/…/source3/smbd/smb2_query_directory.c:159
[2019/10/06 12:47:04.030544, 3] …/…/source3/smbd/smb2_server.c:3194(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_NO_SUCH_FILE] || at …/…/source3/smbd/smb2_query_directory.c:159
pdb_getsampwnam (TDB): error fetching database.
pdb_getsampwnam (TDB): error fetching database.
This server is part of a domain (primary & secondary UCS domain controller).
I checked der krb.conf but it seems that all ok.
All domain- und dns-names are correct and working properly. Nothing manually changed in the UCS variables.
I do not know where to look further.
Maybe someone can point me to the right way …