diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2023-05-04 14:41:00 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2023-05-18 01:03:37 +0000 |
commit | 53b62429f894cc6d8689d38acc59e8d6ca4ddff9 (patch) | |
tree | 087fd301a66713021029046675d2ddab64d10e48 | |
parent | c1ab6036bb091dea69e8fce189c9badf10bdd753 (diff) | |
download | samba-53b62429f894cc6d8689d38acc59e8d6ca4ddff9.tar.gz |
tests/krb5: Allow server and workstation accounts to perform a SamLogon
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | python/samba/tests/krb5/kdc_base_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/samba/tests/krb5/kdc_base_test.py b/python/samba/tests/krb5/kdc_base_test.py index cd4d35daff8..8c258fe711c 100644 --- a/python/samba/tests/krb5/kdc_base_test.py +++ b/python/samba/tests/krb5/kdc_base_test.py @@ -3376,6 +3376,9 @@ class KDCBaseTest(RawKerberosTest): identity_info = netlogon.netr_IdentityInfo() identity_info.domain_name.string = domain identity_info.account_name.string = username + identity_info.parameter_control = ( + netlogon.MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT) | ( + netlogon.MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT) identity_info.workstation.string = workstation logon.identity_info = identity_info |