From b8f07efe5d98071777e3a2863688c8269a7912e4 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 16 Feb 2009 20:25:16 -0500 Subject: Completely rework the nss interface to be able to use 2 types of domains: modern and legacy modern uses member/meberof, legacy uses memberUid for group memberships. Rework the proxy backend to use the legacy style as that's the format the data comes in (trying to convert would require too many transformations and increased the number of queries). Add support for fetching groups in nss. Add support for enumerating users and groups (requires to enable enumeration in config) both in nss and in the proxy provider. Remove confdb_get_domain_basedn() and substitute with generic calls in the nss init function. Store a domain structure in the btree not the basedn so that we can add enumeration flags. Also make sure NSS understand how to make multiple calls on enumerations, also make passing the domian parameter always mandatory, passing in domain=* is not valid anymore. This work fixes also a few memory, degfault, and logic bugs found while testing all nss functions (there are still some to fix that are less critical and much harder to find yet). --- server/confdb/confdb.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'server/confdb/confdb.h') diff --git a/server/confdb/confdb.h b/server/confdb/confdb.h index e6dd0d474..d117d0430 100644 --- a/server/confdb/confdb.h +++ b/server/confdb/confdb.h @@ -52,7 +52,3 @@ int confdb_init(TALLOC_CTX *mem_ctx, int confdb_get_domains(struct confdb_ctx *cdb, TALLOC_CTX *mem_ctx, char ***values); -int confdb_get_domain_basedn(struct confdb_ctx *cdb, - TALLOC_CTX *mem_ctx, - const char *domain, - char **basedn); -- cgit