Joseph Sutton
0bd4bc40f4
samba-tool: Check specified domain and realm against our own
...
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org >
Autobuild-Date(master): Mon Mar 28 03:11:51 UTC 2022 on sn-devel-184
2022-03-28 03:11:51 +00:00
Joseph Sutton
52f9629408
samba-tool delegation: Clarify msDS-AllowedToDelegateTo delegation command documentation
...
This makes the difference between msDS-AllowedToDelegateTo and
msDS-AllowedToActOnBehalfOfOtherIdentity more clear.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14954
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2022-03-28 02:17:37 +00:00
Joseph Sutton
9a480f274b
samba-tool delegation: Add commands to add/remove principals for RBCD
...
These commands allow updating the
msDS-AllowedToActOnBehalfOfOtherIdentity attribute with principals
allowed to delegate to an account.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14954
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2022-03-28 02:17:37 +00:00
Joseph Sutton
572f90bdef
samba-tool delegation show: Display information for RBCD
...
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14954
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2022-03-28 02:17:37 +00:00
Joseph Sutton
e4ea06ec24
samba-tool delegation: Add function to display security descriptor for RBCD
...
We also check some features of the security descriptor, and display
warnings if they are not as expected.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14954
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2022-03-28 02:17:37 +00:00
Joe Guo
e940e4cd48
PEP8: fix E711: comparison to None should be 'if cond is not None:'
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
2018-08-24 07:49:30 +02:00
Joe Guo
fd6b2086cb
PEP8: fix E303: too many blank lines (2)
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
2018-08-24 07:49:30 +02:00
Joe Guo
fb5ea356dd
PEP8: fix E222: multiple spaces after operator
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
2018-08-24 07:49:27 +02:00
Joe Guo
5d532543ab
PEP8: fix E128: continuation line under-indented for visual indent
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
2018-08-24 07:49:27 +02:00
Joe Guo
484ce0634b
PEP8: fix E123: closing bracket does not match indentation of opening bracket's line
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
2018-08-24 07:49:26 +02:00
Douglas Bagnall
a485ac3243
samba-tool: convert 'except X, e' to 'except X as e' for all X
...
This is needed for Python 3 and is compatible with python 2.6
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-02-15 00:18:30 +01:00
Nadezhda Ivanova
5805b7abc8
s4-openldap: Added an -H option to delegation script
...
Also calling delegation locally without credentials, as this is not really
necessary and causes selftest errors against the openldap backend.
Signed-off-by: Nadezhda Ivanova <nivanova@symas.com >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2013-09-23 18:40:25 -07:00
Jelmer Vernooij
87afc3aee1
Move python modules from source4/scripting/python/ to python/.
...
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org >
Autobuild-Date(master): Sat Mar 2 03:57:34 CET 2013 on sn-devel-104
2013-03-02 03:57:34 +01:00