File: ChangeLog

package info (click to toggle)
courier-authlib 0.72.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,844 kB
  • sloc: ansic: 25,772; cpp: 12,475; sh: 5,588; makefile: 938; perl: 761
file content (985 lines) | stat: -rw-r--r-- 26,302 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
0.72.6

2025-11-09  Sam Varshavchik  <mrsam@courier-mta.com>

	* Fix C++ linking issues

	* authldaplib.cpp: Fix rebinding after an automatic reconnection.
	Update sample authldap.ldif and remove authldap.schema

0.72.5

2025-05-04  Sam Varshavchik  <mrsam@courier-mta.com>

	* Require C++17 support. Add autoconf checks for C++17. Provide
	build instructions for oldest versions of enterprise Linux distros
	whose gcc is too old.

2024-12-15  Sam Varshavchik  <mrsam@courier-mta.com>

	* packaging/debian/control: Fix deb package dependencies

2024-09-21  Sam Varshavchik  <mrsam@courier-mta.com>

	* packaging: Fix rpm packaging, use a synthesized changelog entry
	with the current date, to set the rpmbuild epoch date.

2024-09-07  Sam Varshavchik  <mrsam@courier-mta.com>

	* packaging/debian/rules: Fix deb packaging of systemd service.

0.72.3

2024-08-05  Sam Varshavchik  <mrsam@courier-mta.com>

	* courier-debuild: implement DEBGCC=default, to help with pbuilder.

2024-05-30  Sam Varshavchik  <mrsam@courier-mta.com>

	* courier-authlib.spec.in: Update dependencies to build against
	mariadb-devel instead of mysql-devel.

2024-04-06  Sam Varshavchik  <mrsam@courier-mta.com>

	* courier-authlib.spec.in: Packaging fixes.

0.72.2

2024-04-05  Sam Varshavchik  <mrsam@courier-mta.com>

	* courier-authlib.spec.in: Fedora 40 fixes.

0.72.1

2024-01-28  Hanno Böck <hanno@gentoo.org>

	* Use strncmp instead of memcmp.

2023-12-23  Sam Varshavchik  <mrsam@courier-mta.com>

	* Create a courier-authlib-config rpm subpackage to prevent
	updates to versioned configured for different user and group
	names.

2023-03-04  Hanno Böck <hanno@gentoo.org>

	* Various fixes for calls to getgrnam_r/getpwnam_r

0.72.0

2022-11-28  Sam Varshavchik  <mrsam@courier-mta.com>

	* Switch to libidn2.

	* Debian/Ubuntu: update lintian overrides

0.71.6

2022-11-12  Sam Varshavchik  <mrsam@courier-mta.com>

	* Adjust deb packaging. Check /etc/lsb-release and include the
	distribution release in the deb package version, to faciliate
	updating to the same version of the package in an updated release.

	Fix build dependencies.

	Remove obsolete setting from authpgsqlrc, update connection string
	template.

0.71.5

2022-05-22  Sam Varshavchik  <mrsam@courier-mta.com>

	* gcc 12 and autotools update.

2022-04-14  Sam Varshavchik  <mrsam@courier-mta.com>

	* Add scripts to create installable .deb packages, update
	documentation.

0.71.3

2021-04-12  Sam Varshavchik  <mrsam@courier-mta.com>

	* authldaplib.cpp: Fix authbind authentication failures.

0.71.2

2021-02-19  Sam Varshavchik  <mrsam@courier-mta.com>

	* spec file: additional fixes.

0.71.1

2021-02-07  Sam Varshavchik  <mrsam@courier-mta.com>

	* Clean up header files, do not install autoconf-generated
	courier_auth_config.h

2020-11-04  Sam Varshavchik  <mrsam@courier-mta.com>

	* spec file: add BuildRequires: %{__make} (will be required in F34).

0.71.0

2020-05-27  Sam Varshavchik  <mrsam@courier-mta.com>

	* userdb: Make userdb script accept UTF-8 domain names. Document
	it in the man page.

