Sorry we lost some posts because of database errors!

*New 12.1 series Release:
2020-09-01: XigmaNAS 12.1.0.4.7728 - released

*New 11.4 series Release:
2020-08-27: XigmaNAS 11.4.0.4.7718 - released!


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

smbd: Failed to fetch domain sid for WORKGROUP

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
mdhbart
NewUser
NewUser
Posts: 1
Joined: 24 Oct 2020 01:34
Status: Offline

smbd: Failed to fetch domain sid for WORKGROUP

#1

Post by mdhbart »

I'm sure this is a newbie misunderstanding but if you can get past that I would appreciate any help. I am unable to connect to my xigmaNAS server using SMB. Looking at the log entries for a connection attempt it seems that the user login is successful but then there is an error "smbd: Failed to fetch domain sid for WORKGROUP."

Is this the actual problem? Any thoughts what I might need to do to get past this?

I am attempting to connect from a Windows 10 machine that sees the xigmaNAS server share and asks for network credentials when I attempt to access it.

12.1.0.4 - Ingva (revision 7683)

Here is the resulting log file:
Oct 28 20:22:50 xigmanas nmbd: OK
Oct 28 20:24:47 xigmanas nmbd: [2020/10/28 20:24:47.642697, 3] ../../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
Oct 28 20:24:47 xigmanas nmbd: process_name_query_request: Name query from 192.168.1.126 on subnet 192.168.1.118 for name XIGMANAS<20>
Oct 28 20:24:47 xigmanas nmbd: [2020/10/28 20:24:47.642769, 3] ../../source3/nmbd/nmbd_incomingrequests.c:574(process_name_query_request)
Oct 28 20:24:47 xigmanas nmbd: OK
Oct 28 20:24:47 xigmanas nmbd: [2020/10/28 20:24:47.642874, 3] ../../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
Oct 28 20:24:47 xigmanas nmbd: process_name_query_request: Name query from 192.168.1.126 on subnet 192.168.1.118 for name XIGMANAS<20>
Oct 28 20:24:47 xigmanas nmbd: [2020/10/28 20:24:47.642908, 3] ../../source3/nmbd/nmbd_incomingrequests.c:574(process_name_query_request)
Oct 28 20:24:47 xigmanas nmbd: OK
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.663484, 3] ../../lib/util/access.c:365(allow_access)
Oct 28 20:24:48 xigmanas smbd: Allowed connection from 192.168.1.126 (192.168.1.126)
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.663634, 3] ../../source3/param/loadparm.c:3883(lp_load_ex)
Oct 28 20:24:48 xigmanas smbd: lp_load_ex: refreshing parameters
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.663715, 3] ../../source3/param/loadparm.c:550(init_globals)
Oct 28 20:24:48 xigmanas smbd: Initialising global parameters
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.663831, 3] ../../source3/param/loadparm.c:2797(lp_do_section)
Oct 28 20:24:48 xigmanas smbd: Processing section "[global]"
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.664162, 2] ../../source3/param/loadparm.c:2814(lp_do_section)
Oct 28 20:24:48 xigmanas smbd: Processing section "[nasdisk]"
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.664470, 3] ../../source3/param/loadparm.c:1625(lp_add_ipc)
Oct 28 20:24:48 xigmanas smbd: adding IPC service
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.664573, 2] ../../source3/lib/interface.c:345(add_interface)
Oct 28 20:24:48 xigmanas smbd: added interface re0 ip=192.168.1.118 bcast=192.168.1.255 netmask=255.255.255.0
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.664627, 3] ../../source3/smbd/oplock.c:1422(init_oplocks)
Oct 28 20:24:48 xigmanas smbd: init_oplocks: initializing messages.
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.665040, 3] ../../source3/smbd/process.c:1948(process_smb)
Oct 28 20:24:48 xigmanas smbd: Transaction 0 of length 159 (0 toread)
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.665071, 3] ../../source3/smbd/process.c:1541(switch_message)
Oct 28 20:24:48 xigmanas smbd: switch message SMBnegprot (pid 50909) conn 0x0
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.666702, 3] ../../source3/smbd/negprot.c:637(reply_negprot)
Oct 28 20:24:48 xigmanas smbd: Requested protocol [PC NETWORK PROGRAM 1.0]
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.666762, 3] ../../source3/smbd/negprot.c:637(reply_negprot)
Oct 28 20:24:48 xigmanas smbd: Requested protocol [LANMAN1.0]
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.666779, 3] ../../source3/smbd/negprot.c:637(reply_negprot)
Oct 28 20:24:48 xigmanas smbd: Requested protocol [Windows for Workgroups 3.1a]
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.666796, 3] ../../source3/smbd/negprot.c:637(reply_negprot)
Oct 28 20:24:48 xigmanas smbd: Requested protocol [LM1.2X002]
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.666813, 3] ../../source3/smbd/negprot.c:637(reply_negprot)
Oct 28 20:24:48 xigmanas smbd: Requested protocol [LANMAN2.1]
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.666829, 3] ../../source3/smbd/negprot.c:637(reply_negprot)
Oct 28 20:24:48 xigmanas smbd: Requested protocol [NT LM 0.12]
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.666847, 3] ../../source3/smbd/negprot.c:637(reply_negprot)
Oct 28 20:24:48 xigmanas smbd: Requested protocol [SMB 2.002]
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.666863, 3] ../../source3/smbd/negprot.c:637(reply_negprot)
Oct 28 20:24:48 xigmanas smbd: Requested protocol [SMB 2.???]
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.667009, 3] ../../source3/smbd/smb2_negprot.c:293(smbd_smb2_request_process_negprot)
Oct 28 20:24:48 xigmanas smbd: Selected protocol SMB2_FF
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.667796, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'gssapi_spnego' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.667829, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'gssapi_krb5' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.667846, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'gssapi_krb5_sasl' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.667863, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'spnego' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.667881, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'schannel' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.667898, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'naclrpc_as_system' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.667915, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'sasl-EXTERNAL' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.667932, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'ntlmssp' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.667948, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'ntlmssp_resume_ccache' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.667977, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'http_basic' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.667994, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'http_ntlm' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.668011, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'http_negotiate' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.668027, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'krb5' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.668044, 3] ../../auth/gensec/gensec_start.c:977(gensec_register)
Oct 28 20:24:48 xigmanas smbd: GENSEC backend 'fake_gssapi_krb5' registered
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.668235, 3] ../../source3/smbd/negprot.c:776(reply_negprot)
Oct 28 20:24:48 xigmanas smbd: Selected protocol SMB 2.???
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.668562, 3] ../../source3/smbd/smb2_negprot.c:293(smbd_smb2_request_process_negprot)
Oct 28 20:24:48 xigmanas smbd: Selected protocol SMB3_11
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.694385, 3] ../../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
Oct 28 20:24:48 xigmanas smbd: Got NTLMSSP neg_flags=0xe2088297
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.694998, 3] ../../auth/ntlmssp/ntlmssp_server.c:552(ntlmssp_server_preauth)
Oct 28 20:24:48 xigmanas smbd: Got user=[mike] domain=[MicrosoftAccount] workstation=[BRACKET] len1=24 len2=260
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.695072, 3] ../../source3/param/loadparm.c:3883(lp_load_ex)
Oct 28 20:24:48 xigmanas smbd: lp_load_ex: refreshing parameters
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.695129, 3] ../../source3/param/loadparm.c:550(init_globals)
Oct 28 20:24:48 xigmanas smbd: Initialising global parameters
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.695251, 3] ../../source3/param/loadparm.c:2797(lp_do_section)
Oct 28 20:24:48 xigmanas smbd: Processing section "[global]"
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.695783, 2] ../../source3/param/loadparm.c:2814(lp_do_section)
Oct 28 20:24:48 xigmanas smbd: Processing section "[nasdisk]"
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.696281, 3] ../../source3/param/loadparm.c:1625(lp_add_ipc)
Oct 28 20:24:48 xigmanas smbd: adding IPC service
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.696315, 3] ../../source3/auth/auth.c:189(auth_check_ntlm_password)
Oct 28 20:24:48 xigmanas smbd: check_ntlm_password: Checking password for unmapped user [MicrosoftAccount]\[mike]@[BRACKET] with the new password interface
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.696332, 3] ../../source3/auth/auth.c:192(auth_check_ntlm_password)
Oct 28 20:24:48 xigmanas smbd: check_ntlm_password: mapped user is: [MicrosoftAccount]\[mike]@[BRACKET]
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.696661, 3] ../../source3/passdb/lookup_sid.c:1587(get_primary_group_sid)
Oct 28 20:24:48 xigmanas smbd: Primary group S-1-5-21-3298299559-2195661838-3690513187-1000 for user mike is a Local Group and not a domain group
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.696695, 3] ../../source3/passdb/lookup_sid.c:1594(get_primary_group_sid)
Oct 28 20:24:48 xigmanas smbd: Forcing Primary Group to 'Domain Users' for mike
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.697258, 3] ../../source3/auth/auth.c:256(auth_check_ntlm_password)
Oct 28 20:24:48 xigmanas smbd: auth_check_ntlm_password: sam_ignoredomain authentication for user [mike] succeeded
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.697304, 3] ../../auth/auth_log.c:647(log_authentication_event_human_readable)
Oct 28 20:24:48 xigmanas smbd: Auth: [SMB2,(null)] user [MicrosoftAccount]\[mike] at [Wed, 28 Oct 2020 20:24:48.697295 CDT] with [NTLMv2] status [NT_STATUS_OK] workstation [BRACKET] remote host [ipv4:192.168.1.126:54302] became [XIGMANAS]\[mike] [S-1-5-21-3298299559-2195661838-3690513187-1001]. local host [ipv4:192.168.1.118:445]
Oct 28 20:24:48 xigmanas smbd: {"timestamp": "2020-10-28T20:24:48.697515-0500", "type": "Authentication", "Authentication": {"version": {"major": 1, "minor": 1}, "eventId": 4624, "logonType": 3, "status": "NT_STATUS_OK", "localAddress": "ipv4:192.168.1.118:445", "remoteAddress": "ipv4:192.168.1.126:54302", "serviceDescription": "SMB2", "authDescription": null, "clientDomain": "MicrosoftAccount", "clientAccount": "mike", "workstation": "BRACKET", "becameAccount": "mike", "becameDomain": "XIGMANAS", "becameSid": "S-1-5-21-3298299559-2195661838-3690513187-1001", "mappedAccount": "mike", "mappedDomain": "MicrosoftAccount", "netlogonComputer": null, "netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x00000000", "netlogonSecureChannelType": 0, "netlogonTrustAccountSid": null, "passwordType": "NTLMv2", "duration": 3323}}
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.697617, 2] ../../source3/auth/auth.c:316(auth_check_ntlm_password)
Oct 28 20:24:48 xigmanas smbd: check_ntlm_password: authentication for user [mike] -> [mike] -> [mike] succeeded
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.697917, 3] ../../source3/auth/token_util.c:681(finalize_local_nt_token)
Oct 28 20:24:48 xigmanas smbd: Failed to fetch domain sid for WORKGROUP
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.698223, 3] ../../auth/ntlmssp/ntlmssp_sign.c:514(ntlmssp_sign_reset)
Oct 28 20:24:48 xigmanas smbd: NTLMSSP Sign/Seal - Initialising with flags:
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.698245, 3] ../../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
Oct 28 20:24:48 xigmanas smbd: Got NTLMSSP neg_flags=0xe2088215
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.698297, 3] ../../auth/ntlmssp/ntlmssp_sign.c:514(ntlmssp_sign_reset)
Oct 28 20:24:48 xigmanas smbd: NTLMSSP Sign/Seal - Initialising with flags:
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.698315, 3] ../../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
Oct 28 20:24:48 xigmanas smbd: Got NTLMSSP neg_flags=0xe2088215
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.698639, 3] ../../source3/auth/token_util.c:681(finalize_local_nt_token)
Oct 28 20:24:48 xigmanas smbd: Failed to fetch domain sid for WORKGROUP
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.699017, 3] ../../source3/smbd/password.c:140(register_homes_share)
Oct 28 20:24:48 xigmanas smbd: Adding homes service for user 'mike' using home directory: '/mnt/VDRaidDisk/mike'
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.699688, 0] ../../lib/util/access.c:365(allow_access)
Oct 28 20:24:48 xigmanas smbd: Denied connection from 192.168.1.126 (192.168.1.126)
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.699751, 3] ../../source3/smbd/smb2_server.c:3213(smbd_smb2_request_error_ex)
Oct 28 20:24:48 xigmanas smbd: smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_ACCESS_DENIED] || at ../../source3/smbd/smb2_tcon.c:142
Oct 28 20:24:48 xigmanas smbd: [2020/10/28 20:24:48.700691, 3] ../../source3/smbd/server_exit.c:236(exit_server_common)
Oct 28 20:24:48 xigmanas smbd: Server exit (NT_STATUS_CONNECTION_RESET)

Brahiewahiewa
Starter
Starter
Posts: 38
Joined: 01 Aug 2012 15:54
Status: Offline

Re: smbd: Failed to fetch domain sid for WORKGROUP

#2

Post by Brahiewahiewa »

The error message "Failed to fetch domain sid for WORKGROUP" makes sense, in that a workgroup doesn't have a (domain) SID. You should either allow anonymous access or configure your xigmanas as a samba AD and join the windows machine to that AD

Post Reply

Return to “CIFS/SMB (Samba)”