On Thu, 17 Oct 2024 19:06:13 +0200
Gilles via samba <samba at lists.samba.org> wrote:
> FWIW, the following occurs when I double-click on the host to see its
> shares. Messages in the log are displayed immediately but Windows
> still waits several seconds before displaying the shares:
>
> root at debian:~# tail -f /var/log/samba/log.smbd
>
> [2024/10/17 19:02:13.434025,? 2]
> ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
> ? Registered MSG_REQ_POOL_USAGE
> [2024/10/17 19:02:13.468958,? 2]
> ../../source3/auth/auth.c:345(auth_check_ntlm_password)
> ? check_ntlm_password:? Authentication for user [fred] -> [fred]
> FAILED with error NT_STATUS_NO_SUCH_USER, authoritative=1
> [2024/10/17 19:02:13.470471,? 2]
> ../../auth/auth_log.c:647(log_authentication_event_human_readable)
> ? Auth: [SMB2,(null)] user [MYPUTER]\[fred] at [Thu, 17 Oct 2024
> 19:02:13.470182 CEST] with [NTLMv1] status [NT_STATUS_NO_SUCH_USER]
> workstation [MYPUTER] remote host [ipv4:192.168.0.17:56659] mapped to
> [MYPUTER]\[fred]. local host [ipv4:192.168.0.15:445]
> ? {"timestamp": "2024-10-17T19:02:13.471976+0200",
"type":
> "Authentication", "Authentication":
{"version": {"major": 1, "minor":
> 2}, "eventId": 4625, "logonId": "0",
"logonType": 3, "status":
> "NT_STATUS_NO_SUCH_USER", "localAddress":
"ipv4:192.168.0.15:445",
> "remoteAddress": "ipv4:192.168.0.17:56659",
"serviceDescription":
> "SMB2", "authDescription": null,
"clientDomain": "MYPUTER",
> "clientAccount": "fred", "workstation":
"MYPUTER", "becameAccount":
> null, "becameDomain": null, "becameSid": null,
"mappedAccount":
> "fred", "mappedDomain": "MYPUTER",
"netlogonComputer": null,
> "netlogonTrustAccount": null, "netlogonNegotiateFlags":
"0x00000000",
> "netlogonSecureChannelType": 0,
"netlogonTrustAccountSid": null,
> "passwordType": "NTLMv1", "duration": 6515}}
Your Samba server isn't using NTLMv1 (aka SMBv1), but it appears the
client is.
> [2024/10/17 19:02:13.476724,? 2]
> ../../source3/param/loadparm.c:2897(lp_do_section)
> ? Processing section "[www]"
> [2024/10/17 19:02:13.478484,? 0]
> ../../lib/param/loadparm.c:749(lpcfg_map_parameter)
> ? Unknown parameter encountered: "security mask"
> [2024/10/17 19:02:13.483260,? 0]
> ../../lib/param/loadparm.c:1936(lpcfg_do_service_parameter)
> ? Ignoring unknown parameter "security mask"
> [2024/10/17 19:02:13.484668,? 0]
> ../../lib/param/loadparm.c:749(lpcfg_map_parameter)
> ? Unknown parameter encountered: "force security mode"
> [2024/10/17 19:02:13.488062,? 0]
> ../../lib/param/loadparm.c:1936(lpcfg_do_service_parameter)
> ? Ignoring unknown parameter "force security mode"
> [2024/10/17 19:02:13.489202,? 2]
> ../../source3/param/loadparm.c:2897(lp_do_section)
> ? Processing section "[sdcard]"
>
You still appear to be using parameters that were removed a long time
ago.
Rowland