[Samba] Fwd: samba-gpupdate nsswitch error

Rowland Penny rpenny at samba.org
Mon Mar 13 17:14:13 UTC 2023

On 13/03/2023 17:05, David Mulder via samba wrote:
> On 3/13/23 10:54 AM, Rowland Penny via samba wrote:
>> Glad it isn't just myself having problems understanding that code, it 
>> is horrible :-D
>> If it is a machine, why is it trying to look up a uid ? I traced where 
>> the error message is coming from, but couldn't understand what was 
>> calling it, perhaps if I spent a morning, I could track this down, but 
>> probably not worth it, if the code is going.
> The 'Failed to get machine token' message is coming from 
> py_ads_get_gpo_list() (libgpo/pygpo.c line 452).

I was referring to:
add_local_groups: SID S-1-5-21-2112549936-2540803609-4198596461-1600 -> 
getpwuid(3000148) failed, is nsswitch configured?

Which is coming from source3/auth/token_util.c


More information about the samba mailing list