diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-04-12 14:49:14 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-04-12 18:49:01 +0200 |
commit | 1a2734336655a8d4256c8cce039ada66650b70a9 (patch) | |
tree | 548713cbb6dd5f763e411d5833353430d7773fd2 /source3/auth/server_info.c | |
parent | 1bd4735d8727baa55e3fd251b0f1d5efef4d1385 (diff) | |
download | samba-1a2734336655a8d4256c8cce039ada66650b70a9.tar.gz |
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/server_info.c')
-rw-r--r-- | source3/auth/server_info.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c index fc6c85fb6c8..b968c1ddedc 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; } |