summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 11:34:38 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:50 +0200
commitd04a89682a062e48dfd01f5b56899b84eb9220b6 (patch)
tree7a027c73bc70f055079fe5063ccdfe36f8ec00fb /source3
parent5a2277ca2f2457b32eaf68f4539b037733022e4c (diff)
downloadsamba-d04a89682a062e48dfd01f5b56899b84eb9220b6.tar.gz
samba-d04a89682a062e48dfd01f5b56899b84eb9220b6.tar.bz2
samba-d04a89682a062e48dfd01f5b56899b84eb9220b6.zip
s3: Remove smbd_server_conn from change_to_user
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/uid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index f34ec5540a..ec6dbc56a3 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -227,8 +227,7 @@ 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;
- struct smbd_server_connection *sconn = smbd_server_conn;
- user_struct *vuser = get_valid_user_struct(sconn, vuid);
+ user_struct *vuser = get_valid_user_struct(conn->sconn, vuid);
int snum;
gid_t gid;
uid_t uid;