Changeset 235 for branches/samba-3.2.x/source/smbd
- Timestamp:
- May 27, 2009, 12:08:58 PM (16 years ago)
- Location:
- branches/samba-3.2.x/source/smbd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/smbd/ipc.c
r205 r235 659 659 } 660 660 661 talloc_steal(talloc_tos(), state); 662 661 663 handle_trans(conn, req, state); 662 664 … … 788 790 SCVAL(req->inbuf,smb_com,SMBtrans); 789 791 792 talloc_steal(talloc_tos(), state); 793 790 794 handle_trans(conn, req, state); 791 795 -
branches/samba-3.2.x/source/smbd/notify.c
r228 r235 232 232 fsp->fsp_name) == -1) { 233 233 DEBUG(0, ("asprintf failed\n")); 234 TALLOC_FREE(fsp->notify); 234 235 return NT_STATUS_NO_MEMORY; 235 236 } -
branches/samba-3.2.x/source/smbd/open.c
r233 r235 3056 3056 ea_list, sd, fname)); 3057 3057 3058 /* MSDFS pathname processing must be done FIRST. 3059 MSDFS pathnames containing IPv6 addresses can 3060 be confused with NTFS stream names (they contain 3061 ":" characters. JRA. */ 3062 3063 if ((req != NULL) && (req->flags2 & FLAGS2_DFS_PATHNAMES)) { 3064 char *resolved_fname; 3065 3066 status = resolve_dfspath(talloc_tos(), conn, true, fname, 3067 &resolved_fname); 3068 3069 if (!NT_STATUS_IS_OK(status)) { 3070 /* 3071 * For PATH_NOT_COVERED we had 3072 * reply_botherror(req, NT_STATUS_PATH_NOT_COVERED, 3073 * ERRSRV, ERRbadpath); 3074 * Need to fix in callers 3075 */ 3076 goto fail; 3077 } 3078 fname = resolved_fname; 3079 } 3080 3058 3081 /* 3059 3082 * Get the file name. … … 3183 3206 } 3184 3207 3185 if ((req != NULL) && (req->flags2 & FLAGS2_DFS_PATHNAMES)) {3186 char *resolved_fname;3187 3188 status = resolve_dfspath(talloc_tos(), conn, true, fname,3189 &resolved_fname);3190 3191 if (!NT_STATUS_IS_OK(status)) {3192 /*3193 * For PATH_NOT_COVERED we had3194 * reply_botherror(req, NT_STATUS_PATH_NOT_COVERED,3195 * ERRSRV, ERRbadpath);3196 * Need to fix in callers3197 */3198 goto fail;3199 }3200 fname = resolved_fname;3201 }3202 3203 3208 /* 3204 3209 * Check if POSIX semantics are wanted.
Note:
See TracChangeset
for help on using the changeset viewer.