Kill RID-only and domain+RID madness from winbind.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 26 Feb 2003 12:21:01 +0000 (12:21 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Feb 2003 12:21:01 +0000 (12:21 +0000)
commitcee64b535355ed14aa8c9a30f51432563391ea34
tree9d884a16c80a9a6a35bcc2cdaec774dfdf9057e6
parentf7bb6982980abf32b98fee8e2624bb5932554dfe
Kill RID-only and domain+RID madness from winbind.

Now we deal with SIDs in almost all of winbind (a couple of limited exceptions
remain, but I'm looking into them - they use non-winbind structs ATM).

This has particular benifits in returning out-of-domain SIDs for group
membership (Need to look into this a bit more) as well as general code quality.

This also removes much of the complexity from the idmap interface, which now
only deals with mapping IDs, not with SID->domain translations.

Breifly tested, but needs more.  Fixes some valgrind-found bugs from my
previous commit.

Winbind cache chagned to using SID strings in some places, as I could not
follow exactly how to save and restore multiple packed sids properly.

Andrew Bartlett
(This used to be commit 9247cf08c40f016a924d600ac906cfc6a7016777)
source3/nsswitch/winbindd.h
source3/nsswitch/winbindd_ads.c
source3/nsswitch/winbindd_cache.c
source3/nsswitch/winbindd_group.c
source3/nsswitch/winbindd_idmap.c
source3/nsswitch/winbindd_idmap_tdb.c
source3/nsswitch/winbindd_rpc.c
source3/nsswitch/winbindd_user.c
source3/nsswitch/winbindd_util.c