summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/winbindd/idmap.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 9958c91dca..2a5d21d740 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -10484,6 +10484,7 @@ NTSTATUS smb_register_idmap_alloc(int version, const char *name,
struct idmap_alloc_methods *methods);
NTSTATUS idmap_close(void);
NTSTATUS idmap_init_cache(void);
+NTSTATUS idmap_init(void);
NTSTATUS idmap_allocate_uid(struct unixid *id);
NTSTATUS idmap_allocate_gid(struct unixid *id);
NTSTATUS idmap_set_uid_hwm(struct unixid *id);
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index 32fc3dc975..c056596470 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -279,7 +279,7 @@ NTSTATUS idmap_init_cache(void)
/****************************************************************************
****************************************************************************/
-static NTSTATUS idmap_init(void)
+NTSTATUS idmap_init(void)
{
NTSTATUS ret;
static NTSTATUS idmap_init_status = NT_STATUS_UNSUCCESSFUL;