Defective IL-17- and IL-22-dependent mucosal host response to Candida albicans determines susceptibility to oral candidiasis in mice expressing the HIV-1 transgene. Here, IL17A is linked to oral candidiasis.