summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-12 14:49:14 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-12 18:49:01 +0200
commit1a2734336655a8d4256c8cce039ada66650b70a9 (patch)
tree548713cbb6dd5f763e411d5833353430d7773fd2 /source4/rpc_server
parent1bd4735d8727baa55e3fd251b0f1d5efef4d1385 (diff)
downloadsamba-1a2734336655a8d4256c8cce039ada66650b70a9.tar.gz
samba-1a2734336655a8d4256c8cce039ada66650b70a9.tar.bz2
samba-1a2734336655a8d4256c8cce039ada66650b70a9.zip
s3/s4:netlogon IDL - fix up "struct netr_SamInfo6" regarding the "forest" attribute
According to MS-NRPC 2.2.1.4.13 this should be the DNS domainname, not the forest one.
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index e337be9014..bb9d6b8399 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -657,9 +657,9 @@ static NTSTATUS dcesrv_netr_LogonSamLogon_base(struct dcesrv_call_state *dce_cal
sam6->sidcount = sam3->sidcount;
sam6->sids = sam3->sids;
- sam6->forest.string = lp_dnsdomain(dce_call->conn->dce_ctx->lp_ctx);
+ sam6->dns_domainname.string = lp_dnsdomain(dce_call->conn->dce_ctx->lp_ctx);
sam6->principle.string = talloc_asprintf(mem_ctx, "%s@%s",
- sam->account_name.string, sam6->forest.string);
+ sam->account_name.string, sam6->dns_domainname.string);
NT_STATUS_HAVE_NO_MEMORY(sam6->principle.string);
/* And put into the talloc tree */
talloc_steal(sam6, sam3);