Commit 68b0e793 68b0e793683986f7425e776f892e5f84ad96264c by Sergey Poznyakoff

Updated

1 parent ed7d46fd
2003-01-21 Sergey Poznyakoff
Implemented LOGINDISABLED.
* imap4d/capability.c (imap4d_capability_add)
(imap4d_capability_remove, imap4d_capability_init): New
functions.
* imap4d/imap4d.h: Likewise.
* imap4d/imap4d.c (login_disabled): New global.
(argp_option options): Added --login-disabled option.
(imap4d_parse_opt): Handle --login-disabled option.
(main): Call imap4d_capability_init().
Register "STARTTLS" capability if tls is OK.
* imap4d/starttls.c: When TLS negotiation succeedes, remove
"STARTTLS" capability and reset login_disabled.
* imap4d/login.c: Fail if login_disabled is set.
* imap4d/util.c (util_msgset): Edited comment.
(util_start,util_getstate): Removed.
2003-01-20 Sergey Poznyakoff
* configure.ac: Invoke AM_GNU_GETTEXT with no-libtool,
......
......@@ -153,9 +153,10 @@ extern struct mu_auth_data *auth_data;
#ifdef WITH_TLS
extern int tls_available;
extern int tls_done;
extern int login_disabled;
#endif /* WITH_TLS */
extern int login_disabled;
#ifndef HAVE_STRTOK_R
extern char *strtok_r __P((char *s, const char *delim, char **save_ptr));
#endif
......