2 Unix SMB/CIFS implementation.
3 Main winbindd samba3 server routines
5 Copyright (C) Stefan Metzmacher 2005
6 Copyright (C) Volker Lendecke 2005
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 #include "smbd/service_stream.h"
25 #include "nsswitch/winbind_nss_config.h"
26 #include "nsswitch/winbindd_nss.h"
27 #include "winbind/wb_server.h"
28 #include "winbind/wb_samba3_protocol.h"
30 NTSTATUS wbsrv_samba3_interface_version(struct wbsrv_samba3_call *s3call)
32 s3call->response.result = WINBINDD_OK;
33 s3call->response.data.interface_version = WINBIND_INTERFACE_VERSION;
37 NTSTATUS wbsrv_samba3_priv_pipe_dir(struct wbsrv_samba3_call *s3call)
39 s3call->response.result = WINBINDD_OK;
40 s3call->response.extra_data = smbd_tmp_path(s3call,
41 WINBINDD_SAMBA3_PRIVILEGED_SOCKET);
42 NT_STATUS_HAVE_NO_MEMORY(s3call->response.extra_data);
46 NTSTATUS wbsrv_samba3_ping(struct wbsrv_samba3_call *s3call)
48 s3call->response.result = WINBINDD_OK;