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). -- David Mulder Labs Software Engineer, Samba SUSE 1221 S Valley Grove Way, Suite 500 Pleasant Grove, UT 84062 (P)+1 385.208.2989 dmulder at suse.com http://www.suse.com
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 Rowland