From: Volker Lendecke Date: Thu, 19 Jun 2008 13:44:15 +0000 (+0200) Subject: Remove current_user_info reference from vfs_expand_msdfs.c X-Git-Tag: samba-4.0.0alpha6~801^2~983 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff215c4f81abb70a76fd6517c61ba2954c5e3312;p=thirdparty%2Fsamba.git Remove current_user_info reference from vfs_expand_msdfs.c (This used to be commit 05a66980a9b5a7c6222ceb038d819d23fd172186) --- diff --git a/source3/modules/vfs_expand_msdfs.c b/source3/modules/vfs_expand_msdfs.c index 9b85ad2dda4..3654ae43512 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));