Hello,
after upgrading to v4.5.4-0 my SMB Shares (working perfectly fine since going to V4) stopped being accessible.
I tried to find the cause myself, but I’m not seeing a for me understandable “real” error message in the logs…
Also i tried it with another, newly created user. Stopped samba Service, deleted and added the samba-shares/exports and also tried it with different settings of Admin-Users for the share/export (none, Main User, Mark2 (new user)) and with different file owner settings in the share itself (owner root, group users; owner Mark2, group users).
Here is what I get
(Saying Access denied)
SMB-Log (/var/log/samba/log.myiclientpaddress (192.168.30.51):
[…]
[2023/01/18 11:32:02.722858, 3] …/…/auth/auth_log.c:665(log_authentication_event_human_readable)
Auth: [SMB2,(null)] user [MicrosoftAccount][Mark2] at [Mi, 18 Jan 2023 11:32:02.722819 CET] with [NTLMv2] status [NT_STATUS_OK] workstation [APPARAT] remote host [ipv4:192.168.30.51:51681] became [ROCKSTOR4][Mark2] [S-1-5-21-679555601-880528519-2831801044-1004]. local host [ipv4:192.168.30.75:445]
{“timestamp”: “2023-01-18T11:32:02.723068+0100”, “type”: “Authentication”, “Authentication”: {“version”: {“major”: 1, “minor”: 2}, “eventId”: 4624, “logonId”: “0”, “logonType”: 3, “status”: “NT_STATUS_OK”, “localAddress”: “ipv4:192.168.30.75:445”, “remoteAddress”: “ipv4:192.168.30.51:51681”, “serviceDescription”: “SMB2”, “authDescription”: null, “clientDomain”: “MicrosoftAccount”, “clientAccount”: “Mark2”, “workstation”: “APPARAT”, “becameAccount”: “Mark2”, “becameDomain”: “ROCKSTOR4”, “becameSid”: “S-1-5-21-679555601-880528519-2831801044-1004”, “mappedAccount”: “Mark2”, “mappedDomain”: “MicrosoftAccount”, “netlogonComputer”: null, “netlogonTrustAccount”: null, “netlogonNegotiateFlags”: “0x00000000”, “netlogonSecureChannelType”: 0, “netlogonTrustAccountSid”: null, “passwordType”: “NTLMv2”, “duration”: 10969}}
[2023/01/18 11:32:02.723225, 2] …/…/source3/auth/auth.c:330(auth_check_ntlm_password)
check_ntlm_password: authentication for user [Mark2] → [Mark2] → [Mark2] succeeded
[2023/01/18 11:32:02.723278, 3] …/…/source3/param/loadparm.c:3971(lp_load_ex)
lp_load_ex: refreshing parameters
[2023/01/18 11:32:02.723443, 3] …/…/source3/param/loadparm.c:557(init_globals)
Initialising global parameters
[2023/01/18 11:32:02.723907, 3] …/…/source3/param/loadparm.c:2873(lp_do_section)
Processing section “[global]”
[2023/01/18 11:32:02.724119, 2] …/…/source3/param/loadparm.c:2890(lp_do_section)
Processing section “[Scan]”
[2023/01/18 11:32:02.724322, 3] …/…/source3/param/loadparm.c:1674(lp_add_ipc)
adding IPC service
[2023/01/18 11:32:02.724739, 3] …/…/source3/auth/token_util.c:689(finalize_local_nt_token)
Failed to fetch domain sid for WORKGROUP
[2023/01/18 11:32:02.726087, 3] …/…/auth/ntlmssp/ntlmssp_sign.c:623(ntlmssp_sign_reset)
NTLMSSP Sign/Seal - Initialising with flags:
[2023/01/18 11:32:02.726167, 3] …/…/auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
Got NTLMSSP neg_flags=0xe2088215
[2023/01/18 11:32:02.726314, 3] …/…/auth/ntlmssp/ntlmssp_sign.c:623(ntlmssp_sign_reset)
NTLMSSP Sign/Seal - Initialising with flags:
[2023/01/18 11:32:02.726395, 3] …/…/auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
Got NTLMSSP neg_flags=0xe2088215
[2023/01/18 11:32:02.726739, 3] …/…/source3/auth/token_util.c:689(finalize_local_nt_token)
Failed to fetch domain sid for WORKGROUP
[2023/01/18 11:32:02.728089, 3] …/…/source3/smbd/password.c:85(register_homes_share)
Adding homes service for user ‘Mark2’ using home directory: ‘/home/Mark2’
This log is showing that I’m successfuly authenticated, right?
Here is the log.smdb
[2023/01/18 11:34:10.229650, 3] …/…/source3/smbd/server_exit.c:240(exit_server_common)
Server exit (termination signal)
[2023/01/18 11:34:10, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=2003:dd:71f:1100:c0c2:38f6:cd3e:a60 bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=2003:dd:71f:1100:ebb4:8eff:d268:621f bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=fd00::8cdb:df2:d824:c976 bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=fd00::cf2d:3c95:887b:ce4d bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=192.168.30.75 bcast=192.168.30.255 netmask=255.255.255.0
[2023/01/18 11:34:10.346944, 0] …/…/source3/smbd/server.c:1734(main)
smbd version 4.15.12-git.535.7750e5c95ef150300.3.43.1-SUSE-oS15.0-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2021
[2023/01/18 11:34:10.346994, 2] …/…/source3/smbd/server.c:1738(main)
uid=0 gid=0 euid=0 egid=0
[2023/01/18 11:34:10.347196, 2] …/…/source3/lib/tallocmsg.c:84(register_msg_pool_usage)
Registered MSG_REQ_POOL_USAGE
[2023/01/18 11:34:10.347211, 2] …/…/source3/lib/dmallocmsg.c:78(register_dmalloc_msgs)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2023/01/18 11:34:10.347292, 3] …/…/source3/param/loadparm.c:3971(lp_load_ex)
lp_load_ex: refreshing parameters
[2023/01/18 11:34:10.347338, 3] …/…/source3/param/loadparm.c:557(init_globals)
Initialising global parameters
[2023/01/18 11:34:10.347451, 3] …/…/source3/param/loadparm.c:2873(lp_do_section)
Processing section “[global]”
[2023/01/18 11:34:10.347618, 2] …/…/source3/param/loadparm.c:2890(lp_do_section)
Processing section “[Scan]”
[2023/01/18 11:34:10.347778, 3] …/…/source3/param/loadparm.c:1674(lp_add_ipc)
adding IPC service
[2023/01/18 11:34:10.348049, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=2003:dd:71f:1100:c0c2:38f6:cd3e:a60 bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10.348068, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=2003:dd:71f:1100:ebb4:8eff:d268:621f bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10.348079, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=fd00::8cdb:df2:d824:c976 bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10.348089, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=fd00::cf2d:3c95:887b:ce4d bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10.348099, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=192.168.30.75 bcast=192.168.30.255 netmask=255.255.255.0
[2023/01/18 11:34:10.348118, 3] …/…/source3/smbd/server.c:1806(main)
loaded services
[2023/01/18 11:34:10.349515, 1] …/…/source3/profile/profile.c:55(set_profile_level)
INFO: Profiling turned OFF from pid 6179
[2023/01/18 11:34:10.349542, 3] …/…/source3/smbd/server.c:1826(main)
Standard input is not a socket, assuming -D option
[2023/01/18 11:34:10.349553, 3] …/…/source3/smbd/server.c:1838(main)
Becoming a daemon.
[2023/01/18 11:34:10.349761, 2] …/…/source3/lib/tallocmsg.c:84(register_msg_pool_usage)
Registered MSG_REQ_POOL_USAGE
[2023/01/18 11:34:10.349812, 2] …/…/source3/passdb/pdb_interface.c:163(make_pdb_method_name)
No builtin backend found, trying to load plugin
[2023/01/18 11:34:10.351275, 3] …/…/lib/util/modules.c:167(load_module_absolute_path)
load_module_absolute_path: Module ‘/usr/lib64/samba/pdb/tdbsam.so’ loaded
[2023/01/18 11:34:10.353747, 3] …/…/source3/lib/util_procid.c:54(pid_to_procid)
pid_to_procid: messaging_dgm_get_unique failed: Datei oder Verzeichnis nicht gefunden
[2023/01/18 11:34:10.354118, 2] …/…/source3/lib/tallocmsg.c:84(register_msg_pool_usage)
Registered MSG_REQ_POOL_USAGE
[2023/01/18 11:34:10.354789, 2] …/…/source3/lib/tallocmsg.c:84(register_msg_pool_usage)
Registered MSG_REQ_POOL_USAGE
[2023/01/18 11:34:10.355986, 3] …/…/source3/auth/token_util.c:689(finalize_local_nt_token)
Failed to fetch domain sid for WORKGROUP
[2023/01/18 11:34:10.356536, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘winreg’ registered
[2023/01/18 11:34:10.356558, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘srvsvc’ registered
[2023/01/18 11:34:10.356572, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘lsarpc’ registered
[2023/01/18 11:34:10.356596, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘samr’ registered
[2023/01/18 11:34:10.356610, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘netdfs’ registered
[2023/01/18 11:34:10.356620, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘dssetup’ registered
[2023/01/18 11:34:10.356634, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘wkssvc’ registered
[2023/01/18 11:34:10.356644, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘spoolss’ registered
[2023/01/18 11:34:10.356654, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘svcctl’ registered
[2023/01/18 11:34:10.356663, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘ntsvcs’ registered
[2023/01/18 11:34:10.356678, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘eventlog’ registered
[2023/01/18 11:34:10.356689, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘initshutdown’ registered
[2023/01/18 11:34:10.356705, 3] …/…/source3/rpc_server/rpc_modules.c:64(register_rpc_module)
register_rpc_module: Successfully added RPC module ‘mdssvc’
[2023/01/18 11:34:10.356749, 3] …/…/librpc/rpc/dcesrv_core.c:2601(dcerpc_register_ep_server)
DCERPC endpoint server ‘mdssvc’ registered
[2023/01/18 11:34:10.356905, 3] …/…/source3/rpc_server/svcctl/srv_svcctl_reg.c:565(svcctl_init_winreg)
Initialise the svcctl registry keys if needed.
[2023/01/18 11:34:10.358063, 3] …/…/source3/rpc_server/eventlog/srv_eventlog_reg.c:59(eventlog_init_winreg)
Initialise the eventlog registry keys if needed.
[2023/01/18 11:34:10.358956, 3] …/…/source3/printing/queue_process.c:359(start_background_queue)
start_background_queue: Starting background LPQ thread
[2023/01/18 11:34:10.388994, 1] …/…/source3/printing/printer_list.c:255(printer_list_get_last_refresh)
Failed to fetch record!
[2023/01/18 11:34:10.389023, 2] …/…/source3/smbd/server.c:1364(smbd_parent_loop)
waiting for connections
[2023/01/18 11:34:16.455067, 2] …/…/source3/lib/tallocmsg.c:84(register_msg_pool_usage)
Registered MSG_REQ_POOL_USAGE
[2023/01/18 11:34:16.455465, 3] …/…/lib/util/access.c:372(allow_access)
Allowed connection from 192.168.30.51 (192.168.30.51)
nmdb.log
[2023/01/18 11:34:10.370722, 0] …/…/source3/nmbd/nmbd.c:59(terminate)
Got SIGTERM: going down…
[2023/01/18 11:34:10.370786, 3] …/…/source3/nmbd/nmbd_sendannounce.c:213(send_host_announcement)
send_host_announcement: type 0 for host ROCKSTOR4 on subnet 192.168.30.75 for workgroup WORKGROUP
[2023/01/18 11:34:10, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=2003:dd:71f:1100:c0c2:38f6:cd3e:a60 bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=2003:dd:71f:1100:ebb4:8eff:d268:621f bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=fd00::8cdb:df2:d824:c976 bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=fd00::cf2d:3c95:887b:ce4d bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=192.168.30.75 bcast=192.168.30.255 netmask=255.255.255.0
[2023/01/18 11:34:10.444411, 0] …/…/source3/nmbd/nmbd.c:901(main)
nmbd version 4.15.12-git.535.7750e5c95ef150300.3.43.1-SUSE-oS15.0-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2021
[2023/01/18 11:34:10.444746, 2] …/…/source3/lib/tallocmsg.c:84(register_msg_pool_usage)
Registered MSG_REQ_POOL_USAGE
[2023/01/18 11:34:10.444771, 2] …/…/source3/lib/dmallocmsg.c:78(register_dmalloc_msgs)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2023/01/18 11:34:10.444798, 3] …/…/source3/param/loadparm.c:3971(lp_load_ex)
lp_load_ex: refreshing parameters
[2023/01/18 11:34:10.444856, 3] …/…/source3/param/loadparm.c:557(init_globals)
Initialising global parameters
[2023/01/18 11:34:10.444878, 2] …/…/source3/param/loadparm.c:329(max_open_files)
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
[2023/01/18 11:34:10.445030, 3] …/…/source3/param/loadparm.c:2873(lp_do_section)
Processing section “[global]”
[2023/01/18 11:34:10.445296, 3] …/…/source3/nmbd/nmbd.c:414(reload_nmbd_services)
services not loaded
[2023/01/18 11:34:10.445429, 3] …/…/source3/nmbd/nmbd.c:941(main)
standard input is not a socket, assuming -D option
[2023/01/18 11:34:10.445461, 3] …/…/source3/nmbd/nmbd.c:946(main)
Becoming a daemon.
[2023/01/18 11:34:10.445740, 2] …/…/source3/lib/tallocmsg.c:84(register_msg_pool_usage)
Registered MSG_REQ_POOL_USAGE
[2023/01/18 11:34:10.445807, 3] …/…/source3/nmbd/nmbd.c:1029(main)
Opening sockets 137
[2023/01/18 11:34:10.445866, 3] …/…/source3/nmbd/nmbd.c:763(open_sockets)
open_sockets: Broadcast sockets opened.
[2023/01/18 11:34:10.446120, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=2003:dd:71f:1100:c0c2:38f6:cd3e:a60 bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10.446147, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=2003:dd:71f:1100:ebb4:8eff:d268:621f bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10.446165, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=fd00::8cdb:df2:d824:c976 bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10.446184, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=fd00::cf2d:3c95:887b:ce4d bcast= netmask=ffff:ffff:ffff:ffff::
[2023/01/18 11:34:10.446214, 2] …/…/source3/lib/interface.c:346(add_interface)
added interface eth0 ip=192.168.30.75 bcast=192.168.30.255 netmask=255.255.255.0
[2023/01/18 11:34:10.446282, 2] …/…/source3/nmbd/nmbd_subnetdb.c:179(make_subnet)
making subnet name:192.168.30.75 Broadcast address:192.168.30.255 Subnet mask:255.255.255.0
[2023/01/18 11:34:10.446300, 2] …/…/source3/nmbd/nmbd_subnetdb.c:299(create_subnets)
create_subnets: ignoring non IPv4 interface.
[2023/01/18 11:34:10.446326, 2] …/…/source3/nmbd/nmbd_subnetdb.c:299(create_subnets)
create_subnets: ignoring non IPv4 interface.
[2023/01/18 11:34:10.446340, 2] …/…/source3/nmbd/nmbd_subnetdb.c:299(create_subnets)
create_subnets: ignoring non IPv4 interface.
[2023/01/18 11:34:10.446352, 2] …/…/source3/nmbd/nmbd_subnetdb.c:299(create_subnets)
create_subnets: ignoring non IPv4 interface.
[2023/01/18 11:34:10.446366, 2] …/…/source3/nmbd/nmbd_subnetdb.c:179(make_subnet)
making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
[2023/01/18 11:34:10.446381, 2] …/…/source3/nmbd/nmbd_subnetdb.c:179(make_subnet)
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
[2023/01/18 11:34:10.446430, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name LOCALHOST<00> with first IP 127.0.0.1 ttl=0 nb_flags= 4 to subnet REMOTE_BROADCAST_SUBNET
[2023/01/18 11:34:10.446470, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name LOCALHOST<20> with first IP 127.0.0.1 ttl=0 nb_flags= 4 to subnet REMOTE_BROADCAST_SUBNET
[2023/01/18 11:34:10.446488, 3] …/…/source3/nmbd/nmbd.c:1050(main)
Loaded hosts file /etc/samba/lmhosts
[2023/01/18 11:34:10.446505, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet 192.168.30.75
[2023/01/18 11:34:10.446539, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet 192.168.30.75
[2023/01/18 11:34:10.446557, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name SAMBA<20> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet 192.168.30.75
[2023/01/18 11:34:10.446572, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name SAMBA<00> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet 192.168.30.75
[2023/01/18 11:34:10.446651, 3] …/…/source3/nmbd/nmbd_serverlistdb.c:135(create_server_on_workgroup)
create_server_on_workgroup: Created server entry ROCKSTOR4 of type 40819a03 (Samba 4.15.12-git.535.7750e5c95ef150300.3.43.1-S) on workgroup WORKGROUP.
[2023/01/18 11:34:10.446669, 3] …/…/source3/nmbd/nmbd_workgroupdb.c:262(initiate_myworkgroup_startup)
initiate_myworkgroup_startup: Added server name entry ROCKSTOR4 on subnet 192.168.30.75
[2023/01/18 11:34:10.446687, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2023/01/18 11:34:10.446703, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2023/01/18 11:34:10.446728, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name SAMBA<20> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2023/01/18 11:34:10.446745, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name SAMBA<00> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2023/01/18 11:34:10.446762, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name ROCKSTOR4<20> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2023/01/18 11:34:10.446779, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name ROCKSTOR4<03> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2023/01/18 11:34:10.446796, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name ROCKSTOR4<00> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2023/01/18 11:34:10.446822, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP 192.168.30.75 ttl=0 nb_flags=80 to subnet UNICAST_SUBNET
[2023/01/18 11:34:10.446840, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP 192.168.30.75 ttl=0 nb_flags=80 to subnet UNICAST_SUBNET
[2023/01/18 11:34:10.446855, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2023/01/18 11:34:10.446870, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2023/01/18 11:34:10.446888, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name SAMBA<20> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2023/01/18 11:34:10.446904, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name SAMBA<00> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2023/01/18 11:34:10.447020, 3] …/…/source3/nmbd/nmbd_sendannounce.c:213(send_host_announcement)
send_host_announcement: type 819a03 for host ROCKSTOR4 on subnet 192.168.30.75 for workgroup WORKGROUP
[2023/01/18 11:34:10.447490, 3] …/…/source3/nmbd/nmbd_elections.c:80(check_for_master_browser_success)
check_for_master_browser_success: Local master browser for workgroup WORKGROUP exists at IP 192.168.30.51 (just checking).
[2023/01/18 11:34:14.453266, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name ROCKSTOR4<20> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet 192.168.30.75
[2023/01/18 11:34:14.453402, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name ROCKSTOR4<03> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet 192.168.30.75
[2023/01/18 11:34:14.453462, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name ROCKSTOR4<00> with first IP 192.168.30.75 ttl=0 nb_flags= 0 to subnet 192.168.30.75
[2023/01/18 11:34:14.453535, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP 192.168.30.75 ttl=0 nb_flags=80 to subnet 192.168.30.75
[2023/01/18 11:34:14.453589, 3] …/…/source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP 192.168.30.75 ttl=0 nb_flags=80 to subnet 192.168.30.75
[2023/01/18 11:34:34.471950, 3] …/…/source3/nmbd/nmbd_serverlistdb.c:414(write_browse_list)
write_browse_list: Wrote browse list into file /var/lib/samba/browse.dat
[2023/01/18 11:35:13.537940, 3] …/…/source3/nmbd/nmbd_incomingdgrams.c:270(process_local_master_announce)
process_local_master_announce: from APPARAT<00> IP 192.168.30.51 to WORKGROUP<1e> for server APPARAT.
[2023/01/18 11:35:13.537989, 3] …/…/source3/nmbd/nmbd_serverlistdb.c:135(create_server_on_workgroup)
create_server_on_workgroup: Created server entry APPARAT of type 40051003 () on workgroup WORKGROUP.
[2023/01/18 11:35:13.538187, 3] …/…/source3/nmbd/nmbd_serverlistdb.c:414(write_browse_list)
write_browse_list: Wrote browse list into file /var/lib/samba/browse.dat
[2023/01/18 11:35:13.538260, 3] …/…/source3/nmbd/nmbd_incomingdgrams.c:270(process_local_master_announce)
process_local_master_announce: from APPARAT<00> IP 192.168.30.51 to WORKGROUP<1e> for server APPARAT.
[2023/01/18 11:35:13.538297, 3] …/…/source3/nmbd/nmbd_sendannounce.c:213(send_host_announcement)
Processes are running:
rockstor4:/var/log # systemctl status smb.service
● smb.service - Samba SMB Daemon
Loaded: loaded (/etc/systemd/system/smb.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2023-01-18 11:34:10 CET; 8min ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 6178 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
Main PID: 6179 (smbd)
Status: “smbd: ready to serve connections…”
Tasks: 4
CGroup: /system.slice/smb.service
├─6179 /usr/sbin/smbd --foreground --no-process-group
├─6181 /usr/sbin/smbd --foreground --no-process-group
├─6182 /usr/sbin/smbd --foreground --no-process-group
└─6183 /usr/lib64/samba/samba-bgqd --ready-signal-fd=47 --parent-watch-fd=13 --debuglevel=3 -F
Jan 18 11:34:10 rockstor4 systemd[1]: Starting Samba SMB Daemon…
Jan 18 11:34:10 rockstor4 smbd[6179]: [2023/01/18 11:34:10.346944, 0] …/…/source3/smbd/server.c:1734(main)
Jan 18 11:34:10 rockstor4 smbd[6179]: smbd version 4.15.12-git.535.7750e5c95ef150300.3.43.1-SUSE-oS15.0-x86_64 started.
Jan 18 11:34:10 rockstor4 smbd[6179]: Copyright Andrew Tridgell and the Samba Team 1992-2021
Jan 18 11:34:10 rockstor4 systemd[1]: Started Samba SMB Daemon.
rockstor4:/var/log # systemctl status nmb.service
● nmb.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2023-01-18 11:34:10 CET; 8min ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 6185 (nmbd)
Status: “nmbd: ready to serve connections…”
Tasks: 1
CGroup: /system.slice/nmb.service
└─6185 /usr/sbin/nmbd --foreground --no-process-group
Jan 18 11:34:10 rockstor4 systemd[1]: Starting Samba NMB Daemon…
Jan 18 11:34:10 rockstor4 nmbd[6185]: [2023/01/18 11:34:10.444411, 0] …/…/source3/nmbd/nmbd.c:901(main)
Jan 18 11:34:10 rockstor4 nmbd[6185]: nmbd version 4.15.12-git.535.7750e5c95ef150300.3.43.1-SUSE-oS15.0-x86_64 started.
Jan 18 11:34:10 rockstor4 nmbd[6185]: Copyright Andrew Tridgell and the Samba Team 1992-2021
Jan 18 11:34:10 rockstor4 systemd[1]: Started Samba NMB Daemon.
SMB Configuration:
I have to say, that I’m running stable kernel backports as described in the rockstor docs. So I’m not really sure if it’s related to the latest rockstor update or the latest kernel update.
Any help is appreciated