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-3.3.0pre1~846 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05a66980a9b5a7c6222ceb038d819d23fd172186;p=thirdparty%2Fsamba.git Remove current_user_info reference from vfs_expand_msdfs.c --- diff --git a/source/modules/vfs_expand_msdfs.c b/source/modules/vfs_expand_msdfs.c index 9b85ad2dda4..3654ae43512 100644 --- a/source/modules/vfs_expand_msdfs.c +++ b/source/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));