1
0
mirror of https://github.com/altlinux/admc.git synced 2025-03-25 10:50:13 +03:00

2537 Commits

Author SHA1 Message Date
Dmitry Degtyarev
1dcb86d0bd translate 2021-08-20 16:28:57 +04:00
Dmitry Degtyarev
e22f521f81
Merge pull request #284 from altlinux/feature/protect-against-deletion
Feature/protect against deletion
2021-08-20 15:30:07 +03:00
Dmitry Degtyarev
8eebccae22 enable delete protection for new ou's by default
in create dialog for OU's, can still turn off if needed
2021-08-20 16:25:02 +04:00
Dmitry Degtyarev
e4e2c479a7 add protection edit to ou create dialog 2021-08-20 16:18:31 +04:00
Dmitry Degtyarev
e10f6619b8 test protect deletion edit 2021-08-20 16:16:28 +04:00
Dmitry Degtyarev
7dd0112f09 add protect deletion edit 2021-08-20 15:59:02 +04:00
Dmitry Degtyarev
f773ee8e4c translation 2021-08-20 13:42:25 +04:00
Dmitry Degtyarev
e0c05047b4 initialize smb context only once
can only have one context at a time, which means we did bad things when
\ running multiple adinterface instances at the same time
fixed policy results test widget, that test was creating multiple
\ AdInterface's and then using libsmbclient
2021-08-20 13:28:05 +04:00
Dmitry Degtyarev
c401510e4d changelog 2021-08-19 16:33:18 +04:00
Dmitry Degtyarev
8d75716853
Merge pull request #282 from altlinux/feature/toolbar
Feature/toolbar
2021-08-19 15:25:40 +03:00
Dmitry Degtyarev
171537abcc add manual action to toolbar 2021-08-19 16:22:49 +04:00
Dmitry Degtyarev
199d9d5889 add refresh action to toolbar
fix old refresh action, to actually do what it's supposed to
2021-08-19 16:17:54 +04:00
Dmitry Degtyarev
e2ee685a6b add toolbar toggle 2021-08-19 15:45:02 +04:00
Dmitry Degtyarev
de714f23a1 add toolbar with navigation actions 2021-08-19 15:42:33 +04:00
Dmitry Degtyarev
f4441c21dd consolidate add_actions() f-ns 2021-08-19 15:38:37 +04:00
Dmitry Degtyarev
51d8930af7 fix default name edit state in policy creation
enter default value and select it
2021-08-19 14:53:26 +04:00
Dmitry Degtyarev
301dcdf404 enable security tab for all eligible classes 2021-08-19 14:25:51 +04:00
Dmitry Degtyarev
952440b850 improve gpt related errors
remove qdebugs() because they are redundant
2021-08-19 13:59:56 +04:00
Dmitry Degtyarev
6c00ff9211 test check_gpo_perms() 2021-08-19 13:58:26 +04:00
Dmitry Degtyarev
30f1e358f8 improve errors from check_gpo_perms()
also don't open perms mismatch dialog if failed to check perms
2021-08-19 13:17:50 +04:00
Dmitry Degtyarev
61a8185a78 test for correct perms after gpo creation
delete gpo in cleanup()
2021-08-19 12:21:04 +04:00
Dmitry Degtyarev
7409e6567f add "refresh" action to policy root
closes #279
2021-08-19 12:02:55 +04:00
Dmitry Degtyarev
2750f33d8b fix getaxttr() return handling 2021-08-19 12:01:45 +04:00
Dmitry Degtyarev
3d7a2105fc cleanup after errors in create_gpo() 2021-08-19 11:51:54 +04:00
Dmitry Degtyarev
4f4235f01b improve how gpo attributes are set 2021-08-19 11:33:27 +04:00
Dmitry Degtyarev
7b81477096 handle smbc_open() error 2021-08-19 11:30:03 +04:00
Dmitry Degtyarev
66a0c982aa fix error code inconsistencies
rename smbc_write return value becase it's not just a result code!
check all other smbc f-n returns agains 0
2021-08-19 11:26:30 +04:00
Dmitry Degtyarev
651202ae28 get rid of AdObject ptrs, use refs
move some f-ns into adobject to be able to do that
2021-08-19 11:21:26 +04:00
Dmitry Degtyarev
1db9bfff5b
Merge pull request #280 from altlinux/feature/sync-gpo-perms
Feature/sync gpo perms
2021-08-18 17:00:20 +03:00
Dmitry Degtyarev
63af5cc3b1 implement gpt permission sync
add gpo_get_gpt_contents()
2021-08-18 17:10:30 +04:00
Dmitry Degtyarev
1d253ee33e detect gpo perms mismatch
warn user about it in a message box
add get_gpt_sd_string()
add sort_sd_dacl()
2021-08-18 14:31:14 +04:00
Dmitry Degtyarev
6121a10dbd
Merge pull request #277 from altlinux/bugfix/delete-gpt
delete gpt correctly
2021-08-17 17:08:42 +03:00
Dmitry Degtyarev
c22b7ae4c2 delete gpt correctly 2021-08-17 18:05:46 +04:00
Dmitry Degtyarev
b236c56b3c
Merge pull request #275 from altlinux/features/sync-gpo-permissions
Features/sync gpo permissions
2021-08-17 16:41:59 +03:00
Dmitry Degtyarev
4cad903ce0 fix gpt permissions
set permissions on the whole gpt, not just the root folder
remove duplicate ace's
add a band-aid for setxattr() bug
use qlist when forming sysvol sd to simplify the process
2021-08-17 16:51:58 +04:00
Dmitry Degtyarev
e54aa105e6 use non-zero mode when making files/folders 2021-08-17 16:44:13 +04:00
Dmitry Degtyarev
6ae9f88909 close ini file after writing 2021-08-17 16:42:46 +04:00
Dmitry Degtyarev
760f48ab8d use filesys path to generate main dir path 2021-08-17 16:42:07 +04:00
Dmitry Degtyarev
ff2f32691a set non-null group sid
closes #265
2021-08-17 16:04:27 +04:00
Dmitry Degtyarev
b78ee2e491 use specific dc for smb path
not specifying a dc leads to a random dc being selected which is bad
\ due to slow replication
2021-08-17 16:01:23 +04:00
Dmitry Degtyarev
6a24956319 unlink policies after deletion
move gplink.cpp to adldap
add test for this
closes #273
2021-08-16 16:54:25 +04:00
Dmitry Degtyarev
963f742149 show invalid gpo's in the group policy tab
and indicate that they are invalid
closes #274
2021-08-16 16:51:15 +04:00
Dmitry Degtyarev
3bb775de85 make ad error log read only 2021-08-13 17:57:24 +04:00
Dmitry Degtyarev
7a8de29a5a improve how help pages are selected 2021-08-13 17:14:24 +04:00
Dmitry Degtyarev
fdb9fa1b3d Merge branch 'master' into features/sync-gpo-permissions 2021-08-13 15:47:44 +04:00
Dmitry Degtyarev
7bdf381945 fix infinite loop in Gplink::equals()
add test for it
2021-08-13 15:25:56 +04:00
Dmitry Degtyarev
94f804f9c0
Merge pull request #272 from altlinux/bugfix/gplink-case
Bugfix/gplink case
2021-08-13 14:01:16 +03:00
Dmitry Degtyarev
cb8a11c282 update gplink tests 2021-08-13 14:54:20 +04:00
Dmitry Degtyarev
d154021b37 fix case problems in gplink
use lowercase internally and convert to correct case in to_string()
2021-08-13 14:33:15 +04:00
Dmitry Degtyarev
6d996f3eb0 skip empty ace's when making sysvol permissions 2021-08-10 17:07:29 +04:00