1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/source3/auth
Jeremy Allison 275ae03e00 s3: auth: Use wbcAuthenticateUserEx to prime the caches.
Idea by Volker - use WBC_AUTH_USER_LEVEL_PAC to pass
the PAC to winbind from smbd on auth, this allows
winbind to prime the user info via netsamlogon_cache_store()
and the name2sid cache *before* smbd looks up the user.

Note that as this is merely a cache prime having
winbind not available is not an error.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 28 22:45:27 CEST 2016 on sn-devel-144

(cherry picked from commit ccfba2537d)
2016-10-24 10:56:11 +02:00
..
auth_builtin.c s3:auth_builtin: anonymous authentication doesn't allow a password 2016-04-29 09:39:28 +02:00
auth_domain.c CVE-2016-2115: s3:auth_domain: use SMB_SIGNING_IPC_DEFAULT 2016-03-30 04:38:31 +02:00
auth_generic.c s3: auth: Use wbcAuthenticateUserEx to prime the caches. 2016-10-24 10:56:11 +02:00
auth_ntlmssp.c s3-auth: Fix a possible null pointer dereference 2015-07-17 14:04:01 +02:00
auth_sam.c auth: Provide a way to use the auth stack for winbindd authentication 2014-06-11 10:18:26 +02:00
auth_samba4.c s3-auth: check for return code of cli_credentials_set_machine_account(). 2016-03-29 14:44:33 +02:00
auth_script.c More strlcat/strlcpy truncate checks. 2012-03-30 21:26:07 +02:00
auth_unix.c s3-auth: Pass talloc context to make_server_info_pw(). 2014-02-05 11:41:25 +13:00
auth_util.c CVE-2016-2111: s3:auth: implement "raw NTLMv2 auth" checks 2016-03-29 14:52:10 +02:00
auth_wbc.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
auth_winbind.c BUG 9817: Fix 'map untrusted to domain' with NTLMv2. 2013-04-24 17:14:48 +02:00
auth.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-03-04 11:40:10 +01:00
check_samsec.c Convert all uses of uint32/16/8 to _t in source3/auth. 2015-05-13 19:11:24 +02:00
pampass.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-03-04 11:40:10 +01:00
pass_check.c auth: Remove support for HAVE_TRUNCATED_SALT from pass_check.c 2014-04-15 12:32:09 +02:00
proto.h Convert all uses of uint32/16/8 to _t in source3/auth. 2015-05-13 19:11:24 +02:00
server_info_sam.c s3-auth: Steal the memory to avoid duplication. 2014-03-13 15:08:26 +01:00
server_info.c auth: consistent handling of well-known alias as primary gid 2015-11-19 20:17:23 +01:00
token_util.c s3: auth: Move the declaration of struct dom_sid tmp_sid to function level scope. 2016-05-31 08:58:21 +02:00
user_info.c s3-auth: Finally change make_user_info_*() use a parent talloc context 2014-04-02 11:05:46 +02:00
user_krb5.c Changing log level of two entries to DBG_NOTICE 2015-11-04 00:46:15 +01:00
user_util.c s3:auth: add some const to user_in_list() 2014-11-14 23:27:05 +01:00
wscript_build build: get rid of vars=locals() in source3/auth/wscript_build 2013-09-24 23:00:31 +02:00