2020-05-18  Sam Varshavchik  <mrsam@courier-mta.com>

	* Configure and installed versioned shared libraries, both shared
	and the authentication modules.

	* Update INSTALL. Remove obsolete pre-courier authlib migration
	script and documentation. It's been long enough.

2020-05-08  Sam Varshavchik  <mrsam@courier-mta.com>

	* Add _meta API functions with an extra auth_meta parameter,
	keep the original functions as wrappers that provide a stub meta
	parameter. Use this to pass arbitrary variables to authdaemon.

	* authdaemond.c: retrieve the TCPREMOTEIP variable if it's provided.

	* authpam.c: TCPREMOTEIP, if set, sets PAM_RHOST.

	* Makefile.am (commonldflags): Link all libraries with the
	--enable-new-dtags flag.

2020-04-21  Sam Varshavchik  <mrsam@courier-mta.com>

	* Add AC_PROG_CC_C99 to configure

0.70.0

2020-02-29  Sam Varshavchik  <mrsam@courier-mta.com>

	* authsasl.c (auth_sasl_ex): For EXTERNAL, base64-decode the
	initial authorization string, since if none is provided the
	callback's reply is base64-decoded.

0.69.1

2019-07-23  Sam Varshavchik  <mrsam@courier-mta.com>

	* authldaplib.cpp (ldapopen): Make sure that we rebind if we reconnect,
	if so configured.

2018-10-18  Sam Varshavchik  <mrsam@courier-mta.com>

	* authldaplib.cpp: Fix handling of LDAP configurations that use the
	same LDAP attribute for two or more variables.

0.69.0

2018-08-16  Sam Varshavchik  <mrsam@courier-mta.com>

	* authdaemond.c: set FD_CLOEXEC on socket file descriptors, to avoid
	leaks to child processes.

2018-05-25  Sam Varshavchik  <mrsam@courier-mta.com>

	* authldaplib.cpp: improve automatic reconnection logic to the LDAP
	server.

2017-11-27  Sam Varshavchik  <mrsam@courier-mta.com>

	* rpm packaging fixes.

2017-09-08  Sam Varshavchik  <mrsam@courier-mta.com>

	* courier-authlib.spec.in: Fix several problems with the package
	scripts. Remove 'authdaemond stop' from %preun. Add explicit
	systemctl daemon-reload to %post and %postun

2017-07-23  Sam Varshavchik  <mrsam@courier-mta.com>

	* authsaslclient.h (SASL_LIST): Reorder SASL methods, strongest
	first.

0.68.0

2017-03-16  Sam Varshavchik  <mrsam@courier-mta.com>

	* configure.ac: Rebuild against updated courier-unicode API.

0.67.0

2017-01-27  Sam Varshavchik  <mrsam@courier-mta.com>

	* courierauth.h: Move declarations from cramlib.h into courierauth.h,
	exporting them as part of the public API.

2016-09-04  Giovanni Bechis <giovanni@paclan.it>

	* userdb/userdbpw.c (main): Use bcrypt_gensalt() on OpenBSD

2016-05-07  Sam Varshavchik  <mrsam@courier-mta.com>

	* authsqlite, authmysql, authpgsql: Rewrite these modules in
	modern C++. Autodetect and automatically reload the configuration
	file when it's changed, no server restart is needed.

2016-03-20  Giovanni Bechis <giovanni@openbsd.org>

	* checkpassword.c (do_authcheckpassword): Check for a null return
	value from crypt().

2016-01-17  Sam Varshavchik  <mrsam@courier-mta.com>

	* authldaplib.cpp (operator): Fix compilation warning.

2016-01-04  Sam Varshavchik  <mrsam@courier-mta.com>

	* authldaplib.cpp: Rewrite authldap in modern C++. Autodetect
	and automatically reload authldaprc when it is changed. No server
	restart is required.

0.66.4

2015-11-14 "Hanno Böck" <hanno@hboeck.de>

	* authgetconfig.c (authgetconfig): avoid invalid memory read.

0.66.3

2015-06-09  Sam Varshavchik  <mrsam@courier-mta.com>

	* authdaemon.c: auth_callback_default_autocreate, default callback
	used by clients that autocreates a home directory, if one does not
	exist already.

