summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_samba3_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/winbind/wb_samba3_cmd.c')
-rw-r--r--source4/winbind/wb_samba3_cmd.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/winbind/wb_samba3_cmd.c b/source4/winbind/wb_samba3_cmd.c
index 2c273e5175..7f5a69ca6b 100644
--- a/source4/winbind/wb_samba3_cmd.c
+++ b/source4/winbind/wb_samba3_cmd.c
@@ -128,6 +128,22 @@ NTSTATUS wbsrv_samba3_ping(struct wbsrv_samba3_call *s3call)
return NT_STATUS_OK;
}
+NTSTATUS wbsrv_samba3_domain_info(struct wbsrv_samba3_call *s3call)
+{
+ DEBUG(0, ("wbsrv_samba3_domain_info called, stub\n"));
+ s3call->response.result = WINBINDD_OK;
+ fstrcpy(s3call->response.data.domain_info.name,
+ s3call->request.domain_name);
+ fstrcpy(s3call->response.data.domain_info.alt_name,
+ s3call->request.domain_name);
+ fstrcpy(s3call->response.data.domain_info.sid, "S-1-2-3-4");
+ s3call->response.data.domain_info.native_mode = false;
+ s3call->response.data.domain_info.active_directory = false;
+ s3call->response.data.domain_info.primary = false;
+
+ return NT_STATUS_OK;
+}
+
/* Plaintext authentication
This interface is used by ntlm_auth in it's 'basic' authentication