<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def server_by_name(name, profile=None, **kwargs):
    '''
    Return information about a server

    name
        Server Name

    CLI Example:

    .. code-block:: bash

        salt '*' nova.server_by_name myserver profile=openstack
    '''
    conn = _auth(profile, **kwargs)
    return conn.server_by_name(name)