0.66.2

2015-02-28  Sam Varshavchik  <mrsam@courier-mta.com>

	* Update to courier-unicode 1.2.

2014-07-13  Sam Varshavchik  <mrsam@courier-mta.com>

	* liblock, couriertls: fix compilation for OpenBSD -- based on a
	patch from Giovanni Bechis <giovanni@paclan.it>.

2014-07-04  Sam Varshavchik  <mrsam@courier-mta.com>

	* checkpassword.c (safe_strcmp): Fix bug introduced in 2014-04-27.

2014-04-27  Sam Varshavchik  <mrsam@courier-mta.com>

	* courier.spec.in: Update to use systemd macros.

	* Check for NULL return value from crypt().

2014-01-12  Sam Varshavchik  <mrsam@courier-mta.com>

	* Factored out the unicode library into a separate package.

2013-10-08  Sam Varshavchik  <mrsam@courier-mta.com>

	* Makefile.am: run sysconftool on authsqliterc, in install-configure.
	Remove .la files for authentication modules, keep then for actual
	API libraries. Install them in the -devel RPM package.

	* userdb/Makefile.am: Stub for the pw2userdb(8) man page.

	* courier-authlib.service.in: Added Install target.

0.66

2013-03-02  Eray Aslan <eray.aslan@caf.com.tr>

	* sqlite fixes.

2013-02-24  Lutz Behnke <cypherfox@users.sourceforge.net>

	* authldaplib.c (ldapopen): Added LDAP_INITBIND option.

2013-01-06  Sam Varshavchik  <mrsam@courier-mta.com>

	* Makefile.am: chmod $(pkglibexecdir) explicitly to 755

2012-10-25  Sam Varshavchik  <mrsam@courier-mta.com>

	* courier-authlib.spec.in: Typo.

0.65.0

2012-10-06  Sam Varshavchik  <mrsam@courier-mta.com>

	* New authsqlite authentication module.

	* Fixed: when using authpgsql, if the Postgres server goes down
	authpgsql will then start leaking memory.

	* Fixed error codes returned by several authentication modules that
	prevent certain combinations of authentication modules from being
	used together.

0.64.0

2012-04-23  Sam Varshavchik  <mrsam@courier-mta.com>

	* authpam.c (callback_pam): Call pam_end() after an authentication
	attempt.

2011-08-02  Sam Varshavchik  <mrsam@courier-mta.com>

	* Makefile.am: Renamed authstaticlist.h to courierauthstaticlist.h, and
	added it to the list of header files that 'make install' puts into
	includedir.

2011-06-19  Sam Varshavchik  <mrsam@courier-mta.com>

	* Fix gcc 4.6 warnings

	* courier.spec.in: switch to systemd.

2011-05-25  Sam Varshavchik  <mrsam@courier-mta.com>

	* Fix autoconf warnings.

2010-03-08  Sam Varshavchik  <mrsam@courier-mta.com>

	* courier-authlib.spec: Make rmplint happy.

0.63.1

2010-03-06  Sam Varshavchik  <mrsam@courier-mta.com>

	* Remove the bundled libtdl library. Require the system-installed
	libltdl library.

2010-01-31  Brian Costello <dolemite@gmail.com>

	* authmysqllib.c (auth_mysql_setpass): Fix crash if DEFAULT_DOMAIN
	is not set in the config file.

0.63.0

2009-12-17  Sam Varshavchik  <mrsam@courier-mta.com>

	* authldapescape.c: Factor out LDAP string escape function.

	* authldap.schema: Various fixes

	* authldap.ldif (olcObjectClasses): Create LDIF format schema from
	authldap.schema

2009-11-21  Sam Varshavchik  <mrsam@courier-mta.com>

	* authoption.c (auth_getoptionenvint): For account options that
	are parsed to an int, an option value that begins with t, T, y, or Y
	is evaluated as 1, other alphabetic values as 0; so that 'true'
	or 'yes' get evaluated as 1.

0.62.4

2009-06-13  Sam Varshavchik  <mrsam@courier-mta.com>

	* Various compilation fixes for gcc 4.4 and libtool 2.2

