summaryrefslogtreecommitdiff
path: root/source3/auth
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 /source3/auth
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 'source3/auth')
-rw-r--r--source3/auth/server_info.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c
index fc6c85fb6c..b968c1dded 100644
--- a/source3/auth/server_info.c
+++ b/source3/auth/server_info.c
@@ -326,14 +326,14 @@ NTSTATUS serverinfo_to_SamInfo6(struct auth_serversupplied_info *server_info,
sam6->sidcount = 0;
sam6->sids = NULL;
- sam6->forest.string = talloc_strdup(sam6, dominfo->dns_forest);
- if (sam6->forest.string == NULL) {
+ sam6->dns_domainname.string = talloc_strdup(sam6, dominfo->dns_domain);
+ if (sam6->dns_domainname.string == NULL) {
return NT_STATUS_NO_MEMORY;
}
sam6->principle.string = talloc_asprintf(sam6, "%s@%s",
pdb_get_username(server_info->sam_account),
- dominfo->dns_domain);
+ sam6->dns_domainname.string);
if (sam6->principle.string == NULL) {
return NT_STATUS_NO_MEMORY;
}