summaryrefslogtreecommitdiffstats
path: root/src/responder/autofs/autofssrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/responder/autofs/autofssrv.c')
-rw-r--r--src/responder/autofs/autofssrv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/responder/autofs/autofssrv.c b/src/responder/autofs/autofssrv.c
index dcb188fd4..055896929 100644
--- a/src/responder/autofs/autofssrv.c
+++ b/src/responder/autofs/autofssrv.c
@@ -158,7 +158,8 @@ autofs_process_init(TALLOC_CTX *mem_ctx,
}
/* Create the lookup table for setautomntent results */
- hret = sss_hash_create(autofs_ctx, 10, &autofs_ctx->maps);
+ hret = sss_hash_create_ex(autofs_ctx, 10, &autofs_ctx->maps, 0, 0, 0, 0,
+ autofs_map_hash_delete_cb, NULL);
if (hret != HASH_SUCCESS) {
DEBUG(SSSDBG_CRIT_FAILURE,
("Unable to initialize automount maps hash table\n"));