Changeset 235 for branches/samba-3.2.x/source/rpc_server
- Timestamp:
- May 27, 2009, 12:08:58 PM (16 years ago)
- Location:
- branches/samba-3.2.x/source/rpc_server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/rpc_server/srv_lsa_nt.c
r233 r235 831 831 &mapped_count); 832 832 833 if (NT_STATUS_IS_ERR(status)) { 833 /* Only return here when there is a real error. 834 NT_STATUS_NONE_MAPPED is a special case as it indicates that none of 835 the requested sids could be resolved. Older versions of XP (pre SP3) 836 rely that we return with the string representations of those SIDs in 837 that case. If we don't, XP crashes - Guenther 838 */ 839 840 if (NT_STATUS_IS_ERR(status) && 841 !NT_STATUS_EQUAL(status, NT_STATUS_NONE_MAPPED)) { 834 842 return status; 835 843 } -
branches/samba-3.2.x/source/rpc_server/srv_samr_nt.c
r233 r235 621 621 return NT_STATUS_INVALID_HANDLE; 622 622 623 status = access_check_samr_function(info->acc_granted,624 SA_RIGHT_SAM_OPEN_DOMAIN,625 "_samr_OpenDomain" );626 627 if ( !NT_STATUS_IS_OK(status) )628 return status;629 630 623 /*check if access can be granted as requested by client. */ 631 624 map_max_allowed_access(p->pipe_user.nt_user_token, &des_access); … … 2958 2951 2959 2952 status = access_check_samr_function(info->acc_granted, 2960 SA_RIGHT_SAM_ OPEN_DOMAIN,2953 SA_RIGHT_SAM_LOOKUP_DOMAIN, 2961 2954 "_samr_QueryDomainInfo" ); 2962 2955 … … 3358 3351 3359 3352 se_map_generic( &des_access, &sam_generic_mapping ); 3360 info->acc_granted = des_access & (SA_RIGHT_SAM_ENUM_DOMAINS|SA_RIGHT_SAM_ OPEN_DOMAIN);3353 info->acc_granted = des_access & (SA_RIGHT_SAM_ENUM_DOMAINS|SA_RIGHT_SAM_LOOKUP_DOMAIN); 3361 3354 3362 3355 /* get a (unique) handle. open a policy on it. */ … … 3545 3538 3546 3539 status = access_check_samr_function(info->acc_granted, 3547 SA_RIGHT_SAM_ OPEN_DOMAIN,3540 SA_RIGHT_SAM_LOOKUP_DOMAIN, 3548 3541 "_samr_LookupDomain"); 3549 3542 if (!NT_STATUS_IS_OK(status)) {
Note:
See TracChangeset
for help on using the changeset viewer.