sorry, I need to resurrect this thread and this project.? I would really
like to get this working on ubuntu server.? Brief is in email below,
more details in the bug report
What other troubleshooting steps / logging can I do to try and track
down the issue.? I can set up another server, clean, and the same issue
happens with it
Peter
-------- Forwarded Message --------
Subject: samba-gpupdate nsswitch error
Date: Fri, 25 Nov 2022 07:48:51 -0800
From: Peter Carlson <peter at howudodat.com>
To: samba at lists.samba.org
brief: gpupdate when run during login, fails with unable to get SID
token. The same command run interactively runs with no issues.
The SID is for the user (Peter) and the user can login over ssh.? I can
repost all the logs and configs here if needed.
samba built from git master branch using bootstrap configure flags.
tested both with built in heimdal and mit krb.
after a bunch of testing with David Mulder, recommendation was to create
a bug report: https://bugzilla.samba.org/show_bug.cgi?id=15225
What other troubleshooting steps / logging can I do to try and track
down the issue.
> source3/auth/token_util.c:562
>
> ??????????????? pass = getpwuid_alloc(tmp_ctx, uid);
> and pass is null
>
> This is the error in the log:
> ? /usr/sbin/samba-gpupdate: add_local_groups: SID
> S-1-5-21-33300784-995546578-3414580312-1107 -> getpwuid(2001107)
> failed, is nsswitch configured?
>
> root at fs1:~/samba.git# wbinfo -s
> S-1-5-21-33300784-995546578-3414580312-1107
> CARLSON\peter 1