summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-07-27 22:39:10 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-07-27 22:41:43 +1000
commitcdd7a5208fbcb65e4a75ee08f8f015530f418c15 (patch)
treedbb0f62bc7eaf986486de8170d3eec2a07089cdd /source4/selftest
parenta40ce5d0d9d06f592a8885162bbaf644006b9f0f (diff)
downloadsamba-cdd7a5208fbcb65e4a75ee08f8f015530f418c15.tar.gz
samba-cdd7a5208fbcb65e4a75ee08f8f015530f418c15.tar.bz2
samba-cdd7a5208fbcb65e4a75ee08f8f015530f418c15.zip
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
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/selftest/tests.sh b/source4/selftest/tests.sh
index f4da198645..1b575a978b 100755
--- a/source4/selftest/tests.sh
+++ b/source4/selftest/tests.sh
@@ -329,6 +329,7 @@ plantest "blackbox.ndrdump" none $samba4srcdir/librpc/tests/test_ndrdump.sh
plantest "blackbox.net" dc $samba4srcdir/utils/tests/test_net.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN"
plantest "blackbox.kinit" dc $bbdir/test_kinit.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$REALM" "\$DOMAIN" "$PREFIX" $CONFIGURATION
plantest "blackbox.passwords" dc $bbdir/test_passwords.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$REALM" "\$DOMAIN" "$PREFIX" --configfile=st/dc/etc/smb.conf
+plantest "blackbox.export.keytab" dc $bbdir/test_export_keytab.sh "\$SERVER" "\$USERNAME" "\$REALM" "\$DOMAIN" "$PREFIX" --configfile=st/dc/etc/smb.conf
plantest "blackbox.cifsdd" dc $samba4srcdir/client/tests/test_cifsdd.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN"
plantest "blackbox.nmblookup" dc $samba4srcdir/utils/tests/test_nmblookup.sh "\$NETBIOSNAME" "\$NETBIOSALIAS" "\$SERVER" "\$SERVER_IP"
plantest "blackbox.nmblookup" member $samba4srcdir/utils/tests/test_nmblookup.sh "\$NETBIOSNAME" "\$NETBIOSALIAS" "\$SERVER" "\$SERVER_IP"