1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
samba-mirror/source3/nsswitch
Andrew Bartlett 4792a8de30 r2868: Well, I'm not quite sure what I'm doing back in Samba 3.0, but anyway...
I've been grumbling about under-efficient calls in SAMR, and finally
got around to fixing some of them.

We now call sys_getgroups() (which in turn calls initgroups(), until
glibc 3.4 is released) to figure out a user's group membership.  This
is far, far more efficient than scanning all the groups looking for a
match, and is still the 'posix way', just using an effiecient call.

The seperate issue of 'who is in this group' remains, but this one has
been biting some people.

I need to talk to VL about how best to exersise nasty corner cases,
but my initial tests hold strong.  (The code is also much simpiler
than before, which has to count for something :-)

Andrew Bartlett
(This used to be commit dc19f16169)
2007-10-10 10:52:55 -05:00
..
pam_winbind.c r2779: Some fixes to pam_winbind.c.: 2007-10-10 10:52:52 -05:00
pam_winbind.h r1888: Bring the same level of "required_membership"-functionality that 2007-10-10 10:52:23 -05:00
wb_client.c r565: Uninitialized data fixes from kawasa_r@itg.hitachi.co.jp. 2007-10-10 10:51:29 -05:00
wb_common.c r698: Now wb pipe is non-blocking remember to read in non-blocking mode... 2007-10-10 10:51:34 -05:00
wbinfo.c r2762: Remove silly conversion to and from UTF8 on the winbind pipe. Fix the 2007-10-10 10:52:51 -05:00
winbind_client.h This is the 'main' inclue for for winbind clients - all clients should include 2002-09-07 09:25:36 +00:00
winbind_nss_aix.c r2760: Another patch from The Written Word. Don't declare function prototypes 2007-10-10 10:52:51 -05:00
winbind_nss_config.h Merge of winbind nss library cleanup from HEAD. 2003-04-02 06:16:15 +00:00
winbind_nss_freebsd.c Correct freebsd 5.1 support for winbind contributed by Aaron Collins. 2003-11-27 05:11:14 +00:00
winbind_nss_hpux.h Fix for winbindd on HPUX from albert chin (china@thewrittenword.com) 2003-11-03 21:05:47 +00:00
winbind_nss_irix.c Cleanup of winbind client side code. 2003-03-31 04:36:01 +00:00
winbind_nss_irix.h Cleanup of winbind client side code. 2003-03-31 04:36:01 +00:00
winbind_nss_linux.c r2540: Fix it the way Henrik Nordstrom (the patch author) wants :-). 2007-10-10 10:52:46 -05:00
winbind_nss_linux.h Cleanup of winbind client side code. 2003-03-31 04:36:01 +00:00
winbind_nss_solaris.c r2264: Fix for #1741. Define a struct nss_groupsbymem (thanks lukeh!) for 2007-10-10 10:52:38 -05:00
winbind_nss_solaris.h Cleanup of winbind client side code. 2003-03-31 04:36:01 +00:00
winbind_nss.h Cleanup of winbind client side code. 2003-03-31 04:36:01 +00:00
winbindd_acct.c This might not be used a lot and might not survive for long, but at least it 2004-03-07 08:16:10 +00:00
winbindd_ads.c r1967: Fix a couple of krb5-DEBUG-messages. 2007-10-10 10:52:25 -05:00
winbindd_cache.c r2822: Fix parameter confusion in priming of name-to-sid cache. Found by 2007-10-10 10:52:53 -05:00
winbindd_cm.c r1532: Remove unused structure element 2007-10-10 10:52:14 -05:00
winbindd_dual.c r2440: Use sys_fork instead of fork for the dual daemon so that we get the 2007-10-10 10:52:43 -05:00
winbindd_group.c r2868: Well, I'm not quite sure what I'm doing back in Samba 3.0, but anyway... 2007-10-10 10:52:55 -05:00
winbindd_misc.c This merges in my 'always use ADS' patch. Tested on a mix of NT and ADS 2004-01-08 08:19:18 +00:00
winbindd_nss.h r2762: Remove silly conversion to and from UTF8 on the winbind pipe. Fix the 2007-10-10 10:52:51 -05:00
winbindd_pam.c r2762: Remove silly conversion to and from UTF8 on the winbind pipe. Fix the 2007-10-10 10:52:51 -05:00
winbindd_passdb.c r914: Fix from "Jerome Borsboom" <j.borsboom@erasmusmc.nl> to ensure 2007-10-10 10:51:48 -05:00
winbindd_rpc.c r1317: Patch from Joe Meadows "Joe Meadows" <jameadows@webopolis.com> to 2007-10-10 10:52:06 -05:00
winbindd_sid.c r2691: Increase a debug level for a quite frequent operation. 2007-10-10 10:52:49 -05:00
winbindd_user.c r2584: After talking to jerry, commit the strlower patch to getent username and 2007-10-10 10:52:47 -05:00
winbindd_util.c r2584: After talking to jerry, commit the strlower patch to getent username and 2007-10-10 10:52:47 -05:00
winbindd_wins.c r539: Mem leak fixes from kawasa_r@itg.hitachi.co.jp 2007-10-10 10:51:28 -05:00
winbindd.c r2470: Fix bug 1797: winbind and nmbd ignored "-l" option. 2007-10-10 10:52:44 -05:00
winbindd.h r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid of 2007-10-10 10:52:55 -05:00
wins.c r1583: Patch by Fabien Chevalier <fabien.chevalier@supelec.fr> 2007-10-10 10:52:15 -05:00