mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
testprogs: Manually reformat test_pkinit_pac.sh
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
970f110086
commit
06da77a365
@ -43,8 +43,12 @@ rm -f $KRB5CCNAME_PATH
|
||||
USER_PRINCIPAL_NAME=$(echo "${USERNAME}@${REALM}" | tr A-Z a-z)
|
||||
PKUSER="--pk-user=FILE:$PREFIX/pkinit/USER-${USER_PRINCIPAL_NAME}-cert.pem,$PREFIX/pkinit/USER-${USER_PRINCIPAL_NAME}-private-key.pem"
|
||||
|
||||
testit "STEP1 kinit with pkinit (name specified) " $samba4kinit $enctype --request-pac --renewable --cache=$KRB5CCNAME $PKUSER $USERNAME@$REALM || failed=$((failed + 1))
|
||||
testit "STEP1 remote.pac verification" $smbtorture4 ncacn_np:$SERVER rpc.pac --workgroup=$DOMAIN -U$USERNAME%$PASSWORD --option=torture:pkinit_ccache=$KRB5CCNAME || failed=$((failed + 1))
|
||||
testit "STEP1 kinit with pkinit (name specified) " \
|
||||
$samba4kinit $enctype --request-pac --renewable --cache=$KRB5CCNAME $PKUSER $USERNAME@$REALM ||
|
||||
failed=$((failed + 1))
|
||||
testit "STEP1 remote.pac verification" \
|
||||
$smbtorture4 ncacn_np:$SERVER rpc.pac --workgroup=$DOMAIN -U$USERNAME%$PASSWORD --option=torture:pkinit_ccache=$KRB5CCNAME ||
|
||||
failed=$((failed + 1))
|
||||
|
||||
rm -f $KRB5CCNAME_PATH
|
||||
exit $failed
|
||||
|
Loading…
x
Reference in New Issue
Block a user