s4:credentials Add hooks to extract a named Kerberos credentials cache
authorAndrew Bartlett <abartlet@samba.org>
Sat, 20 Feb 2010 00:44:41 +0000 (11:44 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 20 Feb 2010 06:58:07 +0000 (17:58 +1100)
commita9d9447d5a448e13d4373c3c4b48f0edd49dc38a
tree3b7b54d9bae10efa5481672b081660e3f7c0ef0a
parentda1970c0ff4cd3556102e9357b2e0cf65728c8d6
s4:credentials Add hooks to extract a named Kerberos credentials cache

This allows the integration of external tools that can't be linked
into C or python, but need to authenticate as the local machine
account.

The machineaccountccache script demonstrates this, and debugging has
been improved in cli_credentials_set_secrets() by passing back and
error string.

Andrew Bartlett
source4/auth/credentials/credentials.h
source4/auth/credentials/credentials_files.c
source4/auth/credentials/credentials_krb5.c
source4/auth/credentials/pycredentials.c
source4/auth/credentials/pycredentials.h
source4/dsdb/samdb/ldb_modules/update_keytab.c
source4/dsdb/samdb/samdb.c
source4/scripting/bin/machineaccountccache [new file with mode: 0755]
testprogs/blackbox/test_kinit.sh