1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00
Ralph Boehme 148a102800 winbindd: let LookupNames return NT_STATUS_OK and SID_NAME_UNKNOWN for unmapped names
Previously LookupNames would fail if a name could not be translated, so winbindd
clients like libwbclient couldn't differentiate between not being able to talk
to a DC and just an unkown name.

As a visible change this alters

  $ bin/wbinfo -n Idontexist
  failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND
  Could not lookup name Idontexist

to

  $ bin/wbinfo -n Idontexist
  failed to call wbcLookupName: WBC_ERR_SOME_NOT_MAPPED
  Could not lookup name Idontexist

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-07-26 10:06:31 +00:00
..
2023-08-14 19:53:37 +00:00
2023-07-19 09:58:37 +00:00
2023-08-14 19:53:37 +00:00
2023-07-19 09:58:37 +00:00
2023-06-16 16:14:30 +00:00
2023-07-19 09:58:37 +00:00
2022-07-23 23:29:38 +00:00
2024-03-22 06:07:42 +00:00
2024-06-04 07:11:35 +00:00
2023-07-19 09:58:37 +00:00