summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/test_chgdcpass.sh
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2015-02-23 16:22:29 +1300
committerAndrew Bartlett <abartlet@samba.org>2015-02-25 01:08:12 +0100
commitfb250d1328033888a33037a2d0ca9d36614cf6bc (patch)
tree66c5799975b76600479719acb65cc15d8e79b2b5 /testprogs/blackbox/test_chgdcpass.sh
parente189e9ed4b0d3396aecad16c805a941714acdb6d (diff)
downloadsamba-fb250d1328033888a33037a2d0ca9d36614cf6bc.tar.gz
testprogs-test_chgdcpass.sh: Improve comments to explain why we check about changing the password twice
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'testprogs/blackbox/test_chgdcpass.sh')
-rwxr-xr-xtestprogs/blackbox/test_chgdcpass.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/testprogs/blackbox/test_chgdcpass.sh b/testprogs/blackbox/test_chgdcpass.sh
index 35161251716..ca7987e45e0 100755
--- a/testprogs/blackbox/test_chgdcpass.sh
+++ b/testprogs/blackbox/test_chgdcpass.sh
@@ -96,7 +96,8 @@ test_drs options "Test drs options with new password" || failed=`expr $failed +
testit "change dc password (2nd time)" $samba4srcdir/scripting/devel/chgtdcpass -s $PROVDIR/etc/smb.conf || failed=`expr $failed + 1`
-#This is important because it shows that the old ticket remains valid (as it must) for incoming connections after the DC pass
+# This is important because it shows that the old ticket is discarded if the server rejects it (as it must) after the password was changed twice in succession.
+# This also ensures we handle the case where the domain is re-provisioned etc
test_smbclient "Test login with kerberos ccache after 2nd password change" 'ls' -k yes || failed=`expr $failed + 1`
#check that drs bind works after we change the password a 2nd time