summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4be6076)
in order to distinguish it from the validpw() function in user_ops.c
- * 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;
{
#ifdef HAVE_PAM_START
struct pam_conv pc;
-int validpw(uid_t uid, const char *pass);
+int validate_password(uid_t uid, const char *pass);
+ if (validate_password(uid, buf))
if (!CC->redirect_ssl) cprintf(" STARTTLS");
#endif
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"); */