summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-28 12:51:45 +0100
committerGünther Deschner <gd@samba.org>2008-02-28 12:58:22 +0100
commitb9ca5bf0a12f40030bbbe6a5c881cc4a035ed68d (patch)
treee5a390b392bd2c14e3fa34def0328f871ac72ce5
parented40151aafcc0416be50197d85784706c882b674 (diff)
downloadsamba-b9ca5bf0a12f40030bbbe6a5c881cc4a035ed68d.tar.gz
samba-b9ca5bf0a12f40030bbbe6a5c881cc4a035ed68d.tar.bz2
samba-b9ca5bf0a12f40030bbbe6a5c881cc4a035ed68d.zip
Fix one dsgetdcname call in wkssvc rpc server.
Guenther (This used to be commit a69b918784b037aa17d2dd88a33bd99930631c9b)
-rw-r--r--source3/rpc_server/srv_wkssvc_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_wkssvc_nt.c b/source3/rpc_server/srv_wkssvc_nt.c
index e0103e6b58..43bd20d2d7 100644
--- a/source3/rpc_server/srv_wkssvc_nt.c
+++ b/source3/rpc_server/srv_wkssvc_nt.c
@@ -293,7 +293,7 @@ WERROR _wkssvc_NetrJoinDomain2(pipes_struct *p, struct wkssvc_NetrJoinDomain2 *r
WERROR werr;
NTSTATUS status;
struct nt_user_token *token = p->pipe_user.nt_user_token;
- struct DS_DOMAIN_CONTROLLER_INFO *info = NULL;
+ struct netr_DsRGetDCNameInfo *info = NULL;
if (!r->in.domain_name) {
return WERR_INVALID_PARAM;
@@ -335,7 +335,7 @@ WERROR _wkssvc_NetrJoinDomain2(pipes_struct *p, struct wkssvc_NetrJoinDomain2 *r
return werr;
}
- j->in.dc_name = info->domain_controller_name;
+ j->in.dc_name = info->dc_unc;
j->in.domain_name = r->in.domain_name;
j->in.account_ou = r->in.account_ou;
j->in.join_flags = r->in.join_flags;