for upn type names user1@test.abc you need to filter not on sAMAccountName, but on userPrincipalName. https://gitlab.com/samba-team/samba/-/blob/master/source4/rpc_server/samr/dcesrv_samr.c?ref_type=heads#L2155 it was tested like this: id user1@test.abc on Linux. samba dc install
In winbind I can't pass authentication by UPN. /etc/nsswitch.conf: passwd: files winbind systemd shadow: tcb files winbind group: files winbind systemd role Or is there a way to enable upn for winbind?