diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 162291c9a1..adc34bc4ab 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -2596,7 +2596,7 @@ static void call_trans2findnext(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; - 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); |