connecting user if appropriate.
****************************************************************************/
-static NTSTATUS make_connection_snum(struct smbd_server_connection *sconn,
+static NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn,
connection_struct *conn,
int snum, struct user_struct *vuser,
const char *pdev)
{
- struct smbXsrv_connection *xconn = sconn->conn;
+ struct smbd_server_connection *sconn = xconn->sconn;
struct smb_filename *smb_fname_cpath = NULL;
fstring dev;
int ret;
conn->cnum = tcon->global->tcon_wire_id;
conn->tcon = tcon;
- *pstatus = make_connection_snum(req->sconn,
+ *pstatus = make_connection_snum(req->xconn,
conn,
snum,
vuser,
conn->cnum = tcon->global->tcon_wire_id;
conn->tcon = tcon;
- *pstatus = make_connection_snum(sconn,
+ *pstatus = make_connection_snum(req->xconn,
conn,
snum,
vuser,