k5srvutil.sh revision 56a424cca6b3f91f31bdab72a4626c48c779fe8b
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
#
#
#pragma ident "%Z%%M% %I% %E% SMI"
export TEXTDOMAIN
# list_princs keytab
# returns a list of principals in the keytab
# sorted and uniquified
}
if [ x$command != x ] ; then
exit 1
fi
command=$1
}
#interactive_prompt prompt princ
# If in interactive mode return true if the principal should be acted on
# otherwise return true all the time
#
# SUNW14resync: If in interactive mode the default is now to return false
# i.e. if in interactive mode unless the user types "Yes" or
# "yes" false will be returned.
#
if [ $interactive = 0 ] ; then
return 0
fi
read ans
return 0
;;
esac
return 1
}
echo $@ 2>&1
}
echo $USAGE
}
fi
done
}
fi
done
}
fi
done
}
while [ $# -gt 0 ] ; do
opt=$1
shift
"-f")
keytab=$1
shift
;;
"-i")
;;
;;
*)
exit 1
;;
esac
done
;;
;;
;;
;;
*)
;;
esac