summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_server.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-21 16:11:13 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-21 16:11:13 +0100
commit10e7f9f02d3b952c924e7c98ce01d27cc6baac84 (patch)
treecdc3655b8ebf084031aa84c4967333d176994315 /source4/winbind/wb_server.c
parent426e7fef1f080f22a10e89cebae58a40db8bc77f (diff)
parent141f4b8f838f750b979eeef11743244008bfa339 (diff)
downloadsamba-10e7f9f02d3b952c924e7c98ce01d27cc6baac84.tar.gz
samba-10e7f9f02d3b952c924e7c98ce01d27cc6baac84.tar.bz2
samba-10e7f9f02d3b952c924e7c98ce01d27cc6baac84.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit 52a8d06f00ab3900e2186e047902dbcbe3138a01)
Diffstat (limited to 'source4/winbind/wb_server.c')
-rw-r--r--source4/winbind/wb_server.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c
index 9b303f3615..99191f3c6c 100644
--- a/source4/winbind/wb_server.c
+++ b/source4/winbind/wb_server.c
@@ -149,6 +149,12 @@ static void winbind_task_init(struct task_server *task)
return;
}
+ service->idmap_ctx = idmap_init(service, task->lp_ctx);
+ if (service->idmap_ctx == NULL) {
+ task_server_terminate(task, "Failed to load idmap database");
+ return;
+ }
+
/* setup the unprivileged samba3 socket */
listen_socket = talloc(service, struct wbsrv_listen_socket);
if (!listen_socket) goto nomem;