[Samba] samba-gpupdate nsswitch error
Peter Carlson
peter at howudodat.com
Fri Nov 25 15:48:51 UTC 2022
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
More information about the samba
mailing list