From 0496af8341b08ad2b8ceb42892ddde06af279c52 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 4 Jul 2010 16:39:17 +0400 Subject: s4: Unit test update_machine_account_password through kinit This patch is for testing the chgdcpass script which is mostly a call to update_machine_account_password. Signed-off-by: Andrew Bartlett --- testprogs/blackbox/test_chgdcpass.sh | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 testprogs/blackbox/test_chgdcpass.sh (limited to 'testprogs/blackbox') diff --git a/testprogs/blackbox/test_chgdcpass.sh b/testprogs/blackbox/test_chgdcpass.sh new file mode 100755 index 0000000000..f65296adfb --- /dev/null +++ b/testprogs/blackbox/test_chgdcpass.sh @@ -0,0 +1,39 @@ +#!/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 4 ]; then +cat <