Commit graph

9 commits

Author SHA1 Message Date
jlam
55592c3715 Update security/courier-authlib to 0.60.1. Changes from version 0.59.3
include:

* MYSQL_CHARACTER_SET option.

* Allow underscores, colons and plusses, in account names.

* Add {MD5RAW} hash method.

* Fix runtime problems with hardcoded file descriptors in the daemon
  code by using OPEN_MAX instead.
2007-10-15 15:37:01 +00:00
jlam
a61eb2f649 Move variable declarations to start of block to appease older C compilers. 2007-09-05 17:06:55 +00:00
jlam
a1df00f396 Update security/courier-authlib to 0.59.3. Changes from version 0.58
include:

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

* authmysqlrc: Implement SSL-encrypted MySQL connections

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

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

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

* authldaplib.c: Try to recover when the LDAP server closes the
  persistent socket, for inactivity.
2007-08-10 17:57:21 +00:00
jlam
d219a04c13 Update security/courier-authlib to 0.58. Changes from version 0.57 include:
* Re-enable pam_acct_mgmt hook.
	* Add support for shadow password expiration.
	* Configurable daemon socket timeout,
	* Add a section for LDAP environment variable options.
	* Replace LDAP_SERVER and LDAP_PORT settings with LDAP_URI,
	  which obsoletes LDAP_TLS.
	* Fix LDAP error checking.
2006-01-03 03:50:45 +00:00
jlam
6d353a59db Update security/courier-authlib to 0.57. Changes from version 0.55
include:

	* authlib: create the authtest and authpasswd manual pages.

	* authdaemon.c (auth_generic): Silly bug in auth_generic().
	* authldaplib.c (auth_ldap_do3): Fix call of authcryptpasswd().
	* authpgsqllib.c (auth_pgsql_setpass): Ditto.
	* authmysqllib.c (auth_mysql_setpass): Ditto.
	* authmysqllib.c (auth_mysql_setpass): Fix a memory leak.
	* authpipe: more fixes to the authpipe module.
	* authpipe: various fixes to the authpipe module.
	* authpipe.c (auth_pipe_pre): Fix zombies created by the authpipe
	  module.
	* New authpipe authentication module.
	* authldap.schema: Add mailhost to the recommended LDAP schema.

	* README_authlib.sgml: Document updated authpipe protocol.

	* cryptpassword.c (authcryptpasswd): Fix handling of encryption hints.
	* checkpassword.c (do_authcheckpassword): Ignore {CRYPT} prefix on
	  crypted passwords.
	* checkpasswordsha1.c (authcheckpasswordsha1): Fix {SHA256} passwords.

	* authdaemond.c: Strip full name/gecos field after the first comma.
	* authdaemond: Pass LOGGEROPTS option to authdaemond.

	* liblog/logger.c: Fix wrong args to setuidgid().
	* liblog/logger.c: Added -droproot option to courierlogger.

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

	* 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.

	* Fix the error code when an empty password is provided.
2005-08-11 00:03:16 +00:00
jlam
81611d789e Strip off any leading "-Wl," in the compiler and linker flags before
the courier Makefile adds it to all of the flags again.  This avoids
situations where you end up with a flag that looks like "-Wl,-Wl,...".
This should fix the problem noted in pkg/29777.
2005-03-24 07:13:14 +00:00
jlam
b4bcbe1138 Avoid possibly linking everything against -lintl when PostgreSQL
support is built into courier-authlib -- -lintl is only needed by the
authpgsql authentication module.  This avoids problems when linking
clients with -lcourierauth and the linker thinks -lintl is needed when
it really doesn't.  Bump the PKGREVISION to 3.
2005-03-18 20:20:48 +00:00
jlam
6db647b41a Update security/courier-authlib to 0.54. Changes from version 0.53
include:

	* userdb/makeuserdb.in: Report dangling symlinks.
2005-02-18 22:12:43 +00:00
jlam
3b060f2811 Import courier-authlib-0.53 as security/courier-authlib.
The Courier authentication library provides authentication services for
other Courier applications.  In this context, the term "authentication"
refers to the following functions:

    1. Take a userid or a loginid, and a password. Determine whether the
       loginid and the password are valid.
    2. Given a userid, obtain the following information about the userid:

         A. The account's home directory.
         B. The numeric system userid and groupid that owns all files
            associated with this account.
         C. The location of the account's maildir.
         D. Any maildir quota defined for this account. See the Courier
            documentation for more information on maildir quotas.
         E. Other miscellaneous account-specific options.

    3. Change the password associated with a loginid.
    4. Obtain a complete list of all loginids.
2005-02-10 03:21:30 +00:00