[Samba] check_account: Failed to find local account with UID" issue / The university of Chicago

Himanshi Yadav hyadav at uchicago.edu
Mon Jul 31 16:38:20 UTC 2023


Thanks, it was perfectly working prior to rebooting the server. Any suggestion to fix this issue would be appreciated. How to fix “ADLOCAL\jlspellberg ADLOCAL\domain” to username / group name only?

[root at midway3-dm1 samba]# smbstatus

Samba version 4.18.3
PID     Username     Group        Machine                                   Protocol Version  Encryption           Signing
----------------------------------------------------------------------------------------------------------------------------------------
0:1733056 ADLOCAL\jlspellberg ADLOCAL\domain users 128.135.108.234 (ipv4:128.135.108.234:60869) SMB3_11           -                    partial(AES-128-CMAC)
0:1759110 ADLOCAL\vavra ADLOCAL\domain users 128.135.196.99 (ipv4:128.135.196.99:61931) SMB3_11           -                    partial(AES-128-CMAC)
0:456284 ADLOCAL\rcanac ADLOCAL\domain users 10.151.93.232 (ipv4:10.151.93.232:54417)  SMB3_11           -                    partial(AES-128-CMAC)
0:466996 ADLOCAL\lykhin ADLOCAL\domain users 10.150.20.80 (ipv4:10.150.20.80:51782)    SMB3_11           -                    partial(AES-128-GMAC)
0:444589 ADLOCAL\janekrieger ADLOCAL\domain users 128.135.108.234 (ipv4:128.135.108.234:60866) SMB3_11           -                    partial(AES-128-CMAC)
0:3540531 ADLOCAL\daltonm ADLOCAL\domain users 192.170.200.78 (ipv4:192.170.200.78:62652) SMB3_11           -                    partial(AES-128-CMAC)
0:1696893 ADLOCAL\pjoshi ADLOCAL\domain users 128.135.108.234 (ipv4:128.135.108.234:54169) SMB3_11           -                    partial(AES-128-CMAC)
0:3811775 ADLOCAL\bijunl ADLOCAL\domain users 205.208.121.69 (ipv4:205.208.121.69:50413) SMB3_11           -                    partial(AES-128-CMAC)
0:1704857 ADLOCAL\bijunl ADLOCAL\domain users 10.150.2.209 (ipv4:10.150.2.209:59974)    SMB3_11           -                    partial(AES-128-CMAC)
0:618602 ADLOCAL\jbarrosobatista ADLOCAL\domain users 10.151.70.83 (ipv4:10.151.70.83:49878)    SMB3_11           -                    partial(AES-128-CMAC)
0:3483374 ADLOCAL\rshenkar ADLOCAL\domain users 205.208.69.196 (ipv4:205.208.69.196:50744) SMB3_11           -                    AES-128-CMAC
0:1694642 ADLOCAL\dgmartin ADLOCAL\domain users 128.135.186.8 (ipv4:128.135.186.8:45520)  SMB3_11           -                    partial(AES-128-CMAC)
0:490237 ADLOCAL\ananyag ADLOCAL\domain users 205.208.121.52 (ipv4:205.208.121.52:55873) SMB3_11           -                    partial(AES-128-CMAC)


From: samba <samba-bounces at lists.samba.org> on behalf of Rowland Penny via samba <samba at lists.samba.org>
Date: Saturday, July 29, 2023 at 1:05 AM
To: samba at lists.samba.org <samba at lists.samba.org>
Cc: Rowland Penny <rpenny at samba.org>
Subject: Re: [Samba] check_account: Failed to find local account with UID" issue / The university of Chicago


On 28/07/2023 22:01, Andrew Bartlett via samba wrote:
> On Fri, 2023-07-28 at 19:55 +0000, Himanshi Yadav via samba wrote:
>> Jul 28 09:18:51 midway3-dm1.rcc.local winbindd[1056745]:    #15 /lib64/libtevent.so.0(tevent_common_loop_immediate+0x27) [0x7fbf521f6ca7]
>> Jul 28 09:18:51 midway3-dm1.rcc.local winbindd[1056745]:    #16 /lib64/libtevent.so.0(+0xed2f) [0x7fbf521fcd2f]
>> Jul 28 09:18:51 midway3-dm1.rcc.local winbindd[1056745]:    #17 /lib64/libtevent.so.0(+0xcf5b) [0x7fbf521faf5b]
>> Jul 28 09:18:51 midway3-dm1.rcc.local winbindd[1056745]:    #18 /lib64/libtevent.so.0(_tevent_loop_once+0x95) [0x7fbf521f59b5]
>> Jul 28 09:18:51 midway3-dm1.rcc.local winbindd[1056745]:    #19 /usr/sbin/winbindd(main+0xd34) [0x56316272a2f4]
>> Jul 28 09:18:51 midway3-dm1.rcc.local winbindd[1056745]:    #20 /lib64/libc.so.6(__libc_start_main+0xe5) [0x7fbf51865d85]
>> Jul 28 09:18:51 midway3-dm1.rcc.local winbindd[1056745]:    #21 /usr/sbin/winbindd(_start+0x2e) [0x56316272ae8e]
>> Jul 28 09:18:51 midway3-dm1.rcc.local winbindd[1056745]: [2023/07/28 09:18:51.432424,  0] ../../source3/lib/dumpcore.c:318(dump_core)
>> Jul 28 09:18:51 midway3-dm1.rcc.local winbindd[1056745]:   coredump is handled by helper binary specified at /proc/sys/kernel/core_pattern
>> Jul 28 09:18:51 midway3-dm1.rcc.local winbindd[1056745]:
>
> It is a Saturday here and I've not digested the entire thread, but this
> is the end of a backtrace and if Samba is crashing it is no supprise if
> things are not working.
>
> Please supply that full backtrace and debug that first.
>
> Andrew,
>

That was the first mention of a crash, but it seems that the OP has been
trying various idmap backends (and probably other things), so whilst
Samba shouldn't crash, who knows if it isn't self inflicted. Yes, the
crash should be investigated first.

What isn't helping is the sanitisation
We have been given DOMAIN/WORKGROUP 'AD'
The connecting user appears to be from the 'ADLOCAL' DOMAIN/WORKGROUP
The REALM is 'AD.UCHICAGO.EDU' but the log fragments show what appears
to be the machines FQDN 'midway3-dm1.rcc.local'

Nothing matches.

Rowland

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list