1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/auth
Andrew Tridgell dfd56dd294 changed the auth path to use extended DN ops to avoid non-indexed searches
Logs showed that every SAM authentication was causing a non-indexed
ldb search for member=XXX. This was previously indexed in Samba4, but
since we switched to using the indexes from the full AD schema it now
isn't.

The fix is to use the extended DN operations to allow us to ask the
server for the memberOf attribute instead, with with the SIDs attached
to the result. This also means one less search on every
authentication.

The patch is made more complex by the fact that some common routines
use the result of these user searches, so we had to update all
searches that uses user_attrs and those common routines to make sure
they all returned a ldb_message with a memberOf filled in and the SIDs
attached.
2009-06-04 14:10:11 +10:00
..
credentials Fix more unresolved symbols. 2009-06-02 18:05:41 +02:00
gensec Fix dependencies when using shared libraries. 2009-06-02 18:05:39 +02:00
kerberos s4:auth/credentials: use krb5_data_free() 2009-03-26 15:01:02 +01:00
ntlm changed the auth path to use extended DN ops to avoid non-indexed searches 2009-06-04 14:10:11 +10:00
ntlmssp Remove unused headers 2009-04-19 22:01:09 +02:00
tests Fix various Python-related bugs. 2008-12-21 07:34:27 +01:00
auth_sam_reply.c s4:auth: move make_server_info_netlogon_validation() function arround 2009-01-21 13:36:11 +01:00
auth.h Don't use crossRef records to find our own domain 2009-05-26 12:37:09 +10:00
config.m4 Strip /usr/include from include flags, so we don't end up including 2009-03-15 18:10:20 +01:00
config.mk python: Move helper functions for using param into a separate file rather 2009-06-02 18:05:40 +02:00
pyauth.c Add header for pyparam. 2008-12-22 04:38:57 +01:00
pyauth.h s4:pyauth: fix compiler warnings 2009-02-05 17:48:13 +01:00
sam.c changed the auth path to use extended DN ops to avoid non-indexed searches 2009-06-04 14:10:11 +10:00
samba_server_gensec.c Remove auth/ntlm as a dependency of GENSEC by means of function pointers. 2009-02-13 10:24:16 +11:00
session.c s4:auth: move make_server_info_netlogon_validation() function arround 2009-01-21 13:36:11 +01:00
session.h s4:auth: move make_server_info_netlogon_validation() function arround 2009-01-21 13:36:11 +01:00
system_session.c Fix the build. 2008-11-02 05:49:36 +01:00