svn commit: samba r2109 - in trunk/source/nsswitch: .

vlendec at samba.org vlendec at samba.org
Mon Aug 30 17:10:54 GMT 2004


Author: vlendec
Date: 2004-08-30 17:10:53 +0000 (Mon, 30 Aug 2004)
New Revision: 2109

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/nsswitch&rev=2109&nolog=1

Log:
Add a backchannel for the dual daemons to return the complete response to the
main daemon. This is via winbindd_cache.tdb, not via the pipe. This is
probably at least as efficient as the pipe as it is done via shared memory
with memcpy.

Now it is possible to hand off complete requests to any number of dual
daemons. See function dual_request().

abartlet, this might be a quick fix for your problem with MANY netlogon
queries at the same time. I did not the auth requests yet, this needs testing,
as well as the getpwent & friends calls.

Volker


Modified:
   trunk/source/nsswitch/winbindd.c
   trunk/source/nsswitch/winbindd.h
   trunk/source/nsswitch/winbindd_cache.c
   trunk/source/nsswitch/winbindd_dual.c
   trunk/source/nsswitch/winbindd_nss.h


Changeset:
Sorry, the patch is too large (298 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/nsswitch&rev=2109&nolog=1


More information about the samba-cvs mailing list