if (!given_principal ||
strequal(given_principal, ADS_IGNORE_PRINCIPAL)) {
- status = ads_guess_service_principal(ads, given_principal,
- &p->string);
+ status = ads_guess_service_principal(ads, &p->string);
if (!ADS_ERR_OK(status)) {
return status;
}
return status;
}
-#endif /* HAVE_GGSAPI */
+#endif /* HAVE_GSSAPI */
/* mapping between SASL mechanisms and functions */
static struct {
}
ADS_STATUS ads_guess_service_principal(ADS_STRUCT *ads,
- const char *given_principal,
char **returned_principal)
{
char *princ = NULL;