/dports/net/samba412/samba-4.12.15/source4/torture/smb2/ |
H A D | acls.c | 154 set.set_secdesc.in.sd = sd; in test_creator_sid() 191 set.set_secdesc.in.sd = sd; in test_creator_sid() 235 set.set_secdesc.in.sd = sd; in test_creator_sid() 420 set.set_secdesc.in.sd = sd; in test_generic_bits() 461 set.set_secdesc.in.sd = sd; in test_generic_bits() 749 set.set_secdesc.in.sd = sd; in test_owner_bits() 2447 .set_secdesc.in.sd = sd, in test_owner_rights() 2583 .set_secdesc.in.sd = sd, in test_owner_rights_deny() 2725 .set_secdesc.in.sd = sd, in test_owner_rights_deny1() 2860 .set_secdesc.in.sd = sd, in test_deny1() [all …]
|
H A D | delete-on-close.c | 107 set.set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in create_dir() 108 set.set_secdesc.in.file.handle = handle; in create_dir() 109 set.set_secdesc.in.secinfo_flags = SECINFO_DACL | SECINFO_OWNER; in create_dir() 110 set.set_secdesc.in.sd = sd; in create_dir() 186 set.set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in set_dir_delete_perms() 187 set.set_secdesc.in.file.handle = handle; in set_dir_delete_perms() 188 set.set_secdesc.in.secinfo_flags = SECINFO_DACL | SECINFO_OWNER; in set_dir_delete_perms() 189 set.set_secdesc.in.sd = sd; in set_dir_delete_perms()
|
H A D | session.c | 564 sfinfo.set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in test_session_reauth4() 565 sfinfo.set_secdesc.in.file.handle = _h1; in test_session_reauth4() 566 sfinfo.set_secdesc.in.secinfo_flags = SECINFO_DACL; in test_session_reauth4() 567 sfinfo.set_secdesc.in.sd = sd1; in test_session_reauth4() 736 sfinfo.set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in test_session_reauth5() 737 sfinfo.set_secdesc.in.file.handle = _h1; in test_session_reauth5() 739 sfinfo.set_secdesc.in.sd = f_sd1; in test_session_reauth5() 807 sfinfo.set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in test_session_reauth5() 808 sfinfo.set_secdesc.in.file.handle = _dh1; in test_session_reauth5() 810 sfinfo.set_secdesc.in.secinfo_flags = SECINFO_DACL; in test_session_reauth5() [all …]
|
H A D | setinfo.c | 295 sfinfo.set_secdesc.in.secinfo_flags = finfo2.query_secdesc.in.secinfo_flags; in torture_smb2_setinfo() 296 sfinfo.set_secdesc.in.sd = sd; in torture_smb2_setinfo() 305 sfinfo.set_secdesc.in.secinfo_flags = finfo2.query_secdesc.in.secinfo_flags; in torture_smb2_setinfo() 306 sfinfo.set_secdesc.in.sd = sd; in torture_smb2_setinfo()
|
H A D | create.c | 1341 s.set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in test_create_null_dacl() 1342 s.set_secdesc.in.file.handle = handle; in test_create_null_dacl() 1343 s.set_secdesc.in.secinfo_flags = SECINFO_DACL; in test_create_null_dacl() 1344 s.set_secdesc.in.sd = sd; in test_create_null_dacl() 1416 s.set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in test_create_null_dacl() 1417 s.set_secdesc.in.file.handle = handle; in test_create_null_dacl() 1418 s.set_secdesc.in.secinfo_flags = SECINFO_DACL; in test_create_null_dacl() 1419 s.set_secdesc.in.sd = sd; in test_create_null_dacl() 1497 s.set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in test_create_null_dacl() 1498 s.set_secdesc.in.file.handle = handle; in test_create_null_dacl() [all …]
|
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/torture/raw/ |
H A D | acls.c | 102 set.set_secdesc.in.sd = sd; in test_sd() 309 set.set_secdesc.in.sd = sd; in test_creator_sid() 346 set.set_secdesc.in.sd = sd; in test_creator_sid() 398 set.set_secdesc.in.sd = sd; in test_creator_sid() 578 set.set_secdesc.in.sd = sd; in test_generic_bits() 626 set.set_secdesc.in.sd = sd; in test_generic_bits() 743 set.set_secdesc.in.sd = sd; in test_generic_bits() 917 set.set_secdesc.in.sd = sd; in test_owner_bits() 1274 set.set_secdesc.in.sd = sd; in test_inheritance() 1440 set.set_secdesc.in.sd = sd; in test_inheritance_dynamic() [all …]
|
/dports/net/samba412/samba-4.12.15/source4/torture/raw/ |
H A D | acls.c | 194 set.set_secdesc.in.sd = sd; in test_sd() 552 s.set_secdesc.in.sd = sd; in test_nttrans_create_null_dacl() 627 s.set_secdesc.in.sd = sd; in test_nttrans_create_null_dacl() 694 s.set_secdesc.in.sd = sd; in test_nttrans_create_null_dacl() 789 set.set_secdesc.in.sd = sd; in test_creator_sid() 826 set.set_secdesc.in.sd = sd; in test_creator_sid() 871 set.set_secdesc.in.sd = sd; in test_creator_sid() 1372 set.set_secdesc.in.sd = sd; in test_owner_bits() 1799 set.set_secdesc.in.sd = sd; in test_inheritance() 2229 set.set_secdesc.in.sd = sd; in test_inheritance_dynamic() [all …]
|
/dports/net/samba412/samba-4.12.15/source4/torture/vfs/ |
H A D | acl_xattr.c | 138 set.set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in test_default_acl_posix() 139 set.set_secdesc.in.file.handle = dhandle; in test_default_acl_posix() 140 set.set_secdesc.in.secinfo_flags = SECINFO_DACL; in test_default_acl_posix() 141 set.set_secdesc.in.sd = sd; in test_default_acl_posix() 248 set.set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in test_default_acl_win() 249 set.set_secdesc.in.file.handle = dhandle; in test_default_acl_win() 250 set.set_secdesc.in.secinfo_flags = SECINFO_DACL; in test_default_acl_win() 251 set.set_secdesc.in.sd = sd; in test_default_acl_win()
|
/dports/net/samba412/samba-4.12.15/source4/libcli/smb_composite/ |
H A D | appendacl.c | 72 state->io_setfileinfo->set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in appendacl_get() 73 …state->io_setfileinfo->set_secdesc.in.file.fnum = state->io_fileinfo->query_secdesc.in.file.fn… in appendacl_get() 75 state->io_setfileinfo->set_secdesc.in.secinfo_flags = SECINFO_DACL; in appendacl_get() 76 state->io_setfileinfo->set_secdesc.in.sd = state->io_fileinfo->query_secdesc.out.sd; in appendacl_get() 77 talloc_steal(state->io_setfileinfo, state->io_setfileinfo->set_secdesc.in.sd); in appendacl_get() 82 security_descriptor_dacl_add(state->io_setfileinfo->set_secdesc.in.sd, in appendacl_get() 119 state->io_fileinfo->query_secdesc.in.file.fnum = state->io_setfileinfo->set_secdesc.in.file.fnum; in appendacl_set()
|
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/libcli/smb_composite/ |
H A D | appendacl.c | 71 state->io_setfileinfo->set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in appendacl_get() 72 …state->io_setfileinfo->set_secdesc.in.file.fnum = state->io_fileinfo->query_secdesc.in.file.fn… in appendacl_get() 74 state->io_setfileinfo->set_secdesc.in.secinfo_flags = SECINFO_DACL; in appendacl_get() 75 state->io_setfileinfo->set_secdesc.in.sd = state->io_fileinfo->query_secdesc.out.sd; in appendacl_get() 76 talloc_steal(state->io_setfileinfo, state->io_setfileinfo->set_secdesc.in.sd); in appendacl_get() 81 security_descriptor_dacl_add(state->io_setfileinfo->set_secdesc.in.sd, in appendacl_get() 118 state->io_fileinfo->query_secdesc.in.file.fnum = state->io_setfileinfo->set_secdesc.in.file.fnum; in appendacl_set()
|
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/smb_server/smb2/ |
H A D | fileinfo.c | 305 io->set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in smb2srv_setinfo_security() 306 io->set_secdesc.in.file.ntvfs = op->info->in.file.ntvfs; in smb2srv_setinfo_security() 307 io->set_secdesc.in.secinfo_flags = op->info->in.flags; in smb2srv_setinfo_security() 309 io->set_secdesc.in.sd = talloc(io, struct security_descriptor); in smb2srv_setinfo_security() 310 NT_STATUS_HAVE_NO_MEMORY(io->set_secdesc.in.sd); in smb2srv_setinfo_security() 313 io->set_secdesc.in.sd, in smb2srv_setinfo_security()
|
/dports/net/samba412/samba-4.12.15/source4/smb_server/smb2/ |
H A D | fileinfo.c | 312 io->set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in smb2srv_setinfo_security() 313 io->set_secdesc.in.file.ntvfs = op->info->in.file.ntvfs; in smb2srv_setinfo_security() 314 io->set_secdesc.in.secinfo_flags = op->info->in.flags; in smb2srv_setinfo_security() 316 io->set_secdesc.in.sd = talloc(io, struct security_descriptor); in smb2srv_setinfo_security() 317 NT_STATUS_HAVE_NO_MEMORY(io->set_secdesc.in.sd); in smb2srv_setinfo_security() 320 io->set_secdesc.in.sd, in smb2srv_setinfo_security()
|
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/libcli/raw/ |
H A D | rawacl.c | 127 SSVAL(params, 0, io->set_secdesc.in.file.fnum); in smb_raw_set_secdesc_send() 129 SIVAL(params, 4, io->set_secdesc.in.secinfo_flags); in smb_raw_set_secdesc_send() 137 status = ndr_push_security_descriptor(ndr, NDR_SCALARS|NDR_BUFFERS, io->set_secdesc.in.sd); in smb_raw_set_secdesc_send()
|
/dports/net/samba412/samba-4.12.15/source4/libcli/raw/ |
H A D | rawacl.c | 131 SSVAL(params, 0, io->set_secdesc.in.file.fnum); in smb_raw_set_secdesc_send() 133 SIVAL(params, 4, io->set_secdesc.in.secinfo_flags); in smb_raw_set_secdesc_send() 141 ndr_err = ndr_push_security_descriptor(ndr, NDR_SCALARS|NDR_BUFFERS, io->set_secdesc.in.sd); in smb_raw_set_secdesc_send()
|
/dports/net/samba412/samba-4.12.15/source3/registry/ |
H A D | reg_backend_smbconf.c | 81 return regdb_ops.set_secdesc(key, secdesc); in smbconf_set_secdesc() 107 .set_secdesc = smbconf_set_secdesc,
|
H A D | reg_dispatcher.c | 228 if (key->ops && key->ops->set_secdesc) { in regkey_set_secdesc() 229 return key->ops->set_secdesc(key->name, psecdesc); in regkey_set_secdesc()
|
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/torture/smb2/ |
H A D | setinfo.c | 255 sfinfo.set_secdesc.in.secinfo_flags = finfo2.query_secdesc.in.secinfo_flags; in torture_smb2_setinfo() 256 sfinfo.set_secdesc.in.sd = sd; in torture_smb2_setinfo() 274 sfinfo.set_secdesc.in.secinfo_flags = finfo2.query_secdesc.in.secinfo_flags; in torture_smb2_setinfo() 275 sfinfo.set_secdesc.in.sd = sd; in torture_smb2_setinfo()
|
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/smb_server/smb/ |
H A D | nttrans.c | 262 io->set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in nttrans_set_sec_desc() 263 io->set_secdesc.in.file.ntvfs = smbsrv_pull_fnum(req, trans->in.params.data, 0); in nttrans_set_sec_desc() 264 io->set_secdesc.in.secinfo_flags = IVAL(trans->in.params.data, 4); in nttrans_set_sec_desc() 266 io->set_secdesc.in.sd = talloc(io, struct security_descriptor); in nttrans_set_sec_desc() 267 NT_STATUS_HAVE_NO_MEMORY(io->set_secdesc.in.sd); in nttrans_set_sec_desc() 270 io->set_secdesc.in.sd, in nttrans_set_sec_desc() 274 SMBSRV_CHECK_FILE_HANDLE_NTSTATUS(io->set_secdesc.in.file.ntvfs); in nttrans_set_sec_desc()
|
/dports/net/samba412/samba-4.12.15/source4/smb_server/smb/ |
H A D | nttrans.c | 269 io->set_secdesc.level = RAW_SFILEINFO_SEC_DESC; in nttrans_set_sec_desc() 270 io->set_secdesc.in.file.ntvfs = smbsrv_pull_fnum(req, trans->in.params.data, 0); in nttrans_set_sec_desc() 271 io->set_secdesc.in.secinfo_flags = IVAL(trans->in.params.data, 4); in nttrans_set_sec_desc() 273 io->set_secdesc.in.sd = talloc(io, struct security_descriptor); in nttrans_set_sec_desc() 274 NT_STATUS_HAVE_NO_MEMORY(io->set_secdesc.in.sd); in nttrans_set_sec_desc() 277 io->set_secdesc.in.sd, in nttrans_set_sec_desc() 283 SMBSRV_CHECK_FILE_HANDLE_NTSTATUS(io->set_secdesc.in.file.ntvfs); in nttrans_set_sec_desc()
|
/dports/net/samba412/samba-4.12.15/source3/include/ |
H A D | registry.h | 55 WERROR (*set_secdesc)(const char *key, member
|
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/libcli/smb2/ |
H A D | setinfo.c | 101 b.in.flags = io->set_secdesc.in.secinfo_flags; in smb2_setinfo_file_send()
|
/dports/net/samba412/samba-4.12.15/source4/libcli/smb2/ |
H A D | setinfo.c | 108 b.in.flags = io->set_secdesc.in.secinfo_flags; in smb2_setinfo_file_send()
|
/dports/net/samba412/samba-4.12.15/source3/utils/ |
H A D | smbcacls.c | 304 static bool set_secdesc(struct cli_state *cli, const char *filename, in set_secdesc() function 443 if (!set_secdesc(cli, filename, sd)) { in owner_set() 633 if (!set_secdesc(cli, filename, sd)) { in cacl_set() 752 if (!set_secdesc(cli, filename, sd)) { in inherit()
|
/dports/net/samba412/samba-4.12.15/source4/lib/policy/ |
H A D | gp_filesys.c | 670 fileinfo.set_secdesc.in.file.fnum = io.ntcreatex.out.file.fnum; in gp_set_gpt_security_descriptor() 671 fileinfo.set_secdesc.in.secinfo_flags = SECINFO_PROTECTED_DACL | in gp_set_gpt_security_descriptor() 675 fileinfo.set_secdesc.in.sd = sd; in gp_set_gpt_security_descriptor()
|
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/ntvfs/posix/ |
H A D | pvfs_setfileinfo.c | 56 if (info->set_secdesc.in.secinfo_flags & (SECINFO_OWNER|SECINFO_GROUP)) { in pvfs_setfileinfo_access() 59 if (info->set_secdesc.in.secinfo_flags & SECINFO_DACL) { in pvfs_setfileinfo_access() 62 if (info->set_secdesc.in.secinfo_flags & SECINFO_SACL) { in pvfs_setfileinfo_access()
|