code: func (c *Conn) GetAttributes(attr, value string, attrs []string) (*ldap.Entry, error) {
  	return c.SearchOne(fmt.Sprintf("(%s=%s)", attr, value), attrs)
  }
docs: //GetAttributes returns the *ldap.Entry with the given attributes for the object with the given attribute value or an error if one occurred.