s3-idmap: fix the build of idmap_tdb2.
authorGünther Deschner <gd@samba.org>
Mon, 7 Mar 2011 23:15:25 +0000 (00:15 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 8 Mar 2011 09:51:04 +0000 (10:51 +0100)
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar  8 10:51:04 CET 2011 on sn-devel-104

source3/winbindd/idmap_tdb2.c

index a78a41eb1cc0609d994032acde8ae0d168065e5f..ebb186b2f8785f7a35d8af3948bab71d2f023f57 100644 (file)
@@ -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)