0.62.3

2009-04-26  Sam Varshavchik  <mrsam@courier-mta.com>

	* courier-authlib.spec.in (MAKEFLAGS): Explicit path to ./configtmp

2009-03-15  Sam Varshavchik  <mrsam@courier-mta.com>

	* README_authlib.sgml: Fixed documentation of authpipe AUTH command.

2009-02-22  Sam Varshavchik  <mrsam@courier-mta.com>

	* authmigrate.in (rc): Add /etc/courier-imap

0.62.2

2009-02-03  Sam Varshavchik  <mrsam@courier-mta.com>

	* Makefile.am: Compatibility fix for bash 4

0.62.1

2008-12-25  Mr. Sam  <mrsam@courier-mta.com>

	* cryptpassword.c: Fix compiler warnings

	* checkpasswordsha1.c: Fix compiler warnings.

	* authldaplib.c (auth_ldap_enumerate): Fix typo.

0.62.0

2008-12-17  Sam Varshavchik  <mrsam@courier-mta.com>

	* authpgsqllib.c: Use PQescapeStringConn() instead of removing all
	apostrophes from query parameters. This fixes a potential SQL injection
	vulnerability if the Postgres database uses a non-Latin locale.

2008-12-06  Sam Varshavchik  <mrsam@courier-mta.com>

	* Added support for {SSHA}-encrypted passwords. Based on a patch
	by Zou bin <zb@bisp.com>.

	* Added support for {SHA512} hash function.

0.61.1

2008-11-30  Sam Varshavchik  <mrsam@courier-mta.com>

	* authsasllogin.c (authsasl_login): Fix memory leak.

	* authldaplib.c (read_env): Fix resource leak. authldap did not close
	the authldaprc configuration file after reading it on startup.

	* authldaplib.c (auth_ldap_do2): Fix used ptr after free(). When an
	email map feature is enabled, and the map failed, the resulting
	error message was formed from a buffer that was recently free()ed.

	* authpipe.c (auth_pipe): Fix memory leak. If the fork() system call
	failed (unlikely), a buffer wasn't getting released.

2008-11-30  Sam Varshavchik  <mrsam@courier-mta.com>

	* Fix spec file to invoke authmksock with a short pathname.

2008-08-07  Mr. Sam  <mrsam@courier-mta.com>

	* courier-authlib.spec.in: Add -C option to configure invocation.
	Remove the authmigrate script, only needed when upgrading from
	pre-2004 Courier, and the current packaging causes an error.

2008-07-20  "Hanno Böck" <hanno@hboeck.de>

	* authmigrate.in (rc): Use ${DESTDIR}, if set.

0.61.0

2008-07-13  Mr. Sam  <mrsam@courier-mta.com>

	* courier-authlib.spec: Dummy provides: for symlinks, to allow upgrade
	with older packages that require <libname>.so.0.

2008-07-09  Mr. Sam  <mrsam@courier-mta.com>

	* Makefile.am: Switch to versionless shared libraries.
	Install all shared libraries just as <libname>.so. make install manually
	removes *.so.0.0 files that were left over from previous versions,
	and installs a temporary *.so.0 symlink to *.so, for temporary
	binary ABI compatibility with 0.60. The symlinks will be removed in
	0.62.

2008-07-08  Mr. Sam  <mrsam@courier-mta.com>

	* Cleanup: always compile md5, sha* and hmac stuff, and remove all
	conditionally-compiled cruft. Move SASL list to an internal header.
	Add client-side support for AUTH EXTERNAL.

2008-06-29  Mr. Sam  <mrsam@courier-mta.com>

	* authsasl.c (auth_sasl_ex): auth_sasl_ex() supercedes auth_sasl(),
	invokes auth_sasl() for non-EXTERNAL SASL methods, implements EXTERNAL
	by going through the motions, then setting up a dummy authentication
	request.

	* authdaemon.c (auth_generic): Check for the dummy EXTERNAL
	authentication request, and handle it by invoking auth_getuserinfo(),
	rather than sending it down the pipe. This avoid having to implement
	a stub in every authentication module.

0.60.6

