summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-06-19 15:44:15 +0200
committerVolker Lendecke <vl@samba.org>2008-06-19 15:53:43 +0200
commitff215c4f81abb70a76fd6517c61ba2954c5e3312 (patch)
tree5e2e433286cb4ee80885f149bda5b596229ebb99 /source3/modules
parent17885401b872c3c4abf1a531e7846131e5272502 (diff)
downloadsamba-ff215c4f81abb70a76fd6517c61ba2954c5e3312.tar.gz
samba-ff215c4f81abb70a76fd6517c61ba2954c5e3312.tar.bz2
samba-ff215c4f81abb70a76fd6517c61ba2954c5e3312.zip
Remove current_user_info reference from vfs_expand_msdfs.c
(This used to be commit 05a66980a9b5a7c6222ceb038d819d23fd172186)
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));