1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/winbindd
Volker Lendecke 91d027554e winbindd: Use idmap cache in xids2sids
Typically smbd should have looked into the idmap cache itself before
contacting winbind. But winbind has internal users of this API (getpwuid
and getgrgid for example), and those need to use the cache too.

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

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>

Autobuild-User(master): Uri Simchoni <uri@samba.org>
Autobuild-Date(master): Wed Dec 28 00:06:41 CET 2016 on sn-devel-144
2016-12-28 00:06:41 +01:00
..
idmap_hash idmap_hash: xfile->stdio 2016-12-11 11:17:23 +01:00
idmap_ad_nss.c idmap_ad: Separate out the nss functions 2016-04-15 15:32:11 +02:00
idmap_ad.c idmap_ad: Fix retrieving credentials from clustered secrets.tdb 2016-09-29 22:17:20 +02:00
idmap_autorid_tdb.c idmap_autorid: Simplify idmap_autorid_loadconfig 2016-12-16 21:30:28 +01:00
idmap_autorid.c idmap_autorid: Add the error string in a debug 2016-12-27 14:21:28 +01: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: Fix whitespace 2016-01-13 07:48:30 +01:00
idmap_passdb.c idmap: unify passdb *id_to_sid methods 2014-12-03 04:21:09 +01:00
idmap_proto.h idmap_ad: Separate out the nss functions 2016-04-15 15:32:11 +02:00
idmap_rfc2307.c winbindd/idmap_rfc2307: fix a crash 2016-06-28 07:27:18 +02:00
idmap_rid.c idmap_rid: Add the error string in a debug 2016-12-27 18:05:13 +01:00
idmap_rw.c
idmap_rw.h
idmap_script.c idmap_script: add missing "IDTOSID" argument to the script command line. 2016-09-06 19:32:57 +02:00
idmap_tdb2.c wibindd: Fix format-nonliteral warning 2016-08-24 01:33:51 +02:00
idmap_tdb_common.c idmap_tdb: Harden idmap_tdb_common_unixid_to_sid 2016-12-16 17:38:19 +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: Remove unused idmap_backends_unixid_to_sid 2016-03-30 17:58:48 +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: check if dcinfo from genache is expired 2016-04-28 20:48:14 +02:00
wb_fill_pwent.c winbind: Add some const 2016-02-16 10:50:10 +01:00
wb_getgrsid.c winbind: Make wb_sids2xids_recv work on an array 2015-03-07 15:28:59 +01: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_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 winbindd: in wb_lookupsids return domain name if we have it 2016-06-28 07:27:18 +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 winbind: lookup_usergroups_cached doesn't use the "domain" parameter 2016-12-04 16:35:22 +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 s3:winbind:pwent: refactor duplication into wb_next_pwent_send_do() 2015-03-16 20:26:51 +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 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 winbind: Fix passing idmap failure from wb_sids2xids back to callers 2016-09-30 02:10:29 +02:00
wb_xids2sids.c winbindd: Use idmap cache in xids2sids 2016-12-28 00:06:41 +01:00
winbindd_ads.c winbind: lookup_usergroups_cached doesn't use the "domain" parameter 2016-12-04 16:35:22 +01: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 lib: Add samlogon_cache.h 2016-12-02 09:36:08 +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 s3:libsmb: don't pass 'passlen' to cli_tree_connect[_send]() and allow pass=NULL 2016-12-09 13:09:37 +01: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 idmap: Pass up the xid2sids unix-ids from the idmap child 2016-12-27 20:20:27 +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 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: Make wb_sids2xids_recv work on an array 2015-03-07 15:28:59 +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
winbindd_getusersids.c
winbindd_group.c s3-winbind: DON'T PANIC if we couldn't find the domain. 2012-09-04 18:16:06 +02:00
winbindd_idmap.c
winbindd_irpc.c werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/winbindd/ 2016-09-28 00:04:19 +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 winbindd: Replace calls to domain->methods 2016-10-11 20:15:25 +02:00
winbindd_msrpc.c winbind: lookup_usergroups_cached doesn't use the "domain" parameter 2016-12-04 16:35:22 +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 lib: Add samlogon_cache.h 2016-12-02 09:36:08 +01: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 winbind: lookup_usergroups_cached doesn't use the "domain" parameter 2016-12-04 16:35:22 +01:00
winbindd_reconnect_ads.c winbindd: Add retry also for ADS method calls 2016-01-13 00:26:16 +01:00
winbindd_reconnect.c winbindd: Add retry also for ADS method calls 2016-01-13 00:26:16 +01:00
winbindd_rpc.c s3-winbind: Do not return NO_MEMORY if we have an empty user list 2016-11-03 05:36:17 +01:00
winbindd_rpc.h
winbindd_samr.c winbind: Fix CID 1035545 Uninitialized scalar variable 2015-05-06 18:24:01 +02: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 winbind: dom_sid_parse_endp always initializes "endp" when ok 2016-12-07 00:11:03 +01: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 s3:winbind: Do not start with an invalid default idmap backend 2016-12-12 20:19:11 +01:00
winbindd.h winbindd: Remove now unused domain->methods 2016-10-11 20:15:25 +02:00
wscript_build s3:waf: Make PARAM and SMBREGISTRY a subsystem of smbconf only 2016-12-04 16:35:22 +01:00