2008-06-08  Alessandro Vesely <vesely@tana.it>

	* authmysqllib.c: Use mysql_set_character_set() instead of SET NAMES

0.60.5

2008-05-16  Mr. Sam  <mrsam@courier-mta.com>

	* authmysqllib.c: Fix domain-less queries.

0.60.4

2008-05-08  Mr. Sam  <sam@email-scan.com>

	* Makefile: Drop the unmaintained authvchkpw module.

2008-05-04  Mr. Sam  <mrsam@courier-mta.com>

	* authmysqllib.c: Cleanup. Use mysql_real_escape_string instead of
	crude filtering.

0.60.3

2007-11-11  Mr. Sam  <sam@email-scan.com>

	* Makefile.am: Use _LIBADD properly.

2007-10-15  "Johnny C. Lam" <jlam-courier@buildlink.org>

	* configure.in: More portability fixes.

0.60.2

2007-10-10  "Johnny C. Lam" <jlam-courier@buildlink.org>

	* liblock/lockdaemon.c: Portability fix for checking the highest
	available file descriptor.

0.60.1

2007-10-06  Anton Dobkin <adobkin@viansib.ru>

	* MYSQL_CHARACTER_SET option.

2007-10-06  Oliver Lehmann <lehmann@ans-netz.de>

	* authvchkpw.c: Fix typo.

2007-10-06  Wayne Pascoe <courier@penguinpowered.org>

	* courier-authlib.spec.in (BuildRequires): on redhat-rpm-config.

2007-10-06  Mr. Sam  <mrsam@courier-mta.com>

	* userdb/userdb.pl.in (usage): Allow colons and pluses, in account
	names.

2007-10-06  Martin <psiplus@gmail.com>

	* checkpasswordmd5.c (authcheckpasswordmd5): Add {MD5RAW} hash method.

0.60

2007-09-25  "Johnny C. Lam" <jlam-courier@buildlink.org>

	* liblock/lockdaemon.c (OPEN_MAX): Use OPEN_MAX, instead of hardcoded
	99

2007-09-25  Mr. Sam  <mrsam@courier-mta.com>

	* liblock/lockdaemon.c (OPEN_MAX): Even better, use
	sysconf(_SC_OPEN_MAX), where available.

2007-09-20  Mr. Sam  <sam@email-scan.com>

	* userdb/userdb.pl.in: Allow underscores in account names.

2007-08-29  "Noel (Sourceforge)" <noelb@users.sourceforge.net>

	* authvchkpw.c: Compilation error.

2007-07-26  Mr. Sam  <sam@email-scan.com>

	* COPYING: GPL 3

2007-04-25  Mr. Sam  <mrsam@courier-mta.com>

	* authvchkpw.c: Quell a compiler warning about a fwd declaration.

0.59.3

2007-04-22  Bill Shupp <hostmaster@shupp.org>

	* Implement CRAM authentication in the vchpw module.

2007-04-22  Mr. Sam  <mrsam@courier-mta.com>

	* courier-authlib.spec.in: spec files requires redhat-rpm-config

2007-04-15  Mr. Sam  <mrsam@courier-mta.com>

	* man pages: work around for some bugs in Docbook XML stylesheets.

2007-04-13  Mr. Sam  <mrsam@courier-mta.com>

	* authpipe.c (auth_pipe_pre): Fix leak when authpipe module is
	enabled, but the actual authpipe script/external prog is not
	installed.

	* authpipe.c (auth_pipe_chgpwd): Pedantic resource cleanup,
	after fork() fails.

	* userdb/userdb.c (userdb): Pedantic resource cleanup, after
	a malloc failure.

	* userdb/userdb2.c (userdbshadow): Ditto.

0.59.2

2007-04-05  Mr. Sam  <mrsam@courier-mta.com>

	* Update man pages and documentation to Docbook XML V4.4

2007-02-25  Mr. Sam  <mrsam@courier-mta.com>

	* More configure script cleanup

2007-02-25  Kurt Roeckx <kurt@roeckx.be>

	* Clean up configure scripts

