summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 12:05:37 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:53 +0200
commit6608400e2d21f47a33872f9e365308b88309ac4f (patch)
treea23f68252d3fe2d88d5b7f8935356b0908dbdd52 /source3
parent72b4afc6998a6340c85c44c8da15beb02d268e32 (diff)
downloadsamba-6608400e2d21f47a33872f9e365308b88309ac4f.tar.gz
samba-6608400e2d21f47a33872f9e365308b88309ac4f.tar.bz2
samba-6608400e2d21f47a33872f9e365308b88309ac4f.zip
s3: Remove smbd_server_conn from call_trans2findfirst
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 87c55ce2ce..162291c9a1 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2257,7 +2257,7 @@ static void call_trans2findfirst(connection_struct *conn,
bool ask_sharemode = lp_parm_bool(SNUM(conn), "smbd", "search ask sharemode", true);
TALLOC_CTX *ctx = talloc_tos();
struct dptr_struct *dirptr = NULL;
- struct smbd_server_connection *sconn = smbd_server_conn;
+ struct smbd_server_connection *sconn = req->sconn;
if (total_params < 13) {
reply_nterror(req, NT_STATUS_INVALID_PARAMETER);