Per lechner suggestion at #debian-devel @ IRC, let me share here a potential
root cause for this issue.
The nsswitch.conf file is different inside/outside the schroot:
(bullseye-amd64-sbuild)root@tools-package-builder-04:/build/toollabs-webservice-Oe7KMY#
cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: files
group: files
shadow: files
gshadow: files
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
aborrero@tools-package-builder-04:~$ cat /etc/nsswitch.conf
passwd: files sss
group: files sss
shadow: files sss
hosts: files dns
networks: files
protocols: db files
services: db files sss
ethers: db files
rpc: db files
netgroup: sss
sudoers: files sss
automount: files sss