From 12a0ab3c96acf4333371b67d81d33b3bf0c5489a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 31 May 2010 11:47:04 +0200 Subject: s3:idmap: remove the alloc methods list from idmap.c The registering of alloc backends is being removed. The idmap backends are responsible for initializing their alloc code on their own if necessary. No list of alloc backends is maintained any more in the top level. --- source3/winbindd/idmap.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c index 685062ec4a..7da3656aa7 100644 --- a/source3/winbindd/idmap.c +++ b/source3/winbindd/idmap.c @@ -55,17 +55,6 @@ struct idmap_backend { }; static struct idmap_backend *backends = NULL; -/** - * Pointer to the alloc backend methods. Modules register themselves here via - * smb_register_idmap_alloc. - */ -struct idmap_alloc_backend { - const char *name; - struct idmap_alloc_methods *methods; - struct idmap_alloc_backend *prev, *next; -}; -static struct idmap_alloc_backend *alloc_backends = NULL; - /** * The idmap alloc context that is configured via "idmap alloc * backend". Defaults to "idmap backend" in case the module (tdb, ldap) also @@ -468,7 +457,6 @@ void idmap_close(void) idmap_alloc_ctx->methods->close_fn(); idmap_alloc_ctx->methods = NULL; } - alloc_backends = NULL; TALLOC_FREE(default_idmap_domain); TALLOC_FREE(passdb_idmap_domain); TALLOC_FREE(idmap_domains); -- cgit