1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00
Samuel Cabrero a7a4d8e533 idmap_nss: Add a parameter to use UPNs instead of plain names
idmap config <DOMAIN> : backend = nss
idmap config <DOMAIN> : use_upn = yes|no

When translating a Unix ID to a SID the module calls get[pwu|grg]id() but the
name returned by some NSS modules might be a UPN instead of a plain name. If
the new parameter is enabled the returned name will be parsed and correctly
handled.

On the other hand, when translating a SID to a Unix ID the module first
resolves the SID to a domain + name, and then calls get[pw|gr]name() with the
plain name, or the UPN if the new parameter is enabled.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2023-12-13 15:07:38 +00:00
..
2023-05-05 02:54:31 +00:00
2023-05-05 02:54:31 +00:00
2023-09-11 02:42:41 +00:00
2023-10-25 22:23:37 +00:00
2023-09-11 02:42:41 +00:00
2023-04-05 01:06:29 +00:00
2023-09-11 02:42:41 +00:00
2023-09-11 02:42:41 +00:00