Ignore:
Timestamp:
May 13, 2014, 11:39:04 AM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update trunk to 3.6.23

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/smbd/open.c

    r751 r862  
    5959        }
    6060
     61
     62
     63
     64
     65
     66
     67
    6168        return se_access_check(sd,
    6269                                token,
     
    143150
    144151        return status;
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161
     162
     163
     164
     165
     166
     167
     168
     169
     170
     171
     172
     173
     174
     175
     176
     177
     178
     179
     180
     181
     182
     183
     184
     185
     186
     187
     188
     189
     190
     191
     192
     193
    145194}
    146195
     
    14171466                        }
    14181467
    1419                         access_mask = access_granted;
     1468                        /*
     1469                         * If we can access the path to this file, by
     1470                         * default we have FILE_READ_ATTRIBUTES from the
     1471                         * containing directory. See the section.
     1472                         * "Algorithm to Check Access to an Existing File"
     1473                         * in MS-FSA.pdf.
     1474                         */
     1475                        access_mask = access_granted | FILE_READ_ATTRIBUTES;
    14201476                } else {
    14211477                        access_mask = FILE_GENERIC_ALL;
     
    19892045                        /*
    19902046                         * If we're returning a share violation, ensure we
    1991                          * cope with the braindead 1 second delay.
     2047                         * cope with the braindead 1 second delay.
    19922048                         */
    19932049
    19942050                        if (!(oplock_request & INTERNAL_OPEN_ONLY) &&
     2051
    19952052                            lp_defer_sharing_violations()) {
    19962053                                struct timeval timeout;
     
    27532810        mtimespec = smb_dname->st.st_ex_mtime;
    27542811
    2755         /* Temporary access mask used to open the directory fd. */
    2756         fsp->access_mask = FILE_READ_DATA | FILE_READ_ATTRIBUTES;
     2812       
     2813
    27572814#ifdef O_DIRECTORY
    27582815        status = fd_open(conn, fsp, O_RDONLY|O_DIRECTORY, 0);
     
    32133270                        DEBUG(10, ("Unable to stat stream: %s\n",
    32143271                                   smb_fname_str_dbg(smb_fname_base)));
     3272
     3273
     3274
     3275
     3276
     3277
     3278
     3279
     3280
     3281
     3282
     3283
     3284
     3285
     3286
     3287
     3288
     3289
     3290
    32153291                }
    32163292
Note: See TracChangeset for help on using the changeset viewer.