From cdd7a5208fbcb65e4a75ee08f8f015530f418c15 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 27 Jul 2009 22:39:10 +1000 Subject: s4:kerberos Add test to show that we actually export the keytab While it is hard to prove it is correct, at least the new 'nettestuser' principal and the Administrator principal are correct. We had to fix the case of 'Administrator' in the selftest code to match the DB, as the keytab lookup is case sensitive. Andrew Bartlett --- testprogs/blackbox/test_export_keytab.sh | 67 ++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100755 testprogs/blackbox/test_export_keytab.sh (limited to 'testprogs') diff --git a/testprogs/blackbox/test_export_keytab.sh b/testprogs/blackbox/test_export_keytab.sh new file mode 100755 index 0000000000..80235d3255 --- /dev/null +++ b/testprogs/blackbox/test_export_keytab.sh @@ -0,0 +1,67 @@ +#!/bin/sh +# Blackbox tests for kinit and kerberos integration with smbclient etc +# Copyright (C) 2006-2007 Jelmer Vernooij +# Copyright (C) 2006-2008 Andrew Bartlett + +if [ $# -lt 5 ]; then +cat <