1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/winbindd
Amit Kumar eb093c5d2a s3:winbind: Don't abort when receiving a NULL SID
Source code in winbind_rpc.c states that if the trusted domain
has no SID, winbindd just aborts the session. This happens with
MIT Kerberos realm added as trust to AD and winbindd just returns
without processing further as there is no SID returned for the
Linux system having kerberos support.

This fix makes winbindd to skip the domain having NULL SID instead
of aborting the request completely.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13913

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2019-10-16 16:39:42 +00:00
..
idmap_hash winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
idmap_ad_nss.c idmap: Fix CID 1363261 Resource leak 2018-04-07 02:11:20 +02:00
idmap_ad.c winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
idmap_autorid_tdb.c idmap_autorid: Simplify idmap_autorid_loadconfig 2016-12-16 21:30:28 +01:00
idmap_autorid.c winbind: Fix a typo 2019-01-08 03:40:27 +01:00
idmap_ldap.c source3: Update all consumers of strtoul_err(), strtoull_err() to new API 2019-06-30 11:32:18 +00:00
idmap_nss.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
idmap_passdb.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
idmap_proto.h winbindd: pass domain SID to wbint_UnixIDs2Sids 2017-10-10 15:51:27 +02:00
idmap_rfc2307.c winbind: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
idmap_rid.c winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
idmap_rw.c winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
idmap_rw.h
idmap_script.c s3: winbind: Fix crash when invoking winbind idmap scripts. 2019-05-27 13:16:21 +00:00
idmap_tdb2.c s3: winbind: Fix crash when invoking winbind idmap scripts. 2019-05-27 13:16:21 +00:00
idmap_tdb_common.c idmap_tdb: If one SID fails to map, try the rest 2019-01-08 09:32:10 +01:00
idmap_tdb_common.h
idmap_tdb.c idmap_tdb: Use dom_sid_str_buf 2018-12-07 23:29:00 +01:00
idmap_util.c idmap_rfc2307: Don't stop after 30 entries 2017-05-08 21:08:23 +02:00
idmap.c winbindd: pass domain SID to wbint_UnixIDs2Sids 2017-10-10 15:51:27 +02:00
nss_info_template.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
nss_info.c s3:winbind: Fix memory leak in nss_init() 2018-08-13 19:46:08 +02:00
wb_dsgetdcname.c winbind: Fix an error path memleak 2019-02-27 01:35:18 +01:00
wb_getgrsid.c winbindd: remove 'winbind trusted domains only' handling 2018-01-10 01:01:23 +01:00
wb_getpwsid.c s3:winbind: Fix regression introduced with bso #12851 2018-06-21 01:03:52 +02:00
wb_gettoken.c Re-enable token groups fallback 2017-03-06 19:18:31 +01:00
wb_group_members.c winbind: Remove the use of "talloc_dict" 2017-09-30 08:01:24 +02:00
wb_lookupname.c winbind: Pass upn unmodified to lookup names 2018-05-11 09:07:36 +02:00
wb_lookupsid.c winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
wb_lookupsids.c winbind: Use dom_sid_str_buf 2018-11-27 07:13:14 +01:00
wb_lookupuseraliases.c
wb_lookupusergroups.c winbindd: Use dom_sid_str_buf 2018-11-02 21:21:15 +01:00
wb_next_grent.c winbind: Remove the use of "talloc_dict" 2017-09-30 08:01:24 +02:00
wb_next_pwent.c winbind: Go throught wb_getpwsid for listing users 2017-01-02 18:04:14 +01:00
wb_query_group_list.c
wb_query_user_list.c winbind: Fix "wbint_Principals" definition 2018-11-27 07:13:14 +01:00
wb_queryuser.c winbind: provide passwd struct for group sid with ID_TYPE_BOTH mapping (again) 2019-09-27 17:25:29 +00:00
wb_seqnum.c
wb_seqnums.c winbindd: Use talloc_zero_array for consistency with other winbindd_domain allocators 2018-03-24 07:21:37 +01:00
wb_sids2xids.c winbind: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
wb_xids2sids.c winbind: Fix overlapping id ranges 2019-04-24 02:25:56 +00:00
winbindd_ads.c s3:libnet: Require sealed LDAP SASL connections for joining 2019-10-09 07:06:35 +00:00
winbindd_ads.h winbindd: Give winbindd_ads.c its own header 2017-05-17 01:47:17 +02:00
winbindd_allocate_gid.c winbind: add idmap_child_handle() and use it instead of child->binding_handle 2018-02-23 04:09:18 +01:00
winbindd_allocate_uid.c winbind: add idmap_child_handle() and use it instead of child->binding_handle 2018-02-23 04:09:18 +01:00
winbindd_async.c
winbindd_cache.c s3/winbdind: cppcheck: fix nullPointerArithmetic error 2019-06-04 22:13:07 +00:00
winbindd_ccache_access.c Fix spelling mistakes 2018-11-30 03:35:13 +01:00
winbindd_change_machine_acct.c
winbindd_check_machine_acct.c
winbindd_cm.c s3:libnet: Require sealed LDAP SASL connections for joining 2019-10-09 07:06:35 +00:00
winbindd_cred_cache.c s3:libads: let kerberos_kinit_password_ext() return the canonicalized principal/realm 2019-09-24 18:30:37 +00:00
winbindd_creds.c winbind: Fix UPN handling in parse_domain_user() 2018-05-11 09:07:37 +02:00
winbindd_domain_info.c s3: Rename server_event_context() to global_event_context() 2018-09-07 17:26:17 +02:00
winbindd_domain.c
winbindd_dsgetdcname.c winbind: add locator_child_handle() and use it instead of child->binding_handle 2018-02-23 04:09:18 +01:00
winbindd_dual_ndr.c winbind: Maintain a binding handle per domain and always go via wb_domain_request_send() 2018-02-23 04:09:18 +01:00
winbindd_dual_srv.c winbind: Log PAM and NTLM authentications. 2019-02-20 06:03:09 +01:00
winbindd_dual.c s3: Rename server_messaging_context() to global_messaging_context() 2018-09-07 17:26:17 +02:00
winbindd_endgrent.c
winbindd_endpwent.c
winbindd_getdcname.c s3:winbind: Log client process name 2018-11-12 09:50:25 +01:00
winbindd_getgrent.c s3:winbind: Log client process name 2018-11-12 09:50:25 +01:00
winbindd_getgrgid.c winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
winbindd_getgrnam.c winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
winbindd_getgroups.c winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
winbindd_getpwent.c s3:winbind: Log client process name 2018-11-12 09:50:25 +01:00
winbindd_getpwnam.c winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
winbindd_getpwsid.c winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
winbindd_getpwuid.c winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
winbindd_getsidaliases.c winbindd: Use dom_sid_str_buf 2018-12-07 23:29:01 +01:00
winbindd_getuserdomgroups.c winbindd: Use dom_sid_str_buf 2018-12-07 23:29:01 +01:00
winbindd_getusersids.c winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
winbindd_gpupdate.c s3: Rename server_event_context() to global_event_context() 2018-09-07 17:26:17 +02:00
winbindd_group.c s3-winbindd: use fill_domain_username_talloc() in winbind. 2018-05-17 17:30:08 +02:00
winbindd_idmap.c winbind: add idmap_child_handle() and use it instead of child->binding_handle 2018-02-23 04:09:18 +01:00
winbindd_irpc.c winbindd_irpc: remove unused winbind_DsrUpdateReadOnlyServerDnsRecords from wb_irpc_forward_state 2019-02-14 02:18:28 +01:00
winbindd_list_groups.c winbind: honor WBFLAG_FROM_NSS along with winbind enum users/groups 2018-12-22 03:11:14 +01:00
winbindd_list_users.c winbind: honor WBFLAG_FROM_NSS along with winbind enum users/groups 2018-12-22 03:11:14 +01:00
winbindd_locator.c winbind: add locator_child_handle() and use it instead of child->binding_handle 2018-02-23 04:09:18 +01:00
winbindd_lookupname.c winbind: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
winbindd_lookuprids.c source3: Update all consumers of strtoul_err(), strtoull_err() to new API 2019-06-30 11:32:18 +00:00
winbindd_lookupsid.c winbindd: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
winbindd_lookupsids.c winbindd: Use dom_sid_str_buf 2018-12-07 23:29:01 +01:00
winbindd_misc.c winbind: Use dom_sid_str_buf 2018-12-11 00:40:31 +01:00
winbindd_msrpc.c winbind: Return queried domain name from name_to_sid 2019-04-18 17:21:18 +00:00
winbindd_ndr.c winbind: Remove the "winbindd_children" global 2018-03-01 09:53:46 +01:00
winbindd_pam_auth_crap.c s3: Rename server_event_context() to global_event_context() 2018-09-07 17:26:17 +02:00
winbindd_pam_auth.c s3:winbind: Log client process name for PAM auth 2018-11-12 09:50:25 +01:00
winbindd_pam_chauthtok.c s3: Rename server_event_context() to global_event_context() 2018-09-07 17:26:17 +02:00
winbindd_pam_chng_pswd_auth_crap.c s3: Rename server_event_context() to global_event_context() 2018-09-07 17:26:17 +02:00
winbindd_pam_logoff.c s3: Rename server_event_context() to global_event_context() 2018-09-07 17:26:17 +02:00
winbindd_pam.c s3:winbindd: implement the "winbind use krb5 enterprise principals" logic 2019-09-24 18:30:37 +00:00
winbindd_ping_dc.c winbindd: Fix winbindd_ping_dc_recv 2018-06-16 01:06:36 +02:00
winbindd_proto.h winbindd: make xids a const argument to wb_xids2sids_send() 2019-02-23 07:54:09 +01:00
winbindd_reconnect_ads.c winbind: Return queried domain name from name_to_sid 2019-04-18 17:21:18 +00:00
winbindd_reconnect.c winbind: Return queried domain name from name_to_sid 2019-04-18 17:21:18 +00:00
winbindd_rpc.c s3:winbind: Don't abort when receiving a NULL SID 2019-10-16 16:39:42 +00:00
winbindd_rpc.h winbind: Return queried domain name from name_to_sid 2019-04-18 17:21:18 +00:00
winbindd_samr.c winbind: Return queried domain name from name_to_sid 2019-04-18 17:21:18 +00:00
winbindd_setgrent.c winbind: call lp_winbind_enum_{users,groups}() already in set{pw,gr}ent() 2018-02-23 04:09:18 +01:00
winbindd_setpwent.c winbind: call lp_winbind_enum_{users,groups}() already in set{pw,gr}ent() 2018-02-23 04:09:18 +01:00
winbindd_show_sequence.c
winbindd_sids_to_xids.c
winbindd_util.c s3-winbindd: fix forest trusts with additional trust attributes. 2019-09-20 01:14:42 +00:00
winbindd_wins_byip.c libsmb: Give namequery.c its own header 2018-04-11 01:06:39 +02:00
winbindd_wins_byname.c libsmb: Give namequery.c its own header 2018-04-11 01:06:39 +02:00
winbindd_xids_to_sids.c winbind: Enhance xids2sids debugging 2019-02-08 08:51:19 +01:00
winbindd.c s3:winbind: Use C99 initializer for poptOption in winbindd 2019-01-28 10:29:15 +01:00
winbindd.h winbind: Return queried domain name from name_to_sid 2019-04-18 17:21:18 +00:00
wscript_build winbindd: Make DOMAIN_INFO a proper async request 2018-05-17 08:44:19 +02:00