From 9e2f5a6ab663f7a111832217c527508c75ddae8a Mon Sep 17 00:00:00 2001 From: bubulle Date: Sun, 4 Apr 2010 16:44:16 +0000 Subject: Merge 3.5.1 from experimental git-svn-id: svn://svn.debian.org/svn/pkg-samba/trunk/samba@3414 fc4039ab-9d04-0410-8cac-899223bdd6b0 --- source3/smbd/uid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/smbd/uid.c') diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index 72837ff967..2ec50cd4d8 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -224,7 +224,8 @@ void conn_clear_vuid_cache(connection_struct *conn, uint16_t vuid) bool change_to_user(connection_struct *conn, uint16 vuid) { const struct auth_serversupplied_info *server_info = NULL; - user_struct *vuser = get_valid_user_struct(vuid); + struct smbd_server_connection *sconn = smbd_server_conn; + user_struct *vuser = get_valid_user_struct(sconn, vuid); int snum; gid_t gid; uid_t uid; -- cgit v1.2.3