Changeset 336 for branches/samba-3.0/source/smbd
- Timestamp:
- Oct 8, 2009, 7:51:22 AM (16 years ago)
- Location:
- branches/samba-3.0/source/smbd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/smbd/process.c
r165 r336 94 94 msg->request_time = request_time; 95 95 msg->end_time = end_time; 96 96 97 97 98 if (private_data) { … … 163 164 164 165 /**************************************************************************** 165 Return true if this mid is on the deferred queue .166 Return true if this mid is on the deferred queue. 166 167 ****************************************************************************/ 167 168 … … 171 172 172 173 for (pml = deferred_open_queue; pml; pml = pml->next) { 173 if (SVAL(pml->buf.data,smb_mid) == mid ) {174 if (SVAL(pml->buf.data,smb_mid) == mid) { 174 175 return True; 175 176 } … … 410 411 know this is a retry. */ 411 412 DEBUG(5,("receive_message_or_smb: returning deferred open smb message.\n")); 413 414 415 416 412 417 return True; 413 418 } … … 968 973 969 974 if (!change_to_user(conn,session_tag)) { 970 remove_deferred_open_smb_message(971 SVAL(inbuf, smb_mid));972 975 return(ERROR_NT(NT_STATUS_DOS(ERRSRV,ERRbaduid))); 973 976 } … … 1018 1021 static int construct_reply(char *inbuf,char *outbuf,int size,int bufsize) 1019 1022 { 1023 1020 1024 int type = CVAL(inbuf,smb_com); 1021 1025 int outsize = 0; 1022 1026 int msg_type = CVAL(inbuf,0); 1027 1023 1028 1024 1029 chain_size = 0; … … 1032 1037 1033 1038 outsize = switch_message(type,inbuf,outbuf,size,bufsize); 1039 1040 1041 1042 1043 1044 1045 1034 1046 1035 1047 outsize += chain_size; -
branches/samba-3.0/source/smbd/service.c
r108 r336 228 228 int iHomeService; 229 229 230 if (!service || !homedir )230 if (!service || !homedir) 231 231 return -1; 232 232 … … 805 805 current_user_info.domain, 806 806 s, sizeof(s)); 807 808 809 810 811 812 813 814 815 807 816 set_conn_connectpath(conn,s); 808 817 DEBUG(3,("Connect path is '%s' for service [%s]\n",s,
Note:
See TracChangeset
for help on using the changeset viewer.
