summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_server.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-31 15:38:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:17 -0500
commite48ed74f4a2fe490d70c444dca3aa9419409579f (patch)
tree5dd259e04d4c6e1b3ea8f825923320994e57ffc9 /source4/winbind/wb_server.c
parent7a845bcb0141a895d5685afcef1ffe7f93428d0f (diff)
downloadsamba-e48ed74f4a2fe490d70c444dca3aa9419409579f.tar.gz
r17342: implement a SamLogon via IRPC in samba4's winbind
metze (This used to be commit c3ce7a0c3708f0c8e784404e86034f7a00685f88)
Diffstat (limited to 'source4/winbind/wb_server.c')
-rw-r--r--source4/winbind/wb_server.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c
index 16663f61613..5588fba0ce0 100644
--- a/source4/winbind/wb_server.c
+++ b/source4/winbind/wb_server.c
@@ -177,6 +177,9 @@ static void winbind_task_init(struct task_server *task)
listen_socket);
if (!NT_STATUS_IS_OK(status)) goto listen_failed;
+ status = wbsrv_init_irpc(service);
+ if (!NT_STATUS_IS_OK(status)) goto irpc_failed;
+
return;
listen_failed:
@@ -184,6 +187,11 @@ listen_failed:
listen_socket->socket_path, nt_errstr(status)));
task_server_terminate(task, nt_errstr(status));
return;
+irpc_failed:
+ DEBUG(0,("wbsrv_init_irpc() failed - %s\n",
+ nt_errstr(status)));
+ task_server_terminate(task, nt_errstr(status));
+ return;
nomem:
task_server_terminate(task, nt_errstr(NT_STATUS_NO_MEMORY));
return;