Merge from debian.
[hcoop/debian/courier-authlib.git] / ChangeLog
1 0.61.0
2
3 2008-07-13 Mr. Sam <mrsam@courier-mta.com>
4
5 * courier-authlib.spec: Dummy provides: for symlinks, to allow upgrade
6 with older packages that require <libname>.so.0.
7
8 2008-07-09 Mr. Sam <mrsam@courier-mta.com>
9
10 * Makefile.am: Switch to versionless shared libraries.
11 Install all shared libraries just as <libname>.so. make install manually
12 removes *.so.0.0 files that were left over from previous versions,
13 and installs a temporary *.so.0 symlink to *.so, for temporary
14 binary ABI compatibility with 0.60. The symlinks will be removed in
15 0.62.
16
17 2008-07-08 Mr. Sam <mrsam@courier-mta.com>
18
19 * Cleanup: always compile md5, sha* and hmac stuff, and remove all
20 conditionally-compiled cruft. Move SASL list to an internal header.
21 Add client-side support for AUTH EXTERNAL.
22
23 2008-06-29 Mr. Sam <mrsam@courier-mta.com>
24
25 * authsasl.c (auth_sasl_ex): auth_sasl_ex() supercedes auth_sasl(),
26 invokes auth_sasl() for non-EXTERNAL SASL methods, implements EXTERNAL
27 by going through the motions, then setting up a dummy authentication
28 request.
29
30 * authdaemon.c (auth_generic): Check for the dummy EXTERNAL
31 authentication request, and handle it by invoking auth_getuserinfo(),
32 rather than sending it down the pipe. This avoid having to implement
33 a stub in every authentication module.
34
35 0.60.6
36
37 2008-06-08 Alessandro Vesely <vesely@tana.it>
38
39 * authmysqllib.c: Use mysql_set_character_set() instead of SET NAMES
40
41 0.60.5
42
43 2008-05-16 Mr. Sam <mrsam@courier-mta.com>
44
45 * authmysqllib.c: Fix domain-less queries.
46
47 0.60.4
48
49 2008-05-08 Mr. Sam <sam@email-scan.com>
50
51 * Makefile: Drop the unmaintained authvchkpw module.
52
53 2008-05-04 Mr. Sam <mrsam@courier-mta.com>
54
55 * authmysqllib.c: Cleanup. Use mysql_real_escape_string instead of
56 crude filtering.
57
58 0.60.3
59
60 2007-11-11 Mr. Sam <sam@email-scan.com>
61
62 * Makefile.am: Use _LIBADD properly.
63
64 2007-10-15 "Johnny C. Lam" <jlam-courier@buildlink.org>
65
66 * configure.in: More portability fixes.
67
68 0.60.2
69
70 2007-10-10 "Johnny C. Lam" <jlam-courier@buildlink.org>
71
72 * liblock/lockdaemon.c: Portability fix for checking the highest
73 available file descriptor.
74
75 0.60.1
76
77 2007-10-06 Anton Dobkin <adobkin@viansib.ru>
78
79 * MYSQL_CHARACTER_SET option.
80
81 2007-10-06 Oliver Lehmann <lehmann@ans-netz.de>
82
83 * authvchkpw.c: Fix typo.
84
85 2007-10-06 Wayne Pascoe <courier@penguinpowered.org>
86
87 * courier-authlib.spec.in (BuildRequires): on redhat-rpm-config.
88
89 2007-10-06 Mr. Sam <mrsam@courier-mta.com>
90
91 * userdb/userdb.pl.in (usage): Allow colons and pluses, in account
92 names.
93
94 2007-10-06 Martin <psiplus@gmail.com>
95
96 * checkpasswordmd5.c (authcheckpasswordmd5): Add {MD5RAW} hash method.
97
98 0.60
99
100 2007-09-25 "Johnny C. Lam" <jlam-courier@buildlink.org>
101
102 * liblock/lockdaemon.c (OPEN_MAX): Use OPEN_MAX, instead of hardcoded
103 99
104
105 2007-09-25 Mr. Sam <mrsam@courier-mta.com>
106
107 * liblock/lockdaemon.c (OPEN_MAX): Even better, use
108 sysconf(_SC_OPEN_MAX), where available.
109
110 2007-09-20 Mr. Sam <sam@email-scan.com>
111
112 * userdb/userdb.pl.in: Allow underscores in account names.
113
114 2007-08-29 "Noel (Sourceforge)" <noelb@users.sourceforge.net>
115
116 * authvchkpw.c: Compilation error.
117
118 2007-07-26 Mr. Sam <sam@email-scan.com>
119
120 * COPYING: GPL 3
121
122 2007-04-25 Mr. Sam <mrsam@courier-mta.com>
123
124 * authvchkpw.c: Quell a compiler warning about a fwd declaration.
125
126 0.59.3
127
128 2007-04-22 Bill Shupp <hostmaster@shupp.org>
129
130 * Implement CRAM authentication in the vchpw module.
131
132 2007-04-22 Mr. Sam <mrsam@courier-mta.com>
133
134 * courier-authlib.spec.in: spec files requires redhat-rpm-config
135
136 2007-04-15 Mr. Sam <mrsam@courier-mta.com>
137
138 * man pages: work around for some bugs in Docbook XML stylesheets.
139
140 2007-04-13 Mr. Sam <mrsam@courier-mta.com>
141
142 * authpipe.c (auth_pipe_pre): Fix leak when authpipe module is
143 enabled, but the actual authpipe script/external prog is not
144 installed.
145
146 * authpipe.c (auth_pipe_chgpwd): Pedantic resource cleanup,
147 after fork() fails.
148
149 * userdb/userdb.c (userdb): Pedantic resource cleanup, after
150 a malloc failure.
151
152 * userdb/userdb2.c (userdbshadow): Ditto.
153
154 0.59.2
155
156 2007-04-05 Mr. Sam <mrsam@courier-mta.com>
157
158 * Update man pages and documentation to Docbook XML V4.4
159
160 2007-02-25 Mr. Sam <mrsam@courier-mta.com>
161
162 * More configure script cleanup
163
164 2007-02-25 Kurt Roeckx <kurt@roeckx.be>
165
166 * Clean up configure scripts
167
168 2007-02-09 Juraj Lutter <otis@wilbury.sk>
169
170 * authmysqlrc: Implement SSL-encrypted MySQL connections
171
172 2007-01-20 Mr. Sam <mrsam@courier-mta.com>
173
174 * authldaplib.c: Fix pedantic C code.
175
176 0.59.1
177
178 2007-01-16 Mr. Sam <mrsam@courier-mta.com>
179
180 * authldaplib.c (l_simple_bind_s): Fix anon binds.
181
182 0.59
183
184 2006-12-30 Lars Timmann <Lars.Timmann@mcs.de>
185
186 * Makefile.am: Fixes for Solaris's linker.
187
188 2006-10-28 Mr. Sam <mrsam@courier-mta.com>
189
190 * Ported code to gcc 4.1.1
191
192 * Ported authldap to openldap 2.3.27
193
194 2006-09-17 Chris Petersen <rpm@forevermore.net>
195
196 - Make the spec a little prettier
197 - Replace BuildPreReq with BuildRequires
198 - Remove period from summaries (rpmlint)
199 - Fix release tag to use %{?dist} macro if it's present
200 - Change distro-detection to use "rh" and "fc" for version detection, and add support for mandriva
201
202 2006-06-01 kabe@sra-tohoku.co.jp
203
204 * authldaplib.c (auth_ldap_enumerate): Fix LDAP account enumeration
205
206 2006-05-28 Mr. Sam <mrsam@courier-mta.com>
207
208 * all: Fix many compiler warnings.
209
210 2006-03-25 Rui Lopes <rui@ruilopes.com>
211
212 * userdb/makeuserdb.in: Added the -f option to makeuserdb
213
214 2006-02-23 Mr. Sam <mrsam@courier-mta.com>
215
216 * authldaplib.c (authldap_read_config): Fix up an error message.
217
218 2006-01-30 Mr. Sam <mrsam@courier-mta.com>
219
220 * authldaplib.c: Try to recover when the LDAP server closes the
221 persistent socket, for inactivity.
222
223 2006-01-21 Mr. Sam <mrsam@courier-mta.com>
224
225 * configure.in: Fix libtool 1.9 breakage.
226
227 * Makefile.am: Ditto
228
229 * courier-authlib spec file (BuildRequires): Demand /usr/include/ltdl.h
230
231 * authdaemonlib.c (s_connect): Fix compiler warning.
232
233 * authdaemond.c (start): Ditto.
234
235 * authsaslclientcram.c (authsaslclient_cram): Ditto.
236
237 * libhmac/hmac.c (dohashkey): Ditto.
238
239 0.58
240
241 2005-12-08 Mr. Sam <mrsam@courier-mta.com>
242
243 * authpam.c (dopam): Re-enable pam_acct_mgmt hook.
244
245 2005-11-16 Mr. Sam <mrsam@courier-mta.com>
246
247 * preauthshadow.c: Add support for shadow password expiration --
248 based on Krzysztof Oledzki <ole@ans.pl>'s patch.
249
250 2005-10-04 Brian Candler <B.Candler@pobox.com>
251
252 * authdaemonrc.in (LOGGEROPTS): Add a section for LDAP environment
253 variable options.
254
255 2005-09-30 Mr. Sam <mrsam@courier-mta.com>
256
257 * authdaemonlib.c (opensock): Configurable daemon socket timeout,
258 based on a patch by Rodrigo Salinas <rodrigo@facea.uchile.cl>.
259
260 2005-09-30: Michael Richard <michael.richard@cesart.com>
261
262 * authldaplib: Replace LDAP_SERVER and LDAP_PORT settings with
263 LDAP_URI, which obsoletes LDAP_TLS.
264
265 2005-09-18 Mr. Sam <mrsam@courier-mta.com>
266
267 * authldaplib.c (auth_ldap_do2): Fix LDAP error checking.
268
269 2005-09-03 Mr. Sam <mrsam@courier-mta.com>
270
271 * authinfo.c (getmgid): Fix misleading error message.
272
273 2005-08-10 "Johnny C. Lam" <jlam@NetBSD.org>
274
275 * authpipelib.c: Include sys/time.h
276
277 0.57
278
279 2005-07-16 Mr. Sam <mrsam@courier-mta.com>
280
281 * configure.in: Update to automake 1.9, autoconf 2.59, libtool 1.5.6.
282
283 2005-07-12 Mr. Sam <mrsam@courier-mta.com>
284
285 * authlib: create the authtest and authpasswd manual pages.
286
287 2005-07-09 Mr. Sam <mrsam@courier-mta.com>
288
289 * authldaplib.c (auth_ldap_do3): Fix call of authcryptpasswd().
290
291 * authpgsqllib.c (auth_pgsql_setpass): Ditto.
292
293 * authmysqllib.c (auth_mysql_setpass): Ditto.
294
295 * cryptpassword.c (authcryptpasswd): Fix handling of encryption hints.
296
297 * checkpassword.c (do_authcheckpassword): Ignore {CRYPT} prefix on
298 crypted passwords.
299
300 * checkpasswordsha1.c (authcheckpasswordsha1): Fix {SHA256} passwords.
301
302 * authmysqllib.c (auth_mysql_setpass): Fix a memory leak.
303
304 2005-07-06 Willi Mann <willi@wm1.at>
305
306 * authdaemond.c: Strip full name/gecos field after the first comma.
307
308 2005-07-04 Brian Candler <B.Candler@pobox.com>
309
310 * liblog/logger.c: Fix wrong args to setuidgid().
311
312 * README_authlib.sgml: Document updated authpipe protocol.
313
314 * authdaemond: Pass LOGGEROPTS option to authdaemond.
315
316 2005-07-02 Mr. Sam <mrsam@courier-mta.com>
317
318 * liblog/logger.c: Added -droproot option to courierlogger.
319
320 * liblock/lockdaemon.c: Try to recover if upgraded daemon process runs
321 under a different uid.
322
323 2005-07-01 Brian Candler <B.Candler@pobox.com>
324
325 * Changed -uid and -gid options to -user and -group for consistency
326 with couriertcpd. Change them to affect courierlogger itself,
327 after it has spawned any child.
328
329 * Optional default domain for authentication requests.
330
331 2005-07-02 Mr. Sam <mrsam@courier-mta.com>
332
333 * Makefile.am: Refactor the linking process to make it more portable.
334
335 2005-06-30 Brian Candler <B.Candler@pobox.com>
336
337 * authdaemon.c (auth_generic): Silly bug in auth_generic().
338
339 * authpipe: more fixes to the authpipe module.
340
341 2005-05-14 Christian Loitsch <christian@fgecko.com>
342
343 * authpipe: various fixes to the authpipe module.
344
345 0.56
346
347 2005-05-08 Mr. Sam <mrsam@courier-mta.com>
348
349 * courier-authlib.sysvinit: Remove lockfile after stop.
350
351 2005-04-07 Mr. Sam <mrsam@courier-mta.com>
352
353 * authpipe.c (auth_pipe_pre): Fix zombies created by the authpipe
354 module.
355
356 2005-03-20 Christian Loitsch <courier-imap@abc.fgecko.com>
357
358 * New authpipe authentication module.
359
360 2005-03-20 Brian Candler <B.Candler@pobox.com>
361
362 * Fix the error code when an empty password is provided.
363
364 * authldap.schema: Add mailhost to the recommended LDAP schema.
365
366 0.55
367
368 2005-03-02 Mr. Sam <mrsam@courier-mta.com>
369
370 * authsystem.passwd.in: Explicitly set LC_ALL to en_US
371
372 2005-02-20 Mr. Sam <mrsam@courier-mta.com>
373
374 * SASL: Added CRAM-SHA256 authentication method (experimental).
375
376 2005-02-19 Mr. Sam <mrsam@courier-mta.com>
377
378 * courierauthdebug.h: Macro dprintf conflicts with new glibc.
379
380 0.54
381
382 2005-01-31 Mr. Sam <mrsam@courier-mta.com>
383
384 * authmigrate.in (rc): Fix - userdb file does not have to have a
385 leading ##VERSION
386
387 2005-01-19 Brian Candler <B.Candler@pobox.com>
388
389 * userdb/makeuserdb.in: Report dangling symlinks.
390
391 0.53
392
393 2005-01-11 Mr. Sam <mrsam@courier-mta.com>
394
395 * configure.in: Typo fix.
396
397 2005-01-05 Mr. Sam <mrsam@courier-mta.com>
398
399 * Makefile.am (uninstall-hook): pw2userdb was not being installed.
400
401 0.52
402
403 2005-01-01 Mr. Sam <mrsam@courier-mta.com>
404
405 * configure.in: Fix gdbm/bdb check. Try to autoprobe for Solaris
406 linker.
407
408 2004-12-05 Mr. Sam <mrsam@courier-mta.com>
409
410 * configure.in: Fix courierauthconfig --cppflags, new option to the
411 configure script: --without-stdheaderdir
412
413 2004-12-03 Mr. Sam <mrsam@courier-mta.com>
414
415 * courierauthconfig: --version prints package version.
416 --version=V print "yes" if package version is at least V.
417
418 2004-12-01 Mr. Sam <mrsam@courier-mta.com>
419
420 * liblog/logger.c: Added -uid and -gid options to courierlogger.
421
422 2004-11-29 Brian Candler <B.Candler@pobox.com>
423
424 * authldaplib.c: Use persistent connections for authenticated binds
425 when using LDAPv3. Use the LDAP_OPT_NETWORK_TIMEOUT setting,
426 initialized from the configuration file, if provided (OpenLDAP).
427 If using authenticated binds, a password change is done under the
428 user's credentials, instead of the admin's.
429
430 2004-11-24 Brian Candler <B.Candler@pobox.com>
431
432 * README.authdebug.html: document temporary failure messages.
433
434 2004-11-24 Mr. Sam <mrsam@courier-mta.com>
435
436 * courier-authlib.spec.in: Move the userdb scripts in sbindir from
437 main package to the userdb subpackage.
438
439 2004-11-24 Brian Candler <B.Candler@pobox.com>
440
441 * authuserdb.c: Fix error handling in userdb CRAM.
442
443 * userdb-test-cram-md5: Helper script for verifying C/R authentication.
444
445 2004-11-20 Brian Candler <B.Candler@pobox.com>
446
447 * Additional debug messages.
448
449 2004-11-13 Brian Candler <B.Candler@pobox.com>
450
451 * mysql/pgsql fixes; other misc fixes
452
453 2004-11-16 Mr. Sam <mrsam@courier-mta.com>
454
455 * configure.in: Fix mysql/pgslq autodetection
456
457 2004-11-13 Brian Candler <B.Candler@pobox.com>
458
459 * authdaemond: Fix bug in account enumeration function.
460
461 * authdaemond: Return individual account options when enumerating
462 accounts. Affects mysql, ldap, pgsql modules. mysql and pgsql
463 enumeration filter must now return one more column. Added an ldap
464 enumeration filter. New option to authenumerate, -o, includes
465 account options in the output. New option, -s, suppressed accounts
466 that have the disableshared option set.
467
468 * authmysql, authpgsql: Additional debugging.
469
470 * authmysql, authpgsql, authldap: Replaced enumeration function,
471 more efficient memory usage with large accounts.
472
473 * authldap: Suggested account schema has uid and gid optional, because
474 global uid and gids may be set in authldaprc instead.
475
476 * authvchkpw: Fix vpopmail compilation.
477
478 2004-11-10 Mr. Sam <mrsam@courier-mta.com>
479
480 * configure.in: Do not disable mysql + pgsql if vchkpw lib was found.
481
482 2004-11-09 Brian Candler <B.Candler@pobox.com>
483
484 * authdaemond.c: New DEFAULTOPTIONS setting.
485
486 2004-11-04 Mr. Sam <mrsam@courier-mta.com>
487
488 * authdaemonlib.c (s_connect): Wait for connection to authdaemond
489 only if async connect() failed with EINPROGRESS.
490
491 2004-11-03 Mr. Sam <mrsam@courier-mta.com>
492
493 * Makefile.am (SUBDIRS): Ok, only build in bdbobj/gdbmobj according
494 to what autoconf finds.
495
496 * authldaplib.c (auth_ldap_do3): Fix LDAP driver.
497
498 2004-11-03 Brian Candler <B.Candler@pobox.com>
499
500 * Makefile.am: Fixes.
501
502 2004-10-30 Mr. Sam <mrsam@courier-mta.com>
503
504 * authinfo.c: Added mailuid= and mailgid=
505
506 2004-10-21 Mr. Sam <mrsam@courier-mta.com>
507
508 * Makefile.am (libcourierauthsaslclient_la_SOURCES): Factored out
509 SASL client support into libcourierauthsaslclient.la
510
511 2004-10-21 Brian Candler <B.Candler@pobox.com>
512
513 * Makefile.am: Fixes.
514
515 2004-10-16 Mr. Sam <mrsam@courier-mta.com>
516
517 * authldap.schema: Added disableimap, disablepop3, disablewebmail,
518 and sharedgroup.
519
520 2004-10-07 Mr. Sam <mrsam@courier-mta.com>
521
522 * authsyschangepwd.c (dochangepwd): Do not reset the environment
523 before exec-ing expect.
524
525 2004-10-04 Mr. Sam <mrsam@courier-mta.com>
526
527 * Merged authuserdb with authcram. Fixed CRAM password changes.
528 Do not reset the environment before exec-ing userdb and makeuserdb.
529
530