Lines Matching refs:psd
886 static BOOL unpack_nt_owners(int snum, SMB_STRUCT_STAT *psbuf, uid_t *puser, gid_t *pgrp, uint32 security_info_sent, SEC_DESC *psd)
914 sid_copy(&owner_sid, psd->owner_sid);
936 sid_copy(&grp_sid, psd->grp_sid);
1901 uint32 security_info_sent, SEC_DESC *psd)
1918 if(!(security_info_sent & DACL_SECURITY_INFORMATION) || !psd->dacl)
1926 &file_ace, &dir_ace, psd->dacl))
2652 SEC_DESC *psd = NULL;
2868 psd = make_standard_sec_desc( main_loop_talloc_get(),
2874 if(!psd) {
2889 psd->type |= SE_DESC_DACL_PROTECTED;
2893 if (psd->dacl)
2894 dacl_sort_into_canonical_order(psd->dacl->ace, (unsigned int)psd->dacl->num_aces);
2896 *ppdesc = psd;
2964 BOOL set_nt_acl(files_struct *fsp, uint32 security_info_sent, SEC_DESC *psd)
3009 if (!unpack_nt_owners( SNUM(conn), &sbuf, &user, &grp, security_info_sent, psd))
3070 &file_ace_list, &dir_ace_list, security_info_sent, psd);
3086 if((security_info_sent & DACL_SECURITY_INFORMATION) && (psd->dacl != NULL)) {
3131 (psd->type & SE_DESC_DACL_PROTECTED) ? True : False);