When sssd is configured on a system to handle nsswtich, it will return UPNs for domain user lookups. Example: # getent passwd 'EARTH\alice' alice@earth.milkyway.site:*:476801103:476800513:Alice One:/home/alice@earth.milkyway.site:/bin/bash In order to handle that correctly, smbd needs to be able to deal with UPNs in lookup_name*() calls. Patch will follow.
This bug was referenced in samba master: 756cd0eed30322ae6dbd5402ec11441387475884 2a03fb91c1120718ada9d4b8421044cb7eae7b83 2690310743920dfe20ac235c1e3617e0f421eddc 28fc44f2852046d03cada161ed1001d04d9e1554
Created attachment 17275 [details] patch for 4.15
Created attachment 17276 [details] patch for 4.16
Comment on attachment 17275 [details] patch for 4.15 LGTM
Comment on attachment 17276 [details] patch for 4.16 LGTM
Jule, please add to 4.15 and 4.16, thanks!
Pushed to autobuild-v4-{16,15}-test.
This bug was referenced in samba v4-15-test: 844380014582b2e034d05740aa85ad0f96b24248 f11fef0447183da7334320dece5122cc010417e4 ca282bfff2b76e8c5e3cf6ab6b050521c5bb660d eed7de8a7e6aadc14ef3bd94ea1e1052da24ed8d
This bug was referenced in samba v4-16-test: 80d3e7d45c8b3b3402bf778070cadc3325ddc441 e6cc5f946586190a2e761fd491498c1991d4a937 944ee14c512832d1ffc3aa342d7de4592adfa52d 6cbaa31fe0a04825f1a7011d6c2ecb50c91861bf
Closing out bug report. Thanks!
This bug was referenced in samba v4-16-stable (Release samba-4.16.1): 80d3e7d45c8b3b3402bf778070cadc3325ddc441 e6cc5f946586190a2e761fd491498c1991d4a937 944ee14c512832d1ffc3aa342d7de4592adfa52d 6cbaa31fe0a04825f1a7011d6c2ecb50c91861bf
This bug was referenced in samba v4-15-stable (Release samba-4.15.8): 844380014582b2e034d05740aa85ad0f96b24248 f11fef0447183da7334320dece5122cc010417e4 ca282bfff2b76e8c5e3cf6ab6b050521c5bb660d eed7de8a7e6aadc14ef3bd94ea1e1052da24ed8d