1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/winbindd
Uri Simchoni 5c1e2f564b winbindd: avoid refreshing sequence number when domain is offline
When there's no connectivity to the domain, avoid attempt to
refresh sequence number. Before the change, this was avoided
only if winbind offline logon was enabled. However, being
able to operate based on cached data is desired even when
offline logons are disabled (offline logons are about caching
credentials for PAM authentication, a user may not want this
and still want service from the SMB server during short
AD disconnects).

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-07-21 19:11:13 +02:00
..
idmap_hash lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
idmap_ad_nss.c winbindd: Give winbindd_ads.c its own header 2017-05-17 01:47:17 +02:00
idmap_ad.c idmap_ad: Retry query_user exactly once if we get TLDAP_SERVER_DOWN 2017-07-12 09:01:17 +02:00
idmap_autorid_tdb.c idmap_autorid: Simplify idmap_autorid_loadconfig 2016-12-16 21:30:28 +01:00
idmap_autorid.c s3:winbindd:idmap_autorid remove a stray comment 2017-05-03 03:35:34 +02:00
idmap_ldap.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_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 lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
idmap_rfc2307.c winbindd: Give winbindd_ads.c its own header 2017-05-17 01:47:17 +02:00
idmap_rid.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_rw.c
idmap_rw.h
idmap_script.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_tdb2.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_tdb_common.c idmap_tdb: Avoid a few casts 2017-03-22 07:11:10 +01:00
idmap_tdb_common.h
idmap_tdb.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_util.c idmap_rfc2307: Don't stop after 30 entries 2017-05-08 21:08:23 +02:00
idmap.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_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 lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02: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: Fix 'winbind normalize names' in wb_getpwsid() 2017-06-20 23:04:34 +02: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: remove fallback from lookuprids 2017-04-12 01:41:14 +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 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 winbindd: queryuser - only get group name if needed 2017-07-21 19:11:13 +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 winbindd: only use the domain name from lookup sids if the domain matches 2017-04-12 16:43:30 +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 winbindd: Give winbindd_ads.c its own header 2017-05-17 01:47:17 +02:00
winbindd_ads.h winbindd: Give winbindd_ads.c its own header 2017-05-17 01:47:17 +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 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 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 Bug 15852. There are valid paths where conn->lsa_pipe_tcp->transport is NULL. Protect against this. 2017-06-22 23:16:46 +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 winbind: Simplify winbindd_dsgetdcname_recv 2015-02-27 01:16:10 +01:00
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 s3:trusts_util: pass dcname to trust_pw_change() 2017-06-27 16:57:45 +02:00
winbindd_dual.c s3:trusts_util: pass dcname to trust_pw_change() 2017-06-27 16:57:45 +02: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 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 netlogon: Implement SendToSam along with its winbind forwarding 2017-05-30 08:06:07 +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 s3:winbind: work around coverity false positive. 2017-02-23 23:54:48 +01: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 s3:winbind: Move debug statement into the error handling 2017-06-28 22:18:16 +02:00
winbindd_msrpc.c winbind_msrpc: Use any_nt_status_not_ok 2017-04-12 05:40:36 +02: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: cache name-to-sid from PAC based on lookup domain 2017-07-21 19:11:13 +02:00
winbindd_ping_dc.c s3:winbindd: use find_domain_from_name_noinit() in winbindd_ping_dc_send() 2014-12-19 13:15:12 +01:00
winbindd_proto.h winbindd: Do not run SAM auth stack in winbind SamLogon 2017-05-30 08:06:06 +02: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 s3:winbind: Use a talloc stackframe for rpc_query_user_list 2017-05-16 12:38:20 +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: avoid refreshing sequence number when domain is offline 2017-07-21 19:11:13 +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_xids_to_sids.c winbind: Expose WINBINDD_XIDS_TO_SIDS externally 2016-02-22 20:29:15 +01:00
winbindd.c winbind: Slightly simplify remove_timed_out_clients 2017-04-12 01:41:14 +02: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