1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/winbindd
Michael Adam 370d62578d s3:winbindd: add idmap_find_domain_with_sid()
This will return the passdb domain if the given sid is in our sam or builtin
or is the domain sid of those domains. Otherwise it returns the idmap domain
that results from the idmap configuration.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-03 08:48:23 +01:00
..
idmap_hash s3: Fix idmap_hash 2012-09-20 05:03:54 +02:00
idmap_ad.c s3-winbind: Remove unused bool "local" 2012-02-06 23:27:48 +01:00
idmap_autorid.c dbwrap: dbwrap_trans_store_int32->dbwrap_trans_store_int32_bystring 2012-06-15 12:14:29 +02:00
idmap_ldap.c s3-smbldap: use smbldap_ prefixed functions 2012-09-07 12:31:42 +02:00
idmap_nss.c
idmap_passdb.c s3-passdb: Change pdb_sid_to_id() to return struct unixid 2012-05-02 12:45:29 +02:00
idmap_proto.h
idmap_rid.c Revert making public of the samba-module library. 2011-12-03 08:36:30 +01:00
idmap_rw.c
idmap_rw.h
idmap_tdb2.c s3:idmap_tdb: fix miss in rename of dbwrap_trans_store_uint32() to dbwrap_trans_store_uint32_bystring() 2012-06-18 11:44:50 +02:00
idmap_tdb_common.c s3:winbind:idmap_tdb_common: improve readability of assignment by adding an "if" 2012-09-20 05:20:38 +02:00
idmap_tdb_common.h s3:winbindd add idmap_tdb_common file to store common code of TDB idmap backends 2012-05-01 09:32:11 +02:00
idmap_tdb.c dbwrap: remove get_flags(). 2012-06-22 07:35:17 +02:00
idmap_util.c s3-idmap: convert most idmap_cache callers to unixid API 2012-05-02 13:18:03 +02:00
idmap.c s3:winbindd: add idmap_find_domain_with_sid() 2012-12-03 08:48:23 +01:00
nss_info_template.c
nss_info.c s3-winbind: Fix idmap initialization debug message. 2012-07-23 18:19:00 +02:00
wb_dsgetdcname.c
wb_fill_pwent.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
wb_getgrsid.c
wb_getpwsid.c s3: Use tevent_req_simple_recv_ntstatus 2011-11-28 17:14:27 +01:00
wb_gettoken.c
wb_gid2sid.c
wb_group_members.c Fix a bunch of "unused variable" warnings. 2012-02-18 06:22:40 +01:00
wb_lookupname.c
wb_lookupsid.c
wb_lookupsids.c s3: rename sid_check_is_in_our_domain() to sid_check_is_in_our_sam() 2012-07-12 18:36:02 +02:00
wb_lookupuseraliases.c
wb_lookupusergroups.c
wb_next_grent.c s3: rename sid_check_is_domain() to sid_check_is_our_sam() 2012-07-12 16:43:51 +02:00
wb_next_pwent.c s3: rename sid_check_is_domain() to sid_check_is_our_sam() 2012-07-12 16:43:51 +02:00
wb_ping.c
wb_query_user_list.c
wb_queryuser.c
wb_seqnum.c
wb_seqnums.c
wb_sid2gid.c
wb_sid2uid.c
wb_sids2xids.c s3:winbindd: use struct unixid instead of uint64 in Sids2Xids parent<->child 2012-12-03 08:48:22 +01:00
wb_uid2sid.c
winbindd_ads.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_allocate_gid.c
winbindd_allocate_uid.c
winbindd_async.c
winbindd_cache.c s3: Do not free a string where we should not 2012-11-26 22:03:05 +01:00
winbindd_ccache_access.c libreplace: Add getpeereid implementation. 2012-03-24 16:00:36 +01:00
winbindd_change_machine_acct.c
winbindd_check_machine_acct.c
winbindd_cm.c s3-winbindd: add cm_connect_lsat(). 2012-11-30 11:49:34 +01:00
winbindd_cred_cache.c Fix bug #9098 - winbind does not refresh kerberos tickets. 2012-08-21 22:01:15 +02: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
winbindd_dual_ndr.c s3:winbindd: let wbint handles return NT_STATUS_CONNECTION_DISCONNECTED 2011-09-14 18:03:18 +02:00
winbindd_dual_srv.c s3:winbindd: use struct unixid instead of uint64 in Sids2Xids parent<->child 2012-12-03 08:48:22 +01:00
winbindd_dual.c lib/param: Move all enum declarations to lib/param 2012-07-24 11:01:17 +02:00
winbindd_endgrent.c
winbindd_endpwent.c
winbindd_getdcname.c
winbindd_getgrent.c
winbindd_getgrgid.c
winbindd_getgrnam.c
winbindd_getgroups.c
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 s3-winbind: DON'T PANIC if we couldn't find the domain. 2012-09-04 18:16:06 +02:00
winbindd_idmap.c
winbindd_list_groups.c
winbindd_list_users.c
winbindd_locator.c
winbindd_lookupname.c
winbindd_lookuprids.c s3: explicitly pass domain_sid to wbint_LookupRids() (bug #7841) 2011-06-27 18:21:30 +02:00
winbindd_lookupsid.c
winbindd_lookupsids.c
winbindd_misc.c s3: Fix Coverity ID 241320 Array compared against 0 2012-05-14 15:11:47 +02:00
winbindd_msrpc.c s3-winbindd: rework reconnect logic in winbindd_lookup_names(). 2012-11-30 11:49:53 +01:00
winbindd_ndr.c
winbindd_pam_auth_crap.c winbind: Extend wbcAuthenticateUserEx to provide PAC 2012-09-20 19:49:32 -07:00
winbindd_pam_auth.c
winbindd_pam_chauthtok.c
winbindd_pam_chng_pswd_auth_crap.c
winbindd_pam_logoff.c libreplace: Add getpeereid implementation. 2012-03-24 16:00:36 +01:00
winbindd_pam.c s3:winbind: BUG 9386: Failover if netlogon pipe is not available. 2012-11-12 18:57:18 +01:00
winbindd_ping_dc.c s3-winbind: Return the DC name from DC_PING 2012-08-15 11:44:42 +10:00
winbindd_proto.h s3:winbindd: add idmap_find_domain_with_sid() 2012-12-03 08:48:23 +01:00
winbindd_reconnect.c
winbindd_rpc.c s3-winbind: use new reconnect logic in rpc_lookup_sids() also. 2012-11-30 11:49:56 +01:00
winbindd_rpc.h
winbindd_samr.c s3: rename sid_check_is_in_our_domain() to sid_check_is_in_our_sam() 2012-07-12 18:36:02 +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 s3:winbindd:util: add a comment explaining the function parse_sidlist() 2012-12-03 08:48:20 +01:00
winbindd_wins_byip.c s3:winbind: Convert WINBINDD_WINS_BYIP to the async API 2011-06-05 12:10:15 +02:00
winbindd_wins_byname.c s3: Fix winbindd_wins_byname 2011-06-25 15:40:15 +02:00
winbindd.c s3: Remove a call to procid_self() 2012-10-19 23:15:04 +02:00
winbindd.h s3-winbindd: no need to globally include ldap headers in winbindd. 2011-11-17 02:11:46 +01:00
wscript_build build: Fix enabled handling for HAVE_LDAP, we need to use bld.CONFIG_SET 2012-09-22 09:09:16 +02:00