svn commit: samba r20951 - in branches/SAMBA_3_0/source: include nsswitch

jerry at samba.org jerry at samba.org
Mon Jan 22 16:54:02 GMT 2007


Author: jerry
Date: 2007-01-22 16:54:02 +0000 (Mon, 22 Jan 2007)
New Revision: 20951

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20951

Log:
Remove the DOM_SID field in the struct idmap_domain and bounce
domain SID lookups through the struct winbindd_domain *domain_list
by searching by name.  

Refactor the order lookup when searching for the correct idmap_domain
to a single function and remove the requirement that the default
domain be listed first in the config file.

I would still like to make the idmap_domain array a linked list and
remove the existing code which makes use of indexes into the list.

Basic testing with tdb pans out ok.

 


Modified:
   branches/SAMBA_3_0/source/include/idmap.h
   branches/SAMBA_3_0/source/nsswitch/idmap.c
   branches/SAMBA_3_0/source/nsswitch/idmap_rid.c


Changeset:
Sorry, the patch is too large (514 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20951


More information about the samba-cvs mailing list