From 76b38d11fdfacb0aad3f578b3aaec4c3dbbbaae6 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 14 Jan 2005 02:01:19 +0000 Subject: r4729: add dummy "winbind" service - this creates a new task and then starts a process_model "single" with service "winbind_task" - that means with -M single everything is in one process with - M standard winbind is a seperate process but didn't fork for each connection with -M thread winbind is a seperate thread but didn't thread for each connection - the dummy server listen s on /tmp/.winbind/echo and for better testing with telnet also on 127.0.255.1 port 55555 metze (This used to be commit 5190f60dedc4076d94fbf77e02eb3b5312d953ec) --- source4/smbd/service.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/smbd/service.c') diff --git a/source4/smbd/service.c b/source4/smbd/service.c index e0ec3cf07e2..12aa43132c3 100644 --- a/source4/smbd/service.c +++ b/source4/smbd/service.c @@ -349,6 +349,12 @@ const struct server_service_ops *server_service_byname(const char *name) if (strcmp("ldap",name)==0) { return ldapsrv_get_ops(); } + if (strcmp("winbind",name)==0) { + return winbind_get_ops(); + } + if (strcmp("winbind_task",name)==0) { + return winbind_task_get_ops(); + } return NULL; } -- cgit v1.2.1