[Samba] Failed to convert SID to a UID for a computer

Greg Dickie greg at justaguy.ca
Mon Jan 23 19:57:00 UTC 2023


This message does fill the logs though, even with log level=0. Since it's
normal, should we not suppress the message for machine accounts?

Thanks,
Greg

On Mon, Jan 23, 2023 at 10:32 AM Rowland Penny via samba <
samba at lists.samba.org> wrote:

>
>
> On 23/01/2023 15:21, tizo via samba wrote:
> > We have a couple of hosts running Samba 4.16.5 as AD DC. Besides, we
> > have other hosts with Samba 4.15.5 as file servers. From time to time
> > the file shares that are mounted with cifs from some Linux clients get
> > stuck.
> >
> > All I can see in Samba logs on the file servers, are message like:
> >
> > check_account: Failed to convert SID
> > S-X-X-XX-XXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-XXXX to a UID
> > (dom_user[SMB\host-xxx$]), being host-xxx one of the Windows computer
> > client.
> >
> > Is this message normal?. Or should I set an UID manually for Windows
> > computers as I do for users and groups (as idmap backend is ad)?.
>
> That is perfectly normal, on Windows a computer is a user with an extra
> objectclass. On Linux, a computer is just a computer. You can either
> ignore those messages or you can do as you suggest, give each computer a
> uidNumber attribute.
>
> >
> > What about the problem?.
>
> No idea, not enough info provided.
>
> > Could it be related to the message?.
>
> I doubt it.
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


-- 


Greg Dickie
just a guy
514-983-5400


More information about the samba mailing list