1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/winbindd
Jeremy Allison 92da0b243c s3: winbindd: Old NT Domain code sets struct winbind_domain->alt_name to be NULL. Ensure this is safe with modern AD-DCs.
There are places in the code where we're not checking that alt_name is NULL
and then calling into the DC lookup code with a NULL name request. This can
happen in offline mode.

Fixes bug #10717 - Winbind crash on losing VPN connection

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>

Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Mon Sep 15 23:29:00 CEST 2014 on sn-devel-104
2014-09-15 23:29:00 +02:00
..
idmap_hash Rename module init functions from samba_init_module 2014-04-02 08:50:03 +02:00
idmap_ad.c Rename module init functions from samba_init_module 2014-04-02 08:50:03 +02:00
idmap_autorid_tdb.c autorid: add high_id to range config and fill it where we also fill range->low_id. 2014-04-25 15:35:09 +02:00
idmap_autorid.c autorid: Add allocation from above in alloc range for well known sids 2014-04-25 17:52:10 +02:00
idmap_ldap.c s3-winbindd: Move idmap_fetch_secret to idmap_utils.c for reuse 2013-03-09 06:30:22 +01:00
idmap_nss.c
idmap_passdb.c
idmap_proto.h s3-winbindd: Move idmap_fetch_secret to idmap_utils.c for reuse 2013-03-09 06:30:22 +01:00
idmap_rfc2307.c s3-winbindd: Add new module idmap_rfc2307 2013-03-09 06:30:22 +01:00
idmap_rid.c idmap_rid: remove a legacy comment from sid_to_id 2014-04-25 15:35:08 +02:00
idmap_rw.c
idmap_rw.h
idmap_tdb2.c Rename module init functions from samba_init_module 2014-04-02 08:50:03 +02:00
idmap_tdb_common.c idmap_tdb_common: remove legacy comment. 2014-04-25 15:35:08 +02:00
idmap_tdb_common.h
idmap_tdb.c dbwrap: add a dbwrap_flags argument to db_open() 2014-02-07 16:06:06 +01:00
idmap_util.c idmap: Store negative cache entries if the backend fails 2013-05-03 14:48:35 +02:00
idmap.c s3:idmap: fix talloc hierarchy in idmap_passdb_domain() 2014-07-25 14:18:20 +02:00
nss_info_template.c s3-winbind: Don't set the gecos field to NULL. 2014-07-15 16:00:40 +02:00
nss_info.c
wb_dsgetdcname.c winbindd: Allow the AD-DC to call getdcname 2014-07-04 02:52:35 +02:00
wb_fill_pwent.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_getgrsid.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_getpwsid.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_gettoken.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_gid2sid.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_group_members.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_lookupname.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_lookupsid.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_lookupsids.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_lookupuseraliases.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_lookupusergroups.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_next_grent.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_next_pwent.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_ping.c
wb_query_user_list.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_queryuser.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_seqnum.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_seqnums.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_sids2xids.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
wb_uid2sid.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_ads.c s3: winbindd: Old NT Domain code sets struct winbind_domain->alt_name to be NULL. Ensure this is safe with modern AD-DCs. 2014-09-15 23:29:00 +02:00
winbindd_allocate_gid.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_allocate_uid.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_async.c
winbindd_cache.c s3-winbindd: add wcache_query_user_fullname(). 2014-07-15 16:00:40 +02:00
winbindd_ccache_access.c auth/gensec: remove tevent_context argument from gensec_update() 2014-03-27 00:36:32 +01:00
winbindd_change_machine_acct.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_check_machine_acct.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_cm.c s3: winbindd: Old NT Domain code sets struct winbind_domain->alt_name to be NULL. Ensure this is safe with modern AD-DCs. 2014-09-15 23:29:00 +02:00
winbindd_cred_cache.c s3:winbindd: s/event_add_timed/tevent_add_timer 2013-02-19 23:48:02 +01:00
winbindd_creds.c Revert "s3-winbindd: make sure we obey the -n switch also for samlogon cache access." 2012-11-09 16:41:05 +01:00
winbindd_domain.c
winbindd_dsgetdcname.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_dual_ndr.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_dual_srv.c s3-winbindd: Implement SamLogon IRPC call 2014-06-11 12:43:58 +02:00
winbindd_dual.c s3-winbind: separate child response sock write 2014-01-20 14:23:09 +01:00
winbindd_endgrent.c
winbindd_endpwent.c
winbindd_getdcname.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_getgrent.c
winbindd_getgrgid.c
winbindd_getgrnam.c s3:winbindd:getgrnam: also produce a group struct for a user with ID_TYPE_BOTH 2013-01-29 21:56:58 +01:00
winbindd_getgroups.c s3:winbind: add a warning DEBUG message when skipping a sid from the mapped GID list 2013-07-29 14:42:27 +02:00
winbindd_getpwent.c
winbindd_getpwnam.c
winbindd_getpwsid.c
winbindd_getpwuid.c
winbindd_getsidaliases.c
winbindd_getuserdomgroups.c
winbindd_getusersids.c
winbindd_gid_to_sid.c
winbindd_group.c
winbindd_idmap.c
winbindd_irpc.c winbindd-irpc: Ensure not to call irpc_send_reply twice on error 2014-08-01 12:11:28 +02:00
winbindd_list_groups.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_list_users.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_locator.c
winbindd_lookupname.c
winbindd_lookuprids.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_lookupsid.c
winbindd_lookupsids.c
winbindd_misc.c log winbind version (when requested) in winbindd log 2014-01-22 21:57:04 +01:00
winbindd_msrpc.c s3-winbindd: use wcache_query_user_fullname after inspecting samlogon cache. 2014-07-15 16:00:40 +02:00
winbindd_ndr.c
winbindd_pam_auth_crap.c
winbindd_pam_auth.c
winbindd_pam_chauthtok.c
winbindd_pam_chng_pswd_auth_crap.c
winbindd_pam_logoff.c
winbindd_pam.c s3-winbindd: use wcache_query_user_fullname after inspecting samlogon cache. 2014-07-15 16:00:40 +02:00
winbindd_ping_dc.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_proto.h s3-winbindd: add wcache_query_user_fullname(). 2014-07-15 16:00:40 +02:00
winbindd_reconnect.c
winbindd_rpc.c winbindd: Do not segfault if the trusted domain has no SID 2014-09-01 00:36:42 +02:00
winbindd_rpc.h
winbindd_samr.c winbindd: Call set_dc_type_and_flags on the internal domain 2014-06-11 10:18:26 +02:00
winbindd_setgrent.c
winbindd_setpwent.c
winbindd_show_sequence.c
winbindd_sid_to_gid.c s3:winbindd: use wb_sids2xids instead of wb_sid2gid in winbindd_sid_to_gid 2012-12-03 08:48:22 +01:00
winbindd_sid_to_uid.c s3:winbindd: use wb_sids2xids instead of wb_sid2uid in winbindd_sid_to_uid 2012-12-03 08:48:21 +01:00
winbindd_sids_to_xids.c s3:winbindd: factor winbindd_sids_to_xids into external and internal part 2012-12-03 08:48:21 +01:00
winbindd_uid_to_sid.c
winbindd_util.c winbindd: Use a remote RPC server when we are an RODC when needed 2014-07-04 02:52:35 +02:00
winbindd_wins_byip.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd_wins_byname.c librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls 2014-06-11 10:18:26 +02:00
winbindd.c s3: winbindd: On new client connect, prune idle or hung connections older than "winbind request timeout" 2014-07-29 23:31:14 +02:00
winbindd.h s3:winbindd: remove unused get[pw|gr]ent_initialized from winbindd_cli_state 2014-07-11 18:46:09 +02:00
wscript_build idmap_autorid: extract common code to separate file 2013-10-01 11:27:26 +00:00