Ignore:
Timestamp:
Aug 5, 2011, 7:52:23 AM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update vendor to version 3.5.11

Location:
vendor/current/source3/smbd
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/smbd/file_access.c

    r414 r618  
    7676        if (!CAN_WRITE(conn)) {
    7777                return False;
     78        }
     79
     80        if (!lp_acl_check_permissions(SNUM(conn))) {
     81                /* This option means don't check. */
     82                return true;
    7883        }
    7984
  • vendor/current/source3/smbd/negprot.c

    r414 r618  
    383383                        return;
    384384                }
     385                p += ret;
    385386                DEBUG(3,("not using SPNEGO\n"));
    386387        } else {
  • vendor/current/source3/smbd/open.c

    r597 r618  
    8686        NTSTATUS status;
    8787        struct security_descriptor *sd = NULL;
     88
     89        if ((access_mask & DELETE_ACCESS) && !lp_acl_check_permissions(SNUM(conn))) {
     90                *access_granted = access_mask;
     91
     92                DEBUG(10,("smbd_check_open_rights: not checking ACL "
     93                        "on DELETE_ACCESS on file %s. Granting 0x%x\n",
     94                        smb_fname_str_dbg(smb_fname),
     95                        (unsigned int)*access_granted ));
     96                return NT_STATUS_OK;
     97        }
    8898
    8999        status = SMB_VFS_GET_NT_ACL(conn, smb_fname->base_name,
     
    29682978        /* Setting FILE_SHARE_DELETE is the hint. */
    29692979
    2970         if (lp_acl_check_permissions(SNUM(conn))
    2971             && (create_disposition != FILE_CREATE)
     2980        if ((create_disposition != FILE_CREATE)
    29722981            && (access_mask & DELETE_ACCESS)
    29732982            && (!(can_delete_file_in_directory(conn, smb_fname) ||
  • vendor/current/source3/smbd/server.c

    r597 r618  
    279279        }
    280280
    281         DEBUG(0, ("Could not find child %d -- ignoring\n", (int)pid));
     281        /* not all forked child processes are added to the children list */
     282        DEBUG(1, ("Could not find child %d -- ignoring\n", (int)pid));
    282283}
    283284
Note: See TracChangeset for help on using the changeset viewer.