Not able to connecto to Samba server

I am trying to configure a standalone samba server on my freshly installed manjaro to access my shares from my android client. Client is not able to connect to samba server in guest mode or with samba credentials.

Distro details

DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=21.3.7
DISTRIB_CODENAME=Ruah
DISTRIB_DESCRIPTION="Manjaro Linux"

Samba came pre installed with the distro.

My Samba.conf

[global]
   workgroup = Manjaro
   server string = Samba Server
   server role = standalone server
   log level = 3
   log file = /usr/local/samba/var/log.%m
   max log size = 50
   guest account = nobody
   map to guest = Bad Password

[public]
   path = /srv/samba
   public = yes
   writable = yes
   printable = no

log.smbd

  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:15:13,  0] ../../lib/util/util.c:212(directory_create_or_exist)
  directory_create_or_exist: mkdir failed on directory /usr/local/samba/var/cores: No such file or directory
[2022/09/10 19:15:13,  0] ../../source3/lib/dumpcore.c:59(get_default_corepath)
  Failed to create /usr/local/samba/var/cores for user 0 with mode 0700
[2022/09/10 19:15:13,  0] ../../source3/lib/dumpcore.c:256(dump_core_setup)
  Unable to setup corepath for smbd: No such file or directory
[2022/09/10 19:15:13,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:15:13.096742,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:15:13.096875,  0] ../../source3/smbd/server.c:1741(main)
  smbd version 4.16.4 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2022
[2022/09/10 19:15:13.097006,  2] ../../source3/smbd/server.c:1744(main)
  uid=0 gid=0 euid=0 egid=0
