Updated
Showing
2 changed files
with
22 additions
and
1 deletions
1 | 2003-01-21 Sergey Poznyakoff | ||
2 | |||
3 | Implemented LOGINDISABLED. | ||
4 | |||
5 | * imap4d/capability.c (imap4d_capability_add) | ||
6 | (imap4d_capability_remove, imap4d_capability_init): New | ||
7 | functions. | ||
8 | * imap4d/imap4d.h: Likewise. | ||
9 | * imap4d/imap4d.c (login_disabled): New global. | ||
10 | (argp_option options): Added --login-disabled option. | ||
11 | (imap4d_parse_opt): Handle --login-disabled option. | ||
12 | (main): Call imap4d_capability_init(). | ||
13 | Register "STARTTLS" capability if tls is OK. | ||
14 | * imap4d/starttls.c: When TLS negotiation succeedes, remove | ||
15 | "STARTTLS" capability and reset login_disabled. | ||
16 | |||
17 | * imap4d/login.c: Fail if login_disabled is set. | ||
18 | * imap4d/util.c (util_msgset): Edited comment. | ||
19 | (util_start,util_getstate): Removed. | ||
20 | |||
1 | 2003-01-20 Sergey Poznyakoff | 21 | 2003-01-20 Sergey Poznyakoff |
2 | 22 | ||
3 | * configure.ac: Invoke AM_GNU_GETTEXT with no-libtool, | 23 | * configure.ac: Invoke AM_GNU_GETTEXT with no-libtool, | ... | ... |
... | @@ -153,9 +153,10 @@ extern struct mu_auth_data *auth_data; | ... | @@ -153,9 +153,10 @@ extern struct mu_auth_data *auth_data; |
153 | #ifdef WITH_TLS | 153 | #ifdef WITH_TLS |
154 | extern int tls_available; | 154 | extern int tls_available; |
155 | extern int tls_done; | 155 | extern int tls_done; |
156 | extern int login_disabled; | ||
157 | #endif /* WITH_TLS */ | 156 | #endif /* WITH_TLS */ |
158 | 157 | ||
158 | extern int login_disabled; | ||
159 | |||
159 | #ifndef HAVE_STRTOK_R | 160 | #ifndef HAVE_STRTOK_R |
160 | extern char *strtok_r __P((char *s, const char *delim, char **save_ptr)); | 161 | extern char *strtok_r __P((char *s, const char *delim, char **save_ptr)); |
161 | #endif | 162 | #endif | ... | ... |
-
Please register or sign in to post a comment