summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_expand_msdfs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/modules/vfs_expand_msdfs.c b/source3/modules/vfs_expand_msdfs.c
index 9b85ad2dda..3654ae4351 100644
--- a/source3/modules/vfs_expand_msdfs.c
+++ b/source3/modules/vfs_expand_msdfs.c
@@ -22,8 +22,6 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS
-extern userdom_struct current_user_info;
-
/**********************************************************
Under mapfile we expect a table of the following format:
@@ -149,7 +147,7 @@ static char *expand_msdfs_target(TALLOC_CTX *ctx,
conn->connectpath,
conn->server_info->gid,
conn->server_info->sanitized_username,
- current_user_info.domain,
+ pdb_get_domain(conn->server_info->sam_account),
targethost);
DEBUG(10, ("Expanded targethost to %s\n", targethost));