Changeset 620 for trunk/server/source3/smbd
- Timestamp:
- Aug 6, 2011, 6:50:53 PM (14 years ago)
- Location:
- trunk/server/source3/smbd
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/smbd/file_access.c
r414 r620 76 76 if (!CAN_WRITE(conn)) { 77 77 return False; 78 } 79 80 if (!lp_acl_check_permissions(SNUM(conn))) { 81 /* This option means don't check. */ 82 return true; 78 83 } 79 84 -
trunk/server/source3/smbd/negprot.c
r414 r620 383 383 return; 384 384 } 385 p += ret; 385 386 DEBUG(3,("not using SPNEGO\n")); 386 387 } else { -
trunk/server/source3/smbd/open.c
r599 r620 86 86 NTSTATUS status; 87 87 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 } 88 98 89 99 status = SMB_VFS_GET_NT_ACL(conn, smb_fname->base_name, … … 2968 2978 /* Setting FILE_SHARE_DELETE is the hint. */ 2969 2979 2970 if (lp_acl_check_permissions(SNUM(conn)) 2971 && (create_disposition != FILE_CREATE) 2980 if ((create_disposition != FILE_CREATE) 2972 2981 && (access_mask & DELETE_ACCESS) 2973 2982 && (!(can_delete_file_in_directory(conn, smb_fname) || -
trunk/server/source3/smbd/server.c
r599 r620 279 279 } 280 280 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)); 282 283 } 283 284
Note:
See TracChangeset
for help on using the changeset viewer.