summaryrefslogtreecommitdiff
path: root/source4/smbd/service.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-14 02:01:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:49 -0500
commit76b38d11fdfacb0aad3f578b3aaec4c3dbbbaae6 (patch)
treee2b5034043e9e4c76617ce68ec1122c31f905bcf /source4/smbd/service.c
parent9327ec51d11855ec0ceac3ce1f4e0a75c8b57081 (diff)
downloadsamba-76b38d11fdfacb0aad3f578b3aaec4c3dbbbaae6.tar.gz
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)
Diffstat (limited to 'source4/smbd/service.c')
-rw-r--r--source4/smbd/service.c6
1 files changed, 6 insertions, 0 deletions
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;
}