[Samba] Fwd: samba-gpupdate nsswitch error

Kees van Vloten keesvanvloten at gmail.com
Tue Mar 14 09:31:53 UTC 2023


Op 14-03-2023 om 10:18 schreef Rowland Penny via samba:
>
>
> On 14/03/2023 08:37, Dr. Nicola Mingotti wrote:
>>
>>
>> On 3/13/23 18:29, David Mulder via samba wrote:
>>>
>>> On 3/13/23 11:24 AM, Rowland Penny via samba wrote:
>>>> Possibly, but it is there and numerous users have asked about it. 
>>>> What you appear to be saying is that there are two problems, the 
>>>> python code which you are trying to fix and that message being 
>>>> printed because it is a Computer trying to get a uid.
>>>>
>>> nm, I just re-read Peter's analysis in bug 15225. These clearly are 
>>> the same issue. So the code I'm working on should resolve both 
>>> messages.
>>>
>>
>> @David, ok will do the upgrade when ready.
>>
>> @Rowland, the "RID" 1600 is the domain controller DC1, i see from:
>> ---
>> $> wbinfo -R 1600
>> Domain: WINDOM
>>      1600: DC1$ (SID_USER)
>> ---
>>
>
> So, it is (yet again) a computer trying to get a uid, which as I said 
> is possible, because computers are users, but not normally to Linux.
>
> I don't use GPO's, so I don't know how the GPO code identifies 
> computers, but if a uid is required, then it looks like most of the 
> idmap backends will have to be rewritten.
>
> If the uid isn't required, then something should be done to stop that 
> annoying error message, which David has said is a likely outcome of 
> his new GPO code, so we will just have to await that.

I guess the uid is required because a GPO is a file (and something in 
LDAP). The file is retrieved form the sysvol share and in order to deal 
with file permissions on Linux you get identified on the filesytem 
withself with a uid (and gid). In this case it is the computer-account 
that retrieves the file, at least that is my assumption :-)

- Kees.

>
>
> Rowland
>
>



More information about the samba mailing list