summaryrefslogtreecommitdiffstats
path: root/source3/modules/vfs_expand_msdfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules/vfs_expand_msdfs.c')
-rw-r--r--source3/modules/vfs_expand_msdfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_expand_msdfs.c b/source3/modules/vfs_expand_msdfs.c
index 0772215a284..d7ae3976bfc 100644
--- a/source3/modules/vfs_expand_msdfs.c
+++ b/source3/modules/vfs_expand_msdfs.c
@@ -147,7 +147,7 @@ static char *expand_msdfs_target(TALLOC_CTX *ctx,
conn->connectpath,
conn->server_info->utok.gid,
conn->server_info->sanitized_username,
- pdb_get_domain(conn->server_info->sam_account),
+ conn->server_info->info3->base.domain.string,
targethost);
DEBUG(10, ("Expanded targethost to %s\n", targethost));