/*
- * validpw(): check that `pass' is the correct password for `uid'
- * returns zero if no, nonzero if yes
+ * check that `pass' is the correct password for `uid'
+ * returns zero if no, nonzero if yes
*/
-int validpw(uid_t uid, const char *pass)
+int validate_password(uid_t uid, const char *pass)
{
#ifdef HAVE_PAM_START
struct pam_conv pc;
/* $Id$ */
-int validpw(uid_t uid, const char *pass);
+int validate_password(uid_t uid, const char *pass);
strtok(buf, "\n");
- if (validpw(uid, buf))
+ if (validate_password(uid, buf))
return 0;
return 1;
if (!CC->redirect_ssl) cprintf(" STARTTLS");
#endif
- /* Comment this out if its unfinished state is choking your client */
- cprintf(" METADATA LIST-EXTENDED");
+ /* We are building a partial implementation of METADATA for the sole purpose
+ * of interoperating with the ical/vcard version of the Bynari Insight Connector.
+ * If you were expecting something else, comment out one or both of these
+ * extension advertisements.
+ */
+ cprintf(" METADATA");
+ /* cprintf(" LIST-EXTENDED"); */
}
/*