function check_users_conf_format () {

if [ -s "${USERS_CONF}" ]; then
    no_of_fields=`awk -F: 'NR==1{print NF}' ${USERS_CONF}`
    if [ $no_of_fields -le 4 ]; then
        echo "File ${USERS_CONF} is in the old format"
        echo "Please update to the following"
        echo "uid:login:gid:group:VO:sgm_flag"
        exit 1
    fi
fi

}
