From ff215c4f81abb70a76fd6517c61ba2954c5e3312 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 19 Jun 2008 15:44:15 +0200 Subject: Remove current_user_info reference from vfs_expand_msdfs.c (This used to be commit 05a66980a9b5a7c6222ceb038d819d23fd172186) --- source3/modules/vfs_expand_msdfs.c | 4 +--- 1 file changed, 1 insertion(+), 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)); -- cgit