2007-02-09  Juraj Lutter <otis@wilbury.sk>

	* authmysqlrc: Implement SSL-encrypted MySQL connections

2007-01-20  Mr. Sam  <mrsam@courier-mta.com>

	* authldaplib.c: Fix pedantic C code.

0.59.1

2007-01-16  Mr. Sam  <mrsam@courier-mta.com>

	* authldaplib.c (l_simple_bind_s): Fix anon binds.

0.59

2006-12-30  Lars Timmann <Lars.Timmann@mcs.de>

	* Makefile.am: Fixes for Solaris's linker.

2006-10-28  Mr. Sam  <mrsam@courier-mta.com>

	* Ported code to gcc 4.1.1

	* Ported authldap to openldap 2.3.27

2006-09-17  Chris Petersen <rpm@forevermore.net>

	- Make the spec a little prettier
	- Replace BuildPreReq with BuildRequires
	- Remove period from summaries (rpmlint)
	- Fix release tag to use %{?dist} macro if it's present
	- Change distro-detection to use "rh" and "fc" for version detection, and add support for mandriva

2006-06-01  kabe@sra-tohoku.co.jp

	* authldaplib.c (auth_ldap_enumerate): Fix LDAP account enumeration

2006-05-28  Mr. Sam  <mrsam@courier-mta.com>

	* all: Fix many compiler warnings.

2006-03-25  Rui Lopes <rui@ruilopes.com>

	* userdb/makeuserdb.in: Added the -f option to makeuserdb

2006-02-23  Mr. Sam  <mrsam@courier-mta.com>

	* authldaplib.c (authldap_read_config): Fix up an error message.

2006-01-30  Mr. Sam  <mrsam@courier-mta.com>

	* authldaplib.c: Try to recover when the LDAP server closes the
	persistent socket, for inactivity.

2006-01-21  Mr. Sam  <mrsam@courier-mta.com>

	* configure.in: Fix libtool 1.9 breakage.

	* Makefile.am: Ditto

	* courier-authlib spec file (BuildRequires): Demand /usr/include/ltdl.h

	* authdaemonlib.c (s_connect): Fix compiler warning.

	* authdaemond.c (start): Ditto.

	* authsaslclientcram.c (authsaslclient_cram): Ditto.

	* libhmac/hmac.c (dohashkey): Ditto.

0.58

2005-12-08  Mr. Sam  <mrsam@courier-mta.com>

	* authpam.c (dopam): Re-enable pam_acct_mgmt hook.

2005-11-16  Mr. Sam  <mrsam@courier-mta.com>

	* preauthshadow.c: Add support for shadow password expiration --
	based on Krzysztof Oledzki <ole@ans.pl>'s patch.

2005-10-04 Brian Candler <B.Candler@pobox.com>

	* authdaemonrc.in (LOGGEROPTS): Add a section for LDAP environment
	variable options.

2005-09-30  Mr. Sam  <mrsam@courier-mta.com>

	* authdaemonlib.c (opensock): Configurable daemon socket timeout,
	based on a patch by Rodrigo Salinas <rodrigo@facea.uchile.cl>.

2005-09-30: Michael Richard <michael.richard@cesart.com>

	* authldaplib: Replace LDAP_SERVER and LDAP_PORT settings with
	LDAP_URI, which obsoletes LDAP_TLS.

2005-09-18  Mr. Sam  <mrsam@courier-mta.com>

	* authldaplib.c (auth_ldap_do2): Fix LDAP error checking.

2005-09-03  Mr. Sam  <mrsam@courier-mta.com>

	* authinfo.c (getmgid): Fix misleading error message.

2005-08-10  "Johnny C. Lam" <jlam@NetBSD.org>

	* authpipelib.c: Include sys/time.h

0.57

2005-07-16  Mr. Sam  <mrsam@courier-mta.com>

	* configure.in: Update to automake 1.9, autoconf 2.59, libtool 1.5.6.

2005-07-12  Mr. Sam  <mrsam@courier-mta.com>

	* authlib: create the authtest and authpasswd manual pages.

