Changeset 165 for branches/samba-3.0/source/smbd/trans2.c
- Timestamp:
- Mar 11, 2009, 9:14:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/smbd/trans2.c
r159 r165 205 205 } 206 206 207 if (sizeret == -1) {208 return NULL; }207 if (sizeret == -1) 208 return NULL; 209 209 210 210 DEBUG(10,("get_ea_list_from_file: ea_namelist size = %u\n", (unsigned int)sizeret )); … … 303 303 size_t total_ea_len = 0; 304 304 TALLOC_CTX *mem_ctx = NULL; 305 305 306 if (!lp_ea_support(SNUM(conn))) { 306 307 return 0; … … 865 866 return ERROR_NT(NT_STATUS_INVALID_PARAMETER); 866 867 } 867 } else if (IVAL(pdata,0) != 4) {868 return ERROR_NT(NT_STATUS_INVALID_PARAMETER);869 868 } 870 869 … … 977 976 if (mask[0] == '.' && mask[1] == 0) 978 977 return False; 978 if (dptr_has_wild(conn->dirptr)) { 979 return False; 980 } 979 981 if (conn->case_sensitive) 980 982 return strcmp(str,mask)==0; 981 if (StrCaseCmp(str,mask) != 0) { 982 return False; 983 } 984 if (dptr_has_wild(conn->dirptr)) { 985 return False; 986 } 987 return True; 983 else 984 return StrCaseCmp(str,mask) == 0; 988 985 } 989 986 … … 4162 4159 fsp_set_pending_modtime(fsp, ts[1]); 4163 4160 } 4161 4164 4162 } 4165 4163 #ifdef __OS2__ … … 6190 6188 return ERROR_NT(NT_STATUS_INVALID_PARAMETER); 6191 6189 } 6190 /* If total_data == 4 Windows doesn't care what values 6191 * are placed in that field, it just ignores them. 6192 * The System i QNTC IBM SMB client puts bad values here, 6193 * so ignore them. */ 6192 6194 6193 6195 status = create_directory(conn, directory);
Note:
See TracChangeset
for help on using the changeset viewer.