Fix and test python scripts and kerberos
authorAndrew Bartlett <abartlet@samba.org>
Fri, 28 Mar 2008 10:57:15 +0000 (21:57 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 28 Mar 2008 10:57:15 +0000 (21:57 +1100)
commit142fbfb3c1f9f8cda7f0edaa801f8345f23d805f
tree8471bcd9a25ee25f7323fe4af7b8fb70ac31b211
parent8f8c56bfbcbfe8f80afb09eb1d481a108b252bee
Fix and test python scripts and kerberos

This fixes up the python credentials interface in a number of areas,
with the aim of supporting '-k yes' as a command line option.  (This
enables the use of kerberos).

As such, I've had to change the get_credentials call to take a
loadparm context, so that the credentials can be initialised
correctly.

The test_kinit script has been modified to prove that this continues
to work, as well as to provide greater code coverage of the kerberos
paths.

Andrew Bartlett
(This used to be commit 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
12 files changed:
source4/auth/credentials/credentials.i
source4/auth/credentials/credentials.py
source4/auth/credentials/credentials_wrap.c
source4/auth/credentials/tests/bindings.py
source4/lib/ldb/tests/python/ldap.py
source4/scripting/python/samba/getopt.py
source4/scripting/python/samba/tests/samdb.py
source4/selftest/samba4_tests.sh
source4/setup/enableaccount
source4/setup/provision
source4/setup/upgrade.py
testprogs/blackbox/test_kinit.sh