2005-07-09  Mr. Sam  <mrsam@courier-mta.com>

	* authldaplib.c (auth_ldap_do3): Fix call of authcryptpasswd().

	* authpgsqllib.c (auth_pgsql_setpass): Ditto.

	* authmysqllib.c (auth_mysql_setpass): Ditto.

	* cryptpassword.c (authcryptpasswd): Fix handling of encryption hints.

	* checkpassword.c (do_authcheckpassword): Ignore {CRYPT} prefix on
	crypted passwords.

	* checkpasswordsha1.c (authcheckpasswordsha1): Fix {SHA256} passwords.

	* authmysqllib.c (auth_mysql_setpass): Fix a memory leak.

2005-07-06  Willi Mann <willi@wm1.at>

	* authdaemond.c: Strip full name/gecos field after the first comma.

2005-07-04  Brian Candler <B.Candler@pobox.com>

	* liblog/logger.c: Fix wrong args to setuidgid().

	* README_authlib.sgml: Document updated authpipe protocol.

	* authdaemond: Pass LOGGEROPTS option to authdaemond.

2005-07-02  Mr. Sam  <mrsam@courier-mta.com>

	* liblog/logger.c: Added -droproot option to courierlogger.

	* liblock/lockdaemon.c: Try to recover if upgraded daemon process runs
	under a different uid.

2005-07-01  Brian Candler <B.Candler@pobox.com>

	* Changed -uid and -gid options to -user and -group for consistency
	  with couriertcpd. Change them to affect courierlogger itself,
	  after it has spawned any child.

	* Optional default domain for authentication requests.

2005-07-02  Mr. Sam  <mrsam@courier-mta.com>

	* Makefile.am: Refactor the linking process to make it more portable.

2005-06-30  Brian Candler <B.Candler@pobox.com>

	* authdaemon.c (auth_generic): Silly bug in auth_generic().

	* authpipe: more fixes to the authpipe module.

2005-05-14  Christian Loitsch <christian@fgecko.com>

	* authpipe: various fixes to the authpipe module.

0.56

2005-05-08  Mr. Sam  <mrsam@courier-mta.com>

	* courier-authlib.sysvinit: Remove lockfile after stop.

2005-04-07  Mr. Sam  <mrsam@courier-mta.com>

	* authpipe.c (auth_pipe_pre): Fix zombies created by the authpipe
	module.

2005-03-20  Christian Loitsch <courier-imap@abc.fgecko.com>

	* New authpipe authentication module.

2005-03-20  Brian Candler <B.Candler@pobox.com>

	* Fix the error code when an empty password is provided.

	* authldap.schema: Add mailhost to the recommended LDAP schema.

0.55

2005-03-02  Mr. Sam  <mrsam@courier-mta.com>

	* authsystem.passwd.in: Explicitly set LC_ALL to en_US

2005-02-20  Mr. Sam  <mrsam@courier-mta.com>

	* SASL: Added CRAM-SHA256 authentication method (experimental).

2005-02-19  Mr. Sam  <mrsam@courier-mta.com>

	* courierauthdebug.h: Macro dprintf conflicts with new glibc.

0.54

2005-01-31  Mr. Sam  <mrsam@courier-mta.com>

	* authmigrate.in (rc): Fix - userdb file does not have to have a
	leading ##VERSION

2005-01-19  Brian Candler <B.Candler@pobox.com>

	* userdb/makeuserdb.in: Report dangling symlinks.

0.53

2005-01-11  Mr. Sam  <mrsam@courier-mta.com>

	* configure.in: Typo fix.

2005-01-05  Mr. Sam  <mrsam@courier-mta.com>

	* Makefile.am (uninstall-hook): pw2userdb was not being installed.

0.52

2005-01-01  Mr. Sam  <mrsam@courier-mta.com>

	* configure.in: Fix gdbm/bdb check.  Try to autoprobe for Solaris
	linker.

2004-12-05  Mr. Sam  <mrsam@courier-mta.com>

	* configure.in: Fix courierauthconfig --cppflags, new option to the
	configure script: --without-stdheaderdir

2004-12-03  Mr. Sam  <mrsam@courier-mta.com>

	* courierauthconfig: --version prints package version.
	--version=V print "yes" if package version is at least V.