[2022/09/10 19:15:13.149750,  2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
  Registered MSG_REQ_POOL_USAGE
[2022/09/10 19:15:13.149785,  2] ../../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2022/09/10 19:15:13.149823,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:15:13.150055,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:15:13.150113,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:15:13.150183,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:15:13.150336,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
[2022/09/10 19:15:13.150416,  2] ../../source3/param/loadparm.c:2890(lp_do_section)
  Processing section "[public]"
[2022/09/10 19:15:13.150505,  3] ../../source3/param/loadparm.c:1674(lp_add_ipc)
  adding IPC service
[2022/09/10 19:15:13.150533,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:15:13.150675,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:15:13.150747,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:15:13.150896,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:15:13.168960,  3] ../../source3/smbd/server.c:1808(main)
  loaded services
[2022/09/10 19:15:13.293669,  1] ../../source3/profile/profile.c:53(set_profile_level)
  INFO: Profiling turned OFF from pid 773
[2022/09/10 19:15:13.293760,  3] ../../source3/smbd/server.c:1827(main)
  Standard input is not a socket, assuming -D option
[2022/09/10 19:15:13.293790,  3] ../../source3/smbd/server.c:1840(main)
  Becoming a daemon.
[2022/09/10 19:15:13.294348,  2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
  Registered MSG_REQ_POOL_USAGE
[2022/09/10 19:15:13.294443,  2] ../../source3/passdb/pdb_interface.c:163(make_pdb_method_name)
  No builtin backend found, trying to load plugin
[2022/09/10 19:15:13.340554,  3] ../../lib/util/modules.c:167(load_module_absolute_path)
  load_module_absolute_path: Module '/usr/lib/samba/pdb/tdbsam.so' loaded
[2022/09/10 19:15:13.391920,  3] ../../source3/lib/util_procid.c:53(pid_to_procid)
  pid_to_procid: messaging_dgm_get_unique failed: No such file or directory
[2022/09/10 19:15:13.392389,  2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
  Registered MSG_REQ_POOL_USAGE
[2022/09/10 19:15:13.392535,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:15:13.393401,  2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
  Registered MSG_REQ_POOL_USAGE
[2022/09/10 19:15:13.393527,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:15:13.495174,  3] ../../source3/auth/token_util.c:688(finalize_local_nt_token)
  Failed to fetch domain sid for MANJARO
[2022/09/10 19:15:13.541839,  2] ../../source3/smbd/server.c:1379(smbd_parent_loop)
  waiting for connections
[2022/09/10 19:16:18.777962,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:16:18.778290,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:16:18.778452,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:16:18.778636,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:16:18.778902,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
[2022/09/10 19:16:18.779176,  2] ../../source3/param/loadparm.c:2890(lp_do_section)
  Processing section "[public]"
[2022/09/10 19:16:18.779421,  3] ../../source3/param/loadparm.c:1674(lp_add_ipc)
  adding IPC service
[2022/09/10 19:16:18.779520,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:16:18.779856,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:16:18.780003,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
[2022/09/10 19:16:18.780287,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:16:18.781564,  3] ../../source3/auth/token_util.c:688(finalize_local_nt_token)
  Failed to fetch domain sid for MANJARO
[2022/09/10 19:16:27.505918,  2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
  Registered MSG_REQ_POOL_USAGE
[2022/09/10 19:16:27.519460,  3] ../../lib/util/access.c:372(allow_access)
  Allowed connection from 192.168.29.130 (192.168.29.130)
[2022/09/10 19:16:27.519636,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.192.168.29.130': No such file or directory
[2022/09/10 19:16:27.520522,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.192.168.29.130': No such file or directory
[2022/09/10 19:16:27.520622,  3] ../../source3/smbd/oplock.c:1427(init_oplocks)
  init_oplocks: initializing messages.
[2022/09/10 19:16:27.520742,  3] ../../source3/smbd/process.c:1958(process_smb)
  Transaction 0 of length 110 (0 toread)
[2022/09/10 19:16:27.520984,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.192.168.29.130': No such file or directory
[2022/09/10 19:16:27.521177,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.192.168.29.130': No such file or directory
[2022/09/10 19:16:27.521241,  3] ../../source3/smbd/smb2_negprot.c:301(smbd_smb2_request_process_negprot)
  Selected protocol SMB2_10
[2022/09/10 19:16:27.557256,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'gssapi_spnego' registered
[2022/09/10 19:16:27.557384,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'gssapi_krb5' registered
[2022/09/10 19:16:27.557424,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'gssapi_krb5_sasl' registered
[2022/09/10 19:16:27.557458,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'spnego' registered
[2022/09/10 19:16:27.557500,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'schannel' registered
[2022/09/10 19:16:27.557533,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'ncalrpc_as_system' registered
[2022/09/10 19:16:27.557563,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'sasl-EXTERNAL' registered
[2022/09/10 19:16:27.557593,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'ntlmssp' registered
[2022/09/10 19:16:27.557624,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'ntlmssp_resume_ccache' registered
[2022/09/10 19:16:27.557654,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'http_basic' registered
[2022/09/10 19:16:27.557685,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'http_ntlm' registered
[2022/09/10 19:16:27.557716,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'http_negotiate' registered
[2022/09/10 19:16:27.557754,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'krb5' registered
[2022/09/10 19:16:27.557787,  3] ../../auth/gensec/gensec_start.c:1083(gensec_register)
  GENSEC backend 'fake_gssapi_krb5' registered
[2022/09/10 19:16:27.565649,  3] ../../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe0888215
[2022/09/10 19:16:27.590649,  3] ../../auth/ntlmssp/ntlmssp_server.c:509(ntlmssp_server_preauth)
  Got user=[g] domain=[] workstation=[] len1=0 len2=128
[2022/09/10 19:16:27.590753,  3] ../../source3/auth/auth.c:201(auth_check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user []\[g]@[] with the new password interface
[2022/09/10 19:16:27.590772,  3] ../../source3/auth/auth.c:204(auth_check_ntlm_password)
  check_ntlm_password:  mapped user is: []\[g]@[]
[2022/09/10 19:16:27.591092,  3] ../../source3/passdb/lookup_sid.c:1720(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for g
[2022/09/10 19:16:27.593180,  3] ../../source3/auth/auth.c:268(auth_check_ntlm_password)
  auth_check_ntlm_password: sam_ignoredomain authentication for user [g] succeeded
[2022/09/10 19:16:27.593393,  3] ../../auth/auth_log.c:647(log_authentication_event_human_readable)
  Auth: [SMB2,(null)] user []\[g] at [Sat, 10 Sep 2022 19:16:27.593338 IST] with [NTLMv2] status [NT_STATUS_OK] workstation [] remote host [ipv4:192.168.29.130:47580] became [PRACTICE]\[g] [S-1-5-21-59714150-1106925034-782256097-1000]. local host [ipv4:192.168.29.3:445] 
  {"timestamp": "2022-09-10T19:16:27.607469+0530", "type": "Authentication", "Authentication": {"version": {"major": 1, "minor": 2}, "eventId": 4624, "logonId": "0", "logonType": 3, "status": "NT_STATUS_OK", "localAddress": "ipv4:192.168.29.3:445", "remoteAddress": "ipv4:192.168.29.130:47580", "serviceDescription": "SMB2", "authDescription": null, "clientDomain": "", "clientAccount": "g", "workstation": "", "becameAccount": "g", "becameDomain": "PRACTICE", "becameSid": "S-1-5-21-59714150-1106925034-782256097-1000", "mappedAccount": "g", "mappedDomain": "", "netlogonComputer": null, "netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x00000000", "netlogonSecureChannelType": 0, "netlogonTrustAccountSid": null, "passwordType": "NTLMv2", "duration": 41959}}
[2022/09/10 19:16:27.607549,  2] ../../source3/auth/auth.c:324(auth_check_ntlm_password)
  check_ntlm_password:  authentication for user [g] -> [g] -> [g] succeeded
[2022/09/10 19:16:27.607571,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:16:27.607631,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:16:27.607730,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
[2022/09/10 19:16:27.607809,  2] ../../source3/param/loadparm.c:2890(lp_do_section)
  Processing section "[public]"
[2022/09/10 19:16:27.607873,  3] ../../source3/param/loadparm.c:1674(lp_add_ipc)
  adding IPC service
[2022/09/10 19:16:27.609663,  3] ../../source3/auth/token_util.c:688(finalize_local_nt_token)
  Failed to fetch domain sid for MANJARO
[2022/09/10 19:16:27.611274,  3] ../../auth/ntlmssp/ntlmssp_sign.c:623(ntlmssp_sign_reset)
  NTLMSSP Sign/Seal - Initialising with flags:
[2022/09/10 19:16:27.611337,  3] ../../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
[2022/09/10 19:16:27.611445,  3] ../../auth/ntlmssp/ntlmssp_sign.c:623(ntlmssp_sign_reset)
  NTLMSSP Sign/Seal - Initialising with flags:
[2022/09/10 19:16:27.611489,  3] ../../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
[2022/09/10 19:16:27.613021,  3] ../../source3/auth/token_util.c:688(finalize_local_nt_token)
  Failed to fetch domain sid for MANJARO
[2022/09/10 19:16:27.613531,  3] ../../source3/smbd/password.c:84(register_homes_share)
  Adding homes service for user 'g' using home directory: '/home/g'
[2022/09/10 19:16:27.613567,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.': No such file or directory
[2022/09/10 19:16:27.613776,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.': No such file or directory
[2022/09/10 19:16:27.617812,  3] ../../lib/util/access.c:372(allow_access)
  Allowed connection from 192.168.29.130 (192.168.29.130)
[2022/09/10 19:16:27.618013,  3] ../../source3/smbd/service.c:610(make_connection_snum)
  make_connection_snum: Connect path is '/tmp' for service [IPC$]
[2022/09/10 19:16:27.618117,  3] ../../source3/smbd/vfs.c:115(vfs_init_default)
  Initialising default vfs hooks
[2022/09/10 19:16:27.618183,  3] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2022/09/10 19:16:27.618575,  3] ../../source3/smbd/service.c:854(make_connection_snum)
   (ipv4:192.168.29.130:47580) connect to service IPC$ initially as user g (uid=1000, gid=1000) (pid 1405)
[2022/09/10 19:16:27.782047,  3] ../../source3/smbd/smb2_server.c:3954(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_CONNECTION_DISCONNECTED] || at ../../source3/smbd/smb2_create.c:338
[2022/09/10 19:16:27.998416,  3] ../../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe0888215
[2022/09/10 19:16:28.001301,  3] ../../auth/ntlmssp/ntlmssp_server.c:509(ntlmssp_server_preauth)
  Got user=[g] domain=[] workstation=[] len1=0 len2=128
[2022/09/10 19:16:28.001437,  3] ../../source3/auth/auth.c:201(auth_check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user []\[g]@[] with the new password interface
[2022/09/10 19:16:28.001489,  3] ../../source3/auth/auth.c:204(auth_check_ntlm_password)
  check_ntlm_password:  mapped user is: []\[g]@[]
[2022/09/10 19:16:28.001953,  3] ../../source3/passdb/lookup_sid.c:1720(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for g
[2022/09/10 19:16:28.004616,  3] ../../source3/auth/auth.c:268(auth_check_ntlm_password)
  auth_check_ntlm_password: sam_ignoredomain authentication for user [g] succeeded
[2022/09/10 19:16:28.004858,  3] ../../auth/auth_log.c:647(log_authentication_event_human_readable)
  Auth: [SMB2,(null)] user []\[g] at [Sat, 10 Sep 2022 19:16:28.004808 IST] with [NTLMv2] status [NT_STATUS_OK] workstation [] remote host [ipv4:192.168.29.130:47580] became [PRACTICE]\[g] [S-1-5-21-59714150-1106925034-782256097-1000]. local host [ipv4:192.168.29.3:445] 
  {"timestamp": "2022-09-10T19:16:28.004978+0530", "type": "Authentication", "Authentication": {"version": {"major": 1, "minor": 2}, "eventId": 4624, "logonId": "0", "logonType": 3, "status": "NT_STATUS_OK", "localAddress": "ipv4:192.168.29.3:445", "remoteAddress": "ipv4:192.168.29.130:47580", "serviceDescription": "SMB2", "authDescription": null, "clientDomain": "", "clientAccount": "g", "workstation": "", "becameAccount": "g", "becameDomain": "PRACTICE", "becameSid": "S-1-5-21-59714150-1106925034-782256097-1000", "mappedAccount": "g", "mappedDomain": "", "netlogonComputer": null, "netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x00000000", "netlogonSecureChannelType": 0, "netlogonTrustAccountSid": null, "passwordType": "NTLMv2", "duration": 6864}}
[2022/09/10 19:16:28.005098,  2] ../../source3/auth/auth.c:324(auth_check_ntlm_password)
  check_ntlm_password:  authentication for user [g] -> [g] -> [g] succeeded
[2022/09/10 19:16:28.005146,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:16:28.005273,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:16:28.005533,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
[2022/09/10 19:16:28.005790,  2] ../../source3/param/loadparm.c:2890(lp_do_section)
  Processing section "[public]"
[2022/09/10 19:16:28.006053,  3] ../../source3/param/loadparm.c:1674(lp_add_ipc)
  adding IPC service
[2022/09/10 19:16:28.008238,  3] ../../source3/auth/token_util.c:688(finalize_local_nt_token)
  Failed to fetch domain sid for MANJARO
[2022/09/10 19:16:28.009797,  3] ../../auth/ntlmssp/ntlmssp_sign.c:623(ntlmssp_sign_reset)
  NTLMSSP Sign/Seal - Initialising with flags:
[2022/09/10 19:16:28.009865,  3] ../../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
[2022/09/10 19:16:28.009966,  3] ../../auth/ntlmssp/ntlmssp_sign.c:623(ntlmssp_sign_reset)
  NTLMSSP Sign/Seal - Initialising with flags:
[2022/09/10 19:16:28.010011,  3] ../../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
[2022/09/10 19:16:28.012174,  3] ../../source3/auth/token_util.c:688(finalize_local_nt_token)
  Failed to fetch domain sid for MANJARO
[2022/09/10 19:16:28.013738,  3] ../../source3/smbd/password.c:84(register_homes_share)
  Adding homes service for user 'g' using home directory: '/home/g'
[2022/09/10 19:16:28.013847,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.': No such file or directory
[2022/09/10 19:16:28.014276,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.': No such file or directory
[2022/09/10 19:16:28.016732,  3] ../../lib/util/access.c:372(allow_access)
  Allowed connection from 192.168.29.130 (192.168.29.130)
[2022/09/10 19:16:28.016967,  3] ../../source3/smbd/service.c:610(make_connection_snum)
  make_connection_snum: Connect path is '/tmp' for service [IPC$]
[2022/09/10 19:16:28.017063,  3] ../../source3/smbd/vfs.c:115(vfs_init_default)
  Initialising default vfs hooks
[2022/09/10 19:16:28.017107,  3] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2022/09/10 19:16:28.017380,  3] ../../source3/smbd/service.c:854(make_connection_snum)
   (ipv4:192.168.29.130:47580) connect to service IPC$ initially as user g (uid=1000, gid=1000) (pid 1405)
[2022/09/10 19:16:28.078215,  3] ../../source3/smbd/smb2_server.c:3954(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_CONNECTION_DISCONNECTED] || at ../../source3/smbd/smb2_create.c:338

I tried to figure out the last line but couldn’t find anything directly related to the issue.

log.samba.dcerpcd

[2022/09/10 18:07:33,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 18:08:28,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 18:08:28,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 18:08:28,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 18:08:28,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 18:08:28,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 18:08:28,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 18:08:28,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 18:08:28,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 18:08:28,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 18:08:28,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 18:12:34,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 18:12:34,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 18:12:34,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 18:12:34,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 18:12:34,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 18:36:23,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 18:36:23,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 18:36:23,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 18:36:23,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 18:36:23,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 18:36:23,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 18:36:23,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 18:36:23,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 18:36:23,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 18:36:23,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 18:42:39,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 18:42:39,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 18:42:39,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 18:42:39,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 18:42:39,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 18:42:40,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 18:42:40,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 18:42:40,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 18:42:40,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 18:42:40,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 19:08:12,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:08:12,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:08:12,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:08:12,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 19:08:12,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 19:08:13,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:08:13,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:08:13,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:08:13,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 19:08:13,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 19:08:41,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:08:41,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:08:41,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:08:41,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 19:08:41,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 19:08:42,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:08:42,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:08:42,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:08:42,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 19:08:42,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 19:09:34,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:09:34,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:09:34,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:09:34,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 19:09:34,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 19:09:34,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:09:34,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:09:34,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:09:34,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 19:09:34,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 19:11:06,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:11:06,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:11:06,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:11:06,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 19:11:06,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 19:11:06,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:11:06,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:11:06,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:11:06,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 19:11:06,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 19:13:18,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:13:18,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:13:18,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:13:18,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 19:13:18,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 19:13:18,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:13:18,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:13:18,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:13:18,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 19:13:18,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 19:16:27,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:16:27,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:16:27,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:16:27,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 19:16:27,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed
[2022/09/10 19:16:28,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:16:28,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:16:28,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:16:28,  2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
  tdb(/var/cache/samba/names.tdb): tdb_open_ex: could not open file /var/cache/samba/names.tdb: Permission denied
[2022/09/10 19:16:28,  0] ../../source3/rpc_server/rpc_host.c:2940(main)
  main: messaging_init() failed

log.nmbd

[2022/09/10 18:04:02.251549,  0] ../../source3/nmbd/nmbd.c:901(main)
  nmbd version 4.16.4 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2022
[2022/09/10 18:04:28.355563,  0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
  *****
  
  Samba name server PRACTICE is now a local master browser for workgroup MANJARO on subnet 192.168.29.3
  
  *****
[2022/09/10 19:14:13.321196,  0] ../../source3/nmbd/nmbd.c:59(terminate)
  Got SIGTERM: going down...
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
[2022/09/10 19:15:12.058371,  0] ../../source3/nmbd/nmbd.c:901(main)
  nmbd version 4.16.4 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2022
[2022/09/10 19:15:12.204936,  2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
  Registered MSG_REQ_POOL_USAGE
[2022/09/10 19:15:12.205020,  2] ../../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2022/09/10 19:15:12.205087,  3] ../../source3/param/loadparm.c:3971(lp_load_ex)
  lp_load_ex: refreshing parameters
[2022/09/10 19:15:12.205212,  3] ../../source3/param/loadparm.c:557(init_globals)
  Initialising global parameters
[2022/09/10 19:15:12.205273,  2] ../../source3/param/loadparm.c:326(max_open_files)
  rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
[2022/09/10 19:15:12.205515,  3] ../../source3/param/loadparm.c:2873(lp_do_section)
  Processing section "[global]"
[2022/09/10 19:15:12.205821,  3] ../../source3/nmbd/nmbd.c:414(reload_nmbd_services)
  services not loaded
[2022/09/10 19:15:12.205969,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.nmbd': No such file or directory
[2022/09/10 19:15:12.206702,  0] ../../lib/util/debug.c:1224(reopen_one_log)
  reopen_one_log: Unable to open new log file '/usr/local/samba/var/log.nmbd': No such file or directory
[2022/09/10 19:15:12.206927,  3] ../../source3/nmbd/nmbd.c:941(main)
  standard input is not a socket, assuming -D option
[2022/09/10 19:15:12.207003,  3] ../../source3/nmbd/nmbd.c:946(main)
  Becoming a daemon.
[2022/09/10 19:15:12.208178,  2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
  Registered MSG_REQ_POOL_USAGE
[2022/09/10 19:15:12.208447,  3] ../../source3/nmbd/nmbd.c:1029(main)
  Opening sockets 137
[2022/09/10 19:15:12.208642,  3] ../../source3/nmbd/nmbd.c:763(open_sockets)
  open_sockets: Broadcast sockets opened.
  added interface wlp3s0 ip=2405:201:a405:1cb5:3651:9e30:fa38:d0ab bcast= netmask=ffff:ffff:ffff:ffff::
  added interface wlp3s0 ip=192.168.29.3 bcast=192.168.29.255 netmask=255.255.255.0
  making subnet name:192.168.29.3 Broadcast address:192.168.29.255 Subnet mask:255.255.255.0
[2022/09/10 19:15:12.209436,  2] ../../source3/nmbd/nmbd_subnetdb.c:298(create_subnets)
  create_subnets: ignoring non IPv4 interface.
  making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
  making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
[2022/09/10 19:15:12.209493,  2] ../../source3/nmbd/nmbd_lmhosts.c:42(load_lmhosts_file)
  load_lmhosts_file: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
[2022/09/10 19:15:12.209511,  3] ../../source3/nmbd/nmbd.c:1050(main)
  Loaded hosts file /etc/samba/lmhosts
[2022/09/10 19:15:12.209531,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name *<00> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet 192.168.29.3
[2022/09/10 19:15:12.209558,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name *<20> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet 192.168.29.3
[2022/09/10 19:15:12.209575,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet 192.168.29.3
[2022/09/10 19:15:12.209602,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet 192.168.29.3
[2022/09/10 19:15:12.209746,  3] ../../source3/nmbd/nmbd_serverlistdb.c:134(create_server_on_workgroup)
  create_server_on_workgroup: Created server entry PRACTICE of type 40819a03 (Samba Server) on workgroup MANJARO.
[2022/09/10 19:15:12.209766,  3] ../../source3/nmbd/nmbd_workgroupdb.c:261(initiate_myworkgroup_startup)
  initiate_myworkgroup_startup: Added server name entry PRACTICE on subnet 192.168.29.3
[2022/09/10 19:15:12.209791,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name *<00> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2022/09/10 19:15:12.209807,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name *<20> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2022/09/10 19:15:12.209822,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2022/09/10 19:15:12.209837,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2022/09/10 19:15:12.209853,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name PRACTICE<20> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2022/09/10 19:15:12.209870,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name PRACTICE<03> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2022/09/10 19:15:12.209889,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name PRACTICE<00> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2022/09/10 19:15:12.209906,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name MANJARO<00> with first IP 192.168.29.3 ttl=0 nb_flags=80 to subnet UNICAST_SUBNET
[2022/09/10 19:15:12.209922,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name MANJARO<1e> with first IP 192.168.29.3 ttl=0 nb_flags=80 to subnet UNICAST_SUBNET
[2022/09/10 19:15:12.209937,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name *<00> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2022/09/10 19:15:12.209952,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name *<20> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2022/09/10 19:15:12.209967,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2022/09/10 19:15:12.209982,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2022/09/10 19:15:12.210104,  3] ../../source3/nmbd/nmbd_sendannounce.c:212(send_host_announcement)
  send_host_announcement: type 819a03 for host PRACTICE on subnet 192.168.29.3 for workgroup MANJARO
[2022/09/10 19:15:16.218371,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name PRACTICE<20> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet 192.168.29.3
[2022/09/10 19:15:16.218538,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name PRACTICE<03> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet 192.168.29.3
[2022/09/10 19:15:16.218628,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name PRACTICE<00> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet 192.168.29.3
[2022/09/10 19:15:16.218679,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name MANJARO<00> with first IP 192.168.29.3 ttl=0 nb_flags=80 to subnet 192.168.29.3
[2022/09/10 19:15:16.218723,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name MANJARO<1e> with first IP 192.168.29.3 ttl=0 nb_flags=80 to subnet 192.168.29.3
[2022/09/10 19:15:16.218766,  2] ../../source3/nmbd/nmbd_elections.c:111(check_for_master_browser_fail)
  check_for_master_browser_fail: Forcing election on workgroup MANJARO subnet 192.168.29.3
[2022/09/10 19:15:16.218807,  3] ../../source3/nmbd/nmbd_elections.c:361(check_elections)
  check_elections: >>> Starting election for workgroup MANJARO on subnet 192.168.29.3 <<<
[2022/09/10 19:15:18.222414,  3] ../../source3/nmbd/nmbd_serverlistdb.c:414(write_browse_list)
  write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2022/09/10 19:15:19.223732,  2] ../../source3/nmbd/nmbd_elections.c:41(send_election_dgram)
  send_election_dgram: Sending election packet for workgroup MANJARO on subnet 192.168.29.3
[2022/09/10 19:15:21.226467,  2] ../../source3/nmbd/nmbd_elections.c:41(send_election_dgram)
  send_election_dgram: Sending election packet for workgroup MANJARO on subnet 192.168.29.3
[2022/09/10 19:15:23.229460,  2] ../../source3/nmbd/nmbd_elections.c:41(send_election_dgram)
  send_election_dgram: Sending election packet for workgroup MANJARO on subnet 192.168.29.3
[2022/09/10 19:15:25.232531,  2] ../../source3/nmbd/nmbd_elections.c:41(send_election_dgram)
  send_election_dgram: Sending election packet for workgroup MANJARO on subnet 192.168.29.3
[2022/09/10 19:15:27.235453,  2] ../../source3/nmbd/nmbd_elections.c:41(send_election_dgram)
  send_election_dgram: Sending election packet for workgroup MANJARO on subnet 192.168.29.3
[2022/09/10 19:15:27.235904,  2] ../../source3/nmbd/nmbd_elections.c:201(run_elections)
  run_elections: >>> Won election for workgroup MANJARO on subnet 192.168.29.3 <<<
[2022/09/10 19:15:27.235978,  2] ../../source3/nmbd/nmbd_become_lmb.c:538(become_local_master_browser)
  become_local_master_browser: Starting to become a master browser for workgroup MANJARO on subnet 192.168.29.3
[2022/09/10 19:15:27.236015,  3] ../../source3/nmbd/nmbd_become_lmb.c:541(become_local_master_browser)
  become_local_master_browser: first stage - attempt to register ^1^2__MSBROWSE__^2^1
[2022/09/10 19:15:27.236318,  3] ../../source3/nmbd/nmbd_serverlistdb.c:414(write_browse_list)
  write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2022/09/10 19:15:31.242209,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __MSBROWSE__<01> with first IP 192.168.29.3 ttl=0 nb_flags=80 to subnet 192.168.29.3
[2022/09/10 19:15:31.242368,  3] ../../source3/nmbd/nmbd_become_lmb.c:453(become_local_master_stage1)
  become_local_master_stage1: go to stage 2: register the MANJARO<1d> name.
[2022/09/10 19:15:31.242422,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __MSBROWSE__<01> with first IP 192.168.29.3 ttl=0 nb_flags=80 to subnet UNICAST_SUBNET
[2022/09/10 19:15:35.248503,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name MANJARO<1d> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet 192.168.29.3
[2022/09/10 19:15:35.248670,  3] ../../source3/nmbd/nmbd_become_lmb.c:354(become_local_master_stage2)
  become_local_master_stage2: registered as master browser for workgroup MANJARO on subnet 192.168.29.3
[2022/09/10 19:15:35.248719,  3] ../../source3/nmbd/nmbd_sendannounce.c:70(broadcast_announce_request)
  broadcast_announce_request: sending announce request for workgroup MANJARO to subnet 192.168.29.3
[2022/09/10 19:15:35.248888,  3] ../../source3/nmbd/nmbd_namelistdb.c:257(add_name_to_subnet)
  add_name_to_subnet: Added netbios name MANJARO<1d> with first IP 192.168.29.3 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2022/09/10 19:15:35.248950,  0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
  *****
  
  Samba name server PRACTICE is now a local master browser for workgroup MANJARO on subnet 192.168.29.3
  
  *****
[2022/09/10 19:15:35.249335,  3] ../../source3/nmbd/nmbd_sendannounce.c:170(send_local_master_announcement)
  send_local_master_announcement: type 849a03 for name PRACTICE on subnet 192.168.29.3 for workgroup MANJARO
[2022/09/10 19:15:35.249377,  3] ../../source3/nmbd/nmbd_sendannounce.c:189(send_workgroup_announcement)
  send_workgroup_announcement: on subnet 192.168.29.3 for workgroup MANJARO
[2022/09/10 19:15:55.270825,  3] ../../source3/nmbd/nmbd_serverlistdb.c:414(write_browse_list)
  write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2022/09/10 19:17:45.379241,  3] ../../source3/nmbd/nmbd_sendannounce.c:170(send_local_master_announcement)
  send_local_master_announcement: type 849a03 for name PRACTICE on subnet 192.168.29.3 for workgroup MANJARO
[2022/09/10 19:17:45.379549,  3] ../../source3/nmbd/nmbd_sendannounce.c:189(send_workgroup_announcement)
  send_workgroup_announcement: on subnet 192.168.29.3 for workgroup MANJARO
[2022/09/10 19:20:45.559405,  3] ../../source3/nmbd/nmbd_sendannounce.c:170(send_local_master_announcement)
  send_local_master_announcement: type 849a03 for name PRACTICE on subnet 192.168.29.3 for workgroup MANJARO
[2022/09/10 19:20:45.559609,  3] ../../source3/nmbd/nmbd_sendannounce.c:189(send_workgroup_announcement)
  send_workgroup_announcement: on subnet 192.168.29.3 for workgroup MANJARO

``

Which one?

And while it may be installed - it has only the most basic conifiguration and will require the end user to know how to finalize the configuration.

Please check the setup/troubleshooting guide - ensure you have setup your shares correct

  • pay attention to the location and the permissions of the share(s)
  • pay attention to the AppArmor section and the comments
1 Like