diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2017-06-15 15:55:43 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-06-22 08:56:22 +0200 |
commit | b68a3374a56c7117aa1d9fedf56940b6a1ed1cae (patch) | |
tree | 6bf3b3098190c45300061b74f264277763c8f0e1 /source4/selftest/tests.py | |
parent | 7539595c4807a0396feb90b2dedb1001162dda74 (diff) | |
download | samba-b68a3374a56c7117aa1d9fedf56940b6a1ed1cae.tar.gz |
pycredentials: add function to return the netr_Authenticator
Add method new_client_authenticator that returns data to allow a
netr_Authenticator to be constructed.
Allows python to make netr_LogonSamLogonWithFlags,
netr_LogonGetDomainInfo and similar calls
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/selftest/tests.py')
-rwxr-xr-x | source4/selftest/tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index b70faafa5e5..049009fe125 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -659,6 +659,9 @@ planoldpythontestsuite("ad_dc", extra_args=['-U"$USERNAME%$PASSWORD"']) planpythontestsuite("ad_dc_ntvfs:local", "samba.tests.lsa_string") +planoldpythontestsuite("ad_dc_ntvfs", + "samba.tests.py_credentials", + extra_args=['-U"$USERNAME%$PASSWORD"']) plantestsuite_loadlist("samba4.ldap.python(ad_dc_ntvfs)", "ad_dc_ntvfs", [python, os.path.join(samba4srcdir, "dsdb/tests/python/ldap.py"), '$SERVER', '-U"$USERNAME%$PASSWORD"', '--workgroup=$DOMAIN', '$LOADLIST', '$LISTOPT']) plantestsuite_loadlist("samba4.tokengroups.krb5.python(ad_dc_ntvfs)", "ad_dc_ntvfs:local", [python, os.path.join(samba4srcdir, "dsdb/tests/python/token_group.py"), '$SERVER', '-U"$USERNAME%$PASSWORD"', '--workgroup=$DOMAIN', '-k', 'yes', '$LOADLIST', '$LISTOPT']) |