blackbox:test_kinit - Remove the "-H" (hive) parameter

Andrew Bartlett abartlet at samba.org
Sun Sep 20 16:29:10 MDT 2009


On Sun, 2009-09-20 at 17:04 -0500, Matthias Dieter Wallnöfer wrote:

> commit d4389a230b6aea5a0b2a98e255b14a59c8248b0b
> Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
> Date:   Sun Sep 20 23:07:22 2009 +0200
> 
>     blackbox:test_kinit - Remove the "-H" (hive) parameter
>     
>     The "enableaccount" script works only on local LDB anymore - therefore remove
>     this parameter.

> diff --git a/testprogs/blackbox/test_kinit.sh b/testprogs/blackbox/test_kinit.sh
> index 91f21f4..0a15802 100755
> --- a/testprogs/blackbox/test_kinit.sh
> +++ b/testprogs/blackbox/test_kinit.sh
> @@ -69,7 +69,7 @@ echo $USERPASS > ./tmpuserpassfile
>  
>  testit "set user password with kerberos ccache" $VALGRIND $net password set $DOMAIN\\nettestuser $USERPASS $CONFIGURATION  -k yes $@ || failed=`expr $failed + 1`
>  
> -testit "enable user with kerberos cache" $VALGRIND $enableaccount nettestuser -H ldap://$SERVER -k yes $@ || failed=`expr $failed + 1`
> +testit "enable user with kerberos cache" $VALGRIND $enableaccount nettestuser -k yes $@ || failed=`expr $failed + 1`
>  
>  KRB5CCNAME="$PREFIX/tmpuserccache"
>  export KRB5CCNAME

The reason this used -H in the past is to allow it, in principal, to run
against a remote server.  This means that we can then verify that it is
in fact a valid test.  

Can you please put the -H options back?  They were there on purpose.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090920/74d5dc44/attachment.pgp>


More information about the samba-technical mailing list