diff options
Diffstat (limited to 'source3')
-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 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; } |