diff options
author | Michael Adam <obnox@samba.org> | 2010-05-31 11:47:04 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-08-14 02:10:39 +0200 |
commit | 12a0ab3c96acf4333371b67d81d33b3bf0c5489a (patch) | |
tree | e8b5fb165cde6e7b1daf3fb5ff9b8981d80988df /source3/winbindd | |
parent | a423f5151d3ecf7d3dc37ae85b5868a46cdb9d39 (diff) | |
download | samba-12a0ab3c96acf4333371b67d81d33b3bf0c5489a.tar.gz samba-12a0ab3c96acf4333371b67d81d33b3bf0c5489a.tar.bz2 samba-12a0ab3c96acf4333371b67d81d33b3bf0c5489a.zip |
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.
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/idmap.c | 12 |
1 files changed, 0 insertions, 12 deletions
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 @@ -56,17 +56,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 * provides alloc methods. @@ -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); |