diff options
author | Günther Deschner <gd@samba.org> | 2011-03-08 00:15:25 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-08 10:51:04 +0100 |
commit | 98443b8b3dbbf6bd5a7738560d1dfc44622db820 (patch) | |
tree | 6d2906f1adb87cb3f9a40b5453472c25d871e221 /source3/winbindd | |
parent | 6013d7589bc5ef0ca53eb2bab3b4cd791de2a027 (diff) | |
download | samba-98443b8b3dbbf6bd5a7738560d1dfc44622db820.tar.gz samba-98443b8b3dbbf6bd5a7738560d1dfc44622db820.tar.bz2 samba-98443b8b3dbbf6bd5a7738560d1dfc44622db820.zip |
s3-idmap: fix the build of idmap_tdb2.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 8 10:51:04 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/idmap_tdb2.c | 12 |
1 files changed, 1 insertions, 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) |