1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3
Ralph Boehme 1efaeb072e winbindd: handling of SIDs without domain reference in wb_sids2xids_lookupsids_done()
This lets wb_sids2xids_lookupsids_done() deal with wp_lookupsids
returning UINT32_MAX as domain index for SIDs from unknown domains.

Call find_domain_from_sid_noinit() to search our list of known
domains. If a matching domain is found, use it's name, otherwise use the
empty string "". This needed to handle Samba DCs which always returns
sid_index UINT32_MAX for unknown SIDs, even from known domains.

Currently the wb_lookupsids adds these fake domains with an empty string
as domain name, but that's not the correct place to do it. We need the
domain name as it gets passed to the idmap child where the choise of
idmap backend is based on the domain name. This will possibly be changed
in the future to be based on domain SIDs, not the name.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-04-12 01:41:14 +02:00
..
auth auth3: fallback to "sam_ignoredomain" in make_auth3_context_for_ntlm() 2017-04-10 05:04:03 +02:00
build
client smbclient: add -f option to rename command 2017-03-28 17:45:19 +02:00
exports
groupdb Correct "errror" typos. 2017-02-22 08:26:22 +01:00
include s3/include: add NT_STATUS_LOOKUP_ERR 2017-04-07 22:52:24 +02:00
intl
lib lib: Remove unused winbind_get_groups and _get_sid_aliases 2017-03-28 17:45:18 +02:00
libads auth: Add logging of service authorization 2017-03-29 02:37:27 +02:00
libgpo libgpo: apply some const. 2017-01-06 12:28:19 +01:00
libnet s3:libnet_join: make use of trust_pw_new_value() 2017-02-21 16:09:22 +01:00
librpc auth_log: Also log the final type of authentication (ntlmssp,krb5) 2017-03-29 02:37:27 +02:00
libsmb s3-libsmb: support rename and replace for SMB1 2017-03-28 17:45:19 +02:00
locale Correct "descriptior" typos. 2017-02-22 08:26:22 +01:00
locking s3: locking: Update oplock optimization for the leases era ! 2017-03-15 20:04:32 +01:00
modules s3:vfs:shadow_copy2: fix corner case of "/@GMT-token" in shadow_copy2_strip_snapshot 2017-04-12 01:41:13 +02:00
nmbd Correct "errror" typos. 2017-02-22 08:26:22 +01:00
param s3: smbd: Change "strict sync" paramter from "no" to "yes" for 4.7.0. 2017-03-25 00:49:22 +01:00
passdb lib: Remove unused winbind_get_groups and _get_sid_aliases 2017-03-28 17:45:18 +02:00
printing rpc: Always supply both the remote and local address to the auth subsystem 2017-03-29 02:37:27 +02:00
profile s3-profile: reduce dependencies of smbprofile.h 2016-03-28 20:45:16 +02:00
registry Correct "existence" typos. 2017-02-22 08:26:22 +01:00
rpc_client s3/rpc_client: lookupsids error handling of NT_STATUS_NONE_MAPPED 2017-04-07 22:52:24 +02:00
rpc_server rpc_server: Re-order and rename remote and local address in np_open() 2017-03-29 02:37:29 +02:00
rpcclient rpcclient: allow -U'OTHERDOMAIN\user' again 2017-04-05 14:09:23 +02:00
script selftest: Test for bug 12558 2017-04-10 20:44:21 +02:00
selftest selftest: tests idmap mapping with idmap_rid 2017-04-07 00:05:02 +02:00
services Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
smbd smbd: Fix smb1 findfirst with DFS 2017-04-07 22:52:24 +02:00
torture rpc: Always supply both the remote and local address to the auth subsystem 2017-03-29 02:37:27 +02:00
utils s3:ntlm_auth: fix memory leak in manage_gensec_request() 2017-04-07 16:49:15 +02:00
web
winbindd winbindd: handling of SIDs without domain reference in wb_sids2xids_lookupsids_done() 2017-04-12 01:41:14 +02:00
.clang_complete lib: Remove tdb_compat 2015-03-17 11:30:52 +01:00
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript s3/wscript: fix Linux kernel oplock detection 2017-03-10 03:28:25 +01:00
wscript_build lib: Remove unused winbind_get_groups and _get_sid_aliases 2017-03-28 17:45:18 +02:00
wscript_configure_system_ncurses Transition to waf 1.8: wrapped conf.check_cfg 2015-03-16 03:00:07 +01:00