summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_samba3_protocol.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-09-26 13:42:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:58 -0500
commit98a7da234869576c0b4b41ede9fd64a022c3ec58 (patch)
tree6d4ce967d473837a2261ba1af41a419071b5016b /source4/winbind/wb_samba3_protocol.c
parenteb5af8841a58a2f87f0b0d0c1ca5062a4a6df8a6 (diff)
downloadsamba-98a7da234869576c0b4b41ede9fd64a022c3ec58.tar.gz
samba-98a7da234869576c0b4b41ede9fd64a022c3ec58.tar.bz2
samba-98a7da234869576c0b4b41ede9fd64a022c3ec58.zip
r10508: - implement WINBINDD_NETBIOS_NAME, WINBINDD_DOMAIN_NAME and WINBINDD_INFO
is there a way to test this calls? vl: please review this metze (This used to be commit 85d4565fce0fcd6abad5fb11246d2671675ee37d)
Diffstat (limited to 'source4/winbind/wb_samba3_protocol.c')
-rw-r--r--source4/winbind/wb_samba3_protocol.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/source4/winbind/wb_samba3_protocol.c b/source4/winbind/wb_samba3_protocol.c
index 4519f89540..af63b4c876 100644
--- a/source4/winbind/wb_samba3_protocol.c
+++ b/source4/winbind/wb_samba3_protocol.c
@@ -72,14 +72,23 @@ NTSTATUS wbsrv_samba3_handle_call(struct wbsrv_call *call)
case WINBINDD_INTERFACE_VERSION:
return wbsrv_samba3_interface_version(s3call);
- case WINBINDD_PRIV_PIPE_DIR:
- return wbsrv_samba3_priv_pipe_dir(s3call);
+ case WINBINDD_CHECK_MACHACC:
+ return wbsrv_samba3_check_machacc(s3call);
case WINBINDD_PING:
return wbsrv_samba3_ping(s3call);
- case WINBINDD_CHECK_MACHACC:
- return wbsrv_samba3_check_machacc(s3call);
+ case WINBINDD_INFO:
+ return wbsrv_samba3_domain_name(s3call);
+
+ case WINBINDD_DOMAIN_NAME:
+ return wbsrv_samba3_domain_name(s3call);
+
+ case WINBINDD_NETBIOS_NAME:
+ return wbsrv_samba3_netbios_name(s3call);
+
+ case WINBINDD_PRIV_PIPE_DIR:
+ return wbsrv_samba3_priv_pipe_dir(s3call);
}
s3call->response.result = WINBINDD_ERROR;