2004-12-01  Mr. Sam  <mrsam@courier-mta.com>

	* liblog/logger.c: Added -uid and -gid options to courierlogger.

2004-11-29  Brian Candler <B.Candler@pobox.com>

	* authldaplib.c: Use persistent connections for authenticated binds
	when using LDAPv3.  Use the LDAP_OPT_NETWORK_TIMEOUT setting,
	initialized from the configuration file, if provided (OpenLDAP).
	If using authenticated binds, a password change is done under the
	user's credentials, instead of the admin's.

2004-11-24  Brian Candler <B.Candler@pobox.com>

	* README.authdebug.html: document temporary failure messages.

2004-11-24  Mr. Sam  <mrsam@courier-mta.com>

	* courier-authlib.spec.in: Move the userdb scripts in sbindir from
	main package to the userdb subpackage.

2004-11-24  Brian Candler <B.Candler@pobox.com>

	* authuserdb.c: Fix error handling in userdb CRAM.

	* userdb-test-cram-md5: Helper script for verifying C/R authentication.

2004-11-20  Brian Candler <B.Candler@pobox.com>

	* Additional debug messages.

2004-11-13  Brian Candler <B.Candler@pobox.com>

	* mysql/pgsql fixes; other misc fixes

2004-11-16  Mr. Sam  <mrsam@courier-mta.com>

	* configure.in: Fix mysql/pgslq autodetection

2004-11-13  Brian Candler <B.Candler@pobox.com>

	* authdaemond: Fix bug in account enumeration function.

	* authdaemond: Return individual account options when enumerating
	accounts.  Affects mysql, ldap, pgsql modules.  mysql and pgsql
	enumeration filter must now return one more column.  Added an ldap
	enumeration filter.  New option to authenumerate, -o, includes
	account options in the output.  New option, -s, suppressed accounts
	that have the disableshared option set.

	* authmysql, authpgsql: Additional debugging.

	* authmysql, authpgsql, authldap: Replaced enumeration function,
	more efficient memory usage with large accounts.

	* authldap: Suggested account schema has uid and gid optional, because
	global uid and gids may be set in authldaprc instead.

	* authvchkpw: Fix vpopmail compilation.

2004-11-10  Mr. Sam  <mrsam@courier-mta.com>

	* configure.in: Do not disable mysql + pgsql if vchkpw lib was found.

2004-11-09  Brian Candler <B.Candler@pobox.com>

	* authdaemond.c: New DEFAULTOPTIONS setting.

2004-11-04  Mr. Sam  <mrsam@courier-mta.com>

	* authdaemonlib.c (s_connect): Wait for connection to authdaemond
	only if async connect() failed with EINPROGRESS.

2004-11-03  Mr. Sam  <mrsam@courier-mta.com>

	* Makefile.am (SUBDIRS): Ok, only build in bdbobj/gdbmobj according
	to what autoconf finds.

	* authldaplib.c (auth_ldap_do3): Fix LDAP driver.

2004-11-03  Brian Candler <B.Candler@pobox.com>

	* Makefile.am: Fixes.

2004-10-30  Mr. Sam  <mrsam@courier-mta.com>

	* authinfo.c: Added mailuid= and mailgid=

2004-10-21  Mr. Sam  <mrsam@courier-mta.com>

	* Makefile.am (libcourierauthsaslclient_la_SOURCES): Factored out
	SASL client support into libcourierauthsaslclient.la

2004-10-21  Brian Candler <B.Candler@pobox.com>

	* Makefile.am: Fixes.

2004-10-16  Mr. Sam  <mrsam@courier-mta.com>

	* authldap.schema: Added disableimap, disablepop3, disablewebmail,
	and sharedgroup.

2004-10-07  Mr. Sam  <mrsam@courier-mta.com>

	* authsyschangepwd.c (dochangepwd): Do not reset the environment
	before exec-ing expect.

2004-10-04  Mr. Sam  <mrsam@courier-mta.com>

	* Merged authuserdb with authcram.  Fixed CRAM password changes.
	Do not reset the environment before exec-ing userdb and makeuserdb.