Ignore:
Timestamp:
May 20, 2009, 6:46:53 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.4

Location:
branches/samba-3.2.x/source/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/modules/nfs4_acls.c

    r133 r204  
    2525
    2626#define SMBACL4_PARAM_TYPE_NAME "nfs4"
     27
     28extern const struct generic_mapping file_generic_mapping;
    2729
    2830#define SMB_ACE4_INT_MAGIC 0x76F8A967
     
    529531        ace_v4->aceMask = ace_nt->access_mask &
    530532                (STD_RIGHT_ALL_ACCESS | SA_RIGHT_FILE_ALL_ACCESS);
     533
     534        se_map_generic(&ace_v4->aceMask, &file_generic_mapping);
    531535
    532536        if (ace_v4->aceFlags!=ace_nt->flags)
  • branches/samba-3.2.x/source/modules/vfs_tsmsm.c

    r133 r204  
    201201        }
    202202
    203         lerrno = 0;
    204 
    205203        do {
     204                lerrno = 0;
     205
    206206                ret = dm_get_dmattr(*dmsession_id, dmhandle, dmhandle_len,
    207207                                    DM_NO_TOKEN, &dmname, buflen, buf, &rlen);
     
    280280                              SMB_OFF_T offset, size_t n)
    281281{
    282         bool file_online = tsmsm_aio_force(handle, fsp);
    283 
    284         if(!file_online)
    285             return ENOSYS;
     282        bool file_offline = tsmsm_aio_force(handle, fsp);
     283
     284        if (file_offline) {
     285                DEBUG(10,("tsmsm_sendfile on offline file - rejecting\n"));
     286                errno = ENOSYS;
     287                return -1;
     288        }
    286289           
    287290        return SMB_VFS_NEXT_SENDFILE(handle, tofd, fsp, hdr, offset, n);
     
    334337        if (tsmd->hsmscript == NULL) {
    335338                /* no script enabled */
    336                 DEBUG(1, ("tsmsm_set_offline: No tsmsm:hsmscript configured\n"));
     339                DEBUG(1, ("tsmsm_set_offline: No 'tsmsm:hsm script' configured\n"));
    337340                return 0;
    338341        }
Note: See TracChangeset for help on using the changeset viewer.