1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/winbindd
Ralph Boehme 32e752e145 winbindd: handling of failed lookupsids in wb_lookupsids_single_done()
If lookupsid() failed with NT_STATUS_SOME_NOT_MAPPED or
NT_STATUS_NONE_MAPPED, if we didn't get a domain name, don't add a fake
domain to the lsa_RefDomainList. Just set the domain index in the
translated name to UINT32_MAX.

It's up to callers like wb_sids2xids to handle such failed mappings and
wb_sids2xids_lookupsids_done() has been updated in a previous commit to
deal with it.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-04-12 01:41:14 +02:00
..
idmap_hash idmap_hash: Add a deprecation message 2017-03-03 16:54:34 +01:00
idmap_ad_nss.c winbind: remove nss_get_info backend functions 2017-01-04 12:22:13 +01:00
idmap_ad.c idmap_ad: Use idmap_config_bool 2017-03-20 19:36:22 +01:00
idmap_autorid_tdb.c idmap_autorid: Simplify idmap_autorid_loadconfig 2016-12-16 21:30:28 +01:00
idmap_autorid.c idmap_autorid: Use idmap_config_int 2017-03-20 23:28:37 +01:00
idmap_ldap.c idmap_ldap: Fix CID 1404836 Dereference before null check 2017-04-06 19:31:24 +02:00
idmap_nss.c idmap: Fix whitespace 2016-01-13 07:48:30 +01:00
idmap_passdb.c
idmap_proto.h winbind: Make "idmap_find_domain" public 2017-01-02 18:04:13 +01:00
idmap_rfc2307.c idmap_rfc2307: Slightly simplify idmap_rfc2307_initialize() 2017-03-22 07:11:10 +01:00
idmap_rid.c idmap_rid: Use idmap_config_int 2017-03-20 19:36:22 +01:00
idmap_rw.c
idmap_rw.h
idmap_script.c winbind: Use idmap_config_const_string in idmap_script_db_init 2017-03-20 19:36:21 +01:00
idmap_tdb2.c winbind: Use idmap_config_const_string in idmap_tdb2_db_init 2017-03-20 19:36:21 +01:00
idmap_tdb_common.c idmap_tdb: Avoid a few casts 2017-03-22 07:11:10 +01:00
idmap_tdb_common.h
idmap_tdb.c Convert the few instances of int32 there were to int32_t. 2015-05-16 03:09:12 +02:00
idmap_util.c idmap: don't generally forbid id==0 from idmap_unix_id_is_in_range() 2016-08-16 21:27:22 +02:00
idmap.c winbind: Add idmap_config_int 2017-03-20 19:36:22 +01:00
nss_info_template.c winbind: remove nss_get_info backend functions 2017-01-04 12:22:13 +01:00
nss_info.c winbind: Remove nss_get_info() 2017-01-04 12:22:13 +01:00
wb_dsgetdcname.c winbindd: check if dcinfo from genache is expired 2016-04-28 20:48:14 +02:00
wb_getgrsid.c winbind: Make wb_sids2xids_recv work on an array 2015-03-07 15:28:59 +01:00
wb_getpwsid.c s3:winbind: Use correct struct member for size calculation 2017-03-18 05:05:24 +01:00
wb_gettoken.c Re-enable token groups fallback 2017-03-06 19:18:31 +01:00
wb_group_members.c Correct "occured" typos. 2017-02-22 08:26:21 +01:00
wb_lookupname.c winbindd: remove bogus fallback to the forest root in wb_lookupname*() 2017-03-11 21:05:09 +01:00
wb_lookupsid.c winbindd: remove bogus fallback to the forest root in wb_lookupsid*() 2017-03-11 21:05:09 +01:00
wb_lookupsids.c winbindd: handling of failed lookupsids in wb_lookupsids_single_done() 2017-04-12 01:41:14 +02:00
wb_lookupuseraliases.c
wb_lookupusergroups.c winbindd: find the domain based on the sid within wb_lookupusergroups_send() 2017-03-06 15:09:18 +01:00
wb_next_grent.c s3:winbind:grent: don't stop when querying one domain fails. 2015-03-16 20:26:51 +01:00
wb_next_pwent.c winbind: Go throught wb_getpwsid for listing users 2017-01-02 18:04:14 +01:00
wb_ping.c
wb_query_group_list.c s3:winbind: add wb_query_group_list module - async query group list 2015-03-16 20:26:51 +01:00
wb_query_user_list.c winbind: Make wb_query_user_list just return names 2017-01-04 12:22:12 +01:00
wb_queryuser.c s3:winbind: Use the correct talloc context for user information 2017-03-18 19:47:40 +01:00
wb_seqnum.c
wb_seqnums.c
wb_sids2xids.c winbindd: handling of SIDs without domain reference in wb_sids2xids_lookupsids_done() 2017-04-12 01:41:14 +02:00
wb_xids2sids.c winbind: Use idmap_config_const_string in wb_xids2sids_add_dom 2017-03-20 19:36:21 +01:00
winbindd_ads.c Revert "winbind: Remove "lookup_usergroups" winbind method" 2017-03-06 15:09:17 +01:00
winbindd_allocate_gid.c
winbindd_allocate_uid.c
winbindd_async.c
winbindd_cache.c winbindd: remove trailing spaces in get_cache() 2017-03-17 00:20:17 +01:00
winbindd_ccache_access.c CVE-2016-2110: winbindd: add new_spnego to the WINBINDD_CCACHE_NTLMAUTH response 2016-04-12 19:25:22 +02:00
winbindd_change_machine_acct.c
winbindd_check_machine_acct.c
winbindd_cm.c rpc: Always supply both the remote and local address to the auth subsystem 2017-03-29 02:37:27 +02:00
winbindd_cred_cache.c s3/winbindd: use == -1 instead of < 0 for error checking uid_t 2016-07-01 05:22:36 +02:00
winbindd_creds.c lib: Add samlogon_cache.h 2016-12-02 09:36:08 +01:00
winbindd_domain.c
winbindd_dsgetdcname.c
winbindd_dual_ndr.c pidl: Change *_get_pipe_fns() to return const struct api_struct * 2016-12-01 05:54:22 +01:00
winbindd_dual_srv.c winbind: Add a debug message for out-of-range IDs 2017-03-08 00:04:22 +01:00
winbindd_dual.c winbindd: Replace calls to domain->methods 2016-10-11 20:15:25 +02:00
winbindd_endgrent.c
winbindd_endpwent.c
winbindd_getdcname.c
winbindd_getgrent.c
winbindd_getgrgid.c winbind: Use xids2sids in getgrgid 2016-02-22 20:29:15 +01:00
winbindd_getgrnam.c Last lot of convert uint32 to uint32_t in winbindd, I promise. 2015-05-06 07:03:27 +02:00
winbindd_getgroups.c winbind: Add "expand_local_aliases" to wb_gettoken 2017-01-04 12:22:12 +01:00
winbindd_getpwent.c
winbindd_getpwnam.c
winbindd_getpwsid.c
winbindd_getpwuid.c winbind: Use xids2sids in getpwuid 2016-02-22 20:29:15 +01:00
winbindd_getsidaliases.c
winbindd_getuserdomgroups.c winbind: Use wb_gettoken in getuserdomgroups 2017-01-04 12:22:12 +01:00
winbindd_getusersids.c winbind: Add "expand_local_aliases" to wb_gettoken 2017-01-04 12:22:12 +01:00
winbindd_group.c
winbindd_idmap.c
winbindd_irpc.c winbind: Correcly pass !authoritative from wb_irpc_SamLogon 2017-03-07 13:16:00 +01:00
winbindd_list_groups.c
winbindd_list_users.c s3:winbind: work around coverity false positive. 2017-02-23 23:54:48 +01:00
winbindd_locator.c
winbindd_lookupname.c
winbindd_lookuprids.c
winbindd_lookupsid.c
winbindd_lookupsids.c
winbindd_misc.c winbindd: Replace calls to domain->methods 2016-10-11 20:15:25 +02:00
winbindd_msrpc.c Revert "winbind: Remove "lookup_usergroups" winbind method" 2017-03-06 15:09:17 +01:00
winbindd_ndr.c winbindd: Remove now unused cache_methods 2016-10-11 23:59:17 +02:00
winbindd_pam_auth_crap.c winbindd: do not modify credentials in NTLM passthrough 2016-10-25 01:46:23 +02:00
winbindd_pam_auth.c
winbindd_pam_chauthtok.c
winbindd_pam_chng_pswd_auth_crap.c
winbindd_pam_logoff.c
winbindd_pam.c winbindd: allow wbinfo -a REALM\\user to work on a DC 2017-04-10 01:11:19 +02:00
winbindd_ping_dc.c
winbindd_proto.h winbind: Add idmap_config_int 2017-03-20 19:36:22 +01:00
winbindd_reconnect_ads.c Revert "winbind: Remove "lookup_usergroups" winbind method" 2017-03-06 15:09:17 +01:00
winbindd_reconnect.c Revert "winbind: Remove "lookup_usergroups" winbind method" 2017-03-06 15:09:17 +01:00
winbindd_rpc.c winbindd: error handling in rpc_lookup_sids() 2017-04-07 22:52:24 +02:00
winbindd_rpc.h Revert "winbind: Remove rpc_lookup_usergroups" 2017-03-06 15:09:17 +01:00
winbindd_samr.c Revert "winbind: Remove "lookup_usergroups" winbind method" 2017-03-06 15:09:17 +01:00
winbindd_setgrent.c
winbindd_setpwent.c
winbindd_show_sequence.c
winbindd_sids_to_xids.c winbind: Make wb_sids2xids_recv work on an array 2015-03-07 15:28:59 +01:00
winbindd_util.c winbindd: trigger possible passdb_dsdb initialisation 2017-04-01 21:18:59 +02:00
winbindd_wins_byip.c
winbindd_wins_byname.c
winbindd_xids_to_sids.c winbind: Expose WINBINDD_XIDS_TO_SIDS externally 2016-02-22 20:29:15 +01:00
winbindd.c libsmb: Remove some stale code 2017-03-14 15:22:12 +01:00
winbindd.h s3:winbind: Remove unused struct getpwent_user 2017-03-18 08:59:01 +01:00
wscript_build Revert "winbind: Remove wb_lookupusergroups" 2017-03-06 15:09:18 +01:00