summaryrefslogtreecommitdiff
path: root/source/sam/idmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sam/idmap.c')
-rw-r--r--source/sam/idmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/sam/idmap.c b/source/sam/idmap.c
index 91fe97e23a4..ec3ccb29859 100644
--- a/source/sam/idmap.c
+++ b/source/sam/idmap.c
@@ -353,14 +353,14 @@ NTSTATUS idmap_close(void)
if (proxyonly)
return NT_STATUS_OK;
- ret = cache_map->close();
+ ret = cache_map->close_fn();
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(3, ("idmap_close: failed to close local tdb cache!\n"));
}
cache_map = NULL;
if (remote_map) {
- ret = remote_map->close();
+ ret = remote_map->close_fn();
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(3, ("idmap_close: failed to close remote idmap repository!\n"));
}