diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 15:09:47 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 18:09:33 +0200 |
commit | 39da717fe1583308239278615ac44f8b910c50e3 (patch) | |
tree | 87c7d0f98236c0297cf1dbf8c3f43e66a58b9495 /source3/smbd/sesssetup.c | |
parent | 7c7ffb70fb53c8cedd388c016836d13107f28ac1 (diff) | |
download | samba-39da717fe1583308239278615ac44f8b910c50e3.tar.gz |
s3: Lift the smbd_messaging_context from reload_services
Diffstat (limited to 'source3/smbd/sesssetup.c')
-rw-r--r-- | source3/smbd/sesssetup.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 35b8c04747d..41fdc7d22f5 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -468,7 +468,7 @@ static void reply_spnego_kerberos(struct smb_request *req, /* setup the string used by %U */ sub_set_smb_name( real_username ); - reload_services(True); + reload_services(sconn->msg_ctx, True); if ( map_domainuser_to_guest ) { make_server_info_guest(NULL, &server_info); @@ -589,7 +589,7 @@ static void reply_spnego_kerberos(struct smb_request *req, ret = NT_STATUS_LOGON_FAILURE; } else { /* current_user_info is changed on new vuid */ - reload_services( True ); + reload_services(sconn->msg_ctx, True); SSVAL(req->outbuf, smb_vwv3, 0); @@ -683,7 +683,7 @@ static void reply_spnego_ntlmssp(struct smb_request *req, } /* current_user_info is changed on new vuid */ - reload_services( True ); + reload_services(sconn->msg_ctx, True); SSVAL(req->outbuf, smb_vwv3, 0); @@ -1695,7 +1695,7 @@ void reply_sesssetup_and_X(struct smb_request *req) sub_set_smb_name(sub_user); - reload_services(True); + reload_services(sconn->msg_ctx, True); if (lp_security() == SEC_SHARE) { /* In share level we should ignore any passwords */ @@ -1848,7 +1848,7 @@ void reply_sesssetup_and_X(struct smb_request *req) } /* current_user_info is changed on new vuid */ - reload_services( True ); + reload_services(sconn->msg_ctx, True); } data_blob_free(&nt_resp); |