1 |
|
2002-08-13 Sergey Poznyakoff |
2 |
|
|
3 |
|
Moved authentication specific calls scattered all over the |
4 |
|
code to one place: libmuauth library. The new code returns |
5 |
|
authorization credentials in struct mu_auth_data. It contains |
6 |
|
all information from struct passwd as well as some |
7 |
|
mailutils-specific information. New options `--authentication' |
8 |
|
and `--authorization' provide a way to override default |
9 |
|
settings. |
10 |
|
|
11 |
|
* configure.ac: Check for prototypes of strtok_r, strchrnul, |
12 |
|
strndup, asprintf, vasprintf. Create auth/Makefile |
13 |
|
* Makefile.am: Added auth to SUBDIRS. |
14 |
|
* MySql/Makefile.am: Added INCLUDES |
15 |
|
* MySql/MySql.c: Include <mailutils/error.h> |
16 |
|
|
17 |
|
* comsat/comsat.c: Switched to the new |
18 |
|
authentication/authorization functions. |
19 |
|
* guimb/scm/sieve-core.scm: Likewise. |
20 |
|
* imap4d/authenticate.c: Likewise. |
21 |
|
* imap4d/bye.c: Likewise. |
22 |
|
* imap4d/imap4d.c: Likewise. |
23 |
|
* imap4d/login.c: Likewise. |
24 |
|
* imap4d/namespace.c: Likewise. |
25 |
|
* imap4d/rename.c: Likewise. |
26 |
|
* pop3d/pop3d.c: Likewise. |
27 |
|
* pop3d/user.c: Likewise. |
28 |
|
* libmu_scm/mu_util.c: Likewise. |
29 |
|
* mail.local/main.c: Likewise. |
30 |
|
* mail.local/script.c: Likewise. |
31 |
|
* mailbox/mbx_default.c: Likewise. |
32 |
|
* mailbox/message.c: Likewise. |
33 |
|
* mailbox/wicket.c: Likewise. |
34 |
|
|
35 |
|
* mailbox/mu_argp.c: Removed pam- and sql-specific stuff |
36 |
|
* mailbox/mu_auth.c: New file. Basic authentication/authorization |
37 |
|
functions. |
38 |
|
* mailbox/Makefile.am: Added mu_auth.c |
39 |
|
|
40 |
|
* auth/: New directory. The libmuauth library. |
41 |
|
* auth/system.c: New file. System-specific |
42 |
|
(passwd/shadow) auth functions. |
43 |
|
* auth/pam.c: New file. PAM-specific auth functions. |
44 |
|
* auth/sql.c: New file. SQL-specific auth functions. |
45 |
|
* auth/virtual.c: New file. Virtual-domain-specific auth functions. |
46 |
|
* auth/Makefile.am: New file. |
47 |
|
|
48 |
|
* pop3d/virtual.c: Removed. |
49 |
|
* pop3d/Makefile.am: Removed virtual.c |
50 |
|
|
51 |
|
* include/mailutils/mu_auth.h: New file. Prototypes for mailutils |
52 |
|
authentication/authorization functions. |
53 |
|
* include/mailutils/Makefile.am: Added mu_auth.h. |
54 |
|
* include/mailutils/argp.h (mu_register_capa): New prototype. |
55 |
|
|
56 |
|
* include/mailutils/mutil.h (mu_register_getpwnam, |
57 |
|
mu_register_getpwuid,mu_getpwnam,mu_getpwuid, |
58 |
|
mu_virtual_domain): Removed. |
59 |
|
* mailbox/mutil.c: Likewise. |
60 |
|
|
61 |
|
* lib/argp-help.c: Provide declarations for strchrnul, strndup |
62 |
|
if necessary. |
63 |
|
* lib/mu_asprintf.c: Likewise for vasprintf,asprintf |
64 |
|
|
65 |
|
* imap4d/imap4d.h: Include <mailutils/mu_auth.h> |
66 |
|
* comsat/comsat.h: Likewise. |
67 |
|
* mail.local/mail.local.h: Likewise. |
68 |
|
* pop3d/pop3d.h: Likewise. |
69 |
|
|
70 |
|
* mailbox/smtp.c (message_has_bcc): Fixed inconsistency in |
71 |
|
passing arguments to header_get_value(). |
72 |
|
* mail/set.c (mail_set): Fixed inconsistency in passing arguments |
73 |
|
to strtoul(). |
74 |
|
* mail/util.c (util_get_homedir): Do not strdup return. |
75 |
|
mu_get_homedir() does it now. |
76 |
|
* mail/var.c (var_insert): Changed declaration to avoid |
77 |
|
`auth shadows parameter' warning. |
78 |
|
|
79 |
|
* mailbox/locker.c (_locker_lock_dotlock): Bugfix: do not leave |
80 |
|
temporary lock file in case of errors |
81 |
|
|
82 |
|
* mailbox/mailbox.c: Include <mailutils/attribute.h> |
83 |
|
* mh/mh_init.c: Free return value of mu_get_homedir(). |
84 |
|
|
85 |
2002-08-08 Sergey Poznyakoff |
2002-08-08 Sergey Poznyakoff |
86 |
|
|
87 |
* .cvsignore: Updated |
* .cvsignore: Updated |