#!/bin/sh
username=$1
if [ X"$username" = X ]; then
    # no username given
    exit 1
fi
# DN must match the signing policy for your CA.
echo "/O=Grid/OU=MyProxy CA/CN=${username}"
exit 0
