summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-11 17:46:00 +0200
committerVolker Lendecke <vl@samba.org>2008-07-11 17:53:26 +0200
commit622d36aa41683e122892cd6674279bf52f496e9d (patch)
tree47bb4bb47c784e7823558e29f1e237b090134b1e /source3
parent025689ad18a03a531b559759598d4f310c73d18d (diff)
downloadsamba-622d36aa41683e122892cd6674279bf52f496e9d.tar.gz
samba-622d36aa41683e122892cd6674279bf52f496e9d.tar.bz2
samba-622d36aa41683e122892cd6674279bf52f496e9d.zip
Revert "Make idmap_init() static"
This reverts commit c8d1bbfddce41cd6bf37dd0a622ef3437a24b492. (This used to be commit 5cded3da00c0af40a98d86011507553f97fe6a22)
Diffstat (limited to 'source3')
-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;