From 98443b8b3dbbf6bd5a7738560d1dfc44622db820 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 8 Mar 2011 00:15:25 +0100 Subject: s3-idmap: fix the build of idmap_tdb2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Tue Mar 8 10:51:04 CET 2011 on sn-devel-104 --- source3/winbindd/idmap_tdb2.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c index a78a41eb1c..ebb186b2f8 100644 --- a/source3/winbindd/idmap_tdb2.c +++ b/source3/winbindd/idmap_tdb2.c @@ -872,21 +872,11 @@ static NTSTATUS idmap_tdb2_sids_to_unixids(struct idmap_domain *dom, struct id_m } -/* - Close the idmap tdb instance -*/ -static NTSTATUS idmap_tdb2_close(struct idmap_domain *dom) -{ - /* don't do anything */ - return NT_STATUS_OK; -} - static struct idmap_methods db_methods = { .init = idmap_tdb2_db_init, .unixids_to_sids = idmap_tdb2_unixids_to_sids, .sids_to_unixids = idmap_tdb2_sids_to_unixids, - .allocate_id = idmap_tdb2_get_new_id, - .close_fn = idmap_tdb2_close + .allocate_id = idmap_tdb2_get_new_id }; NTSTATUS idmap_tdb2_init(void) -- cgit