1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

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.
This commit is contained in:
Michael Adam 2010-05-31 11:47:04 +02:00
parent a423f5151d
commit 12a0ab3c96

View File

@ -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);