2 Commits

Author SHA1 Message Date
Andrew McMillan
20ee255898 Refactor fetching of Principal records from database.
This is a significant refactoring, replacing the old getUserBy*()
functions with a new Principal class, and replacing the old
CalDAVPrincipal class with a new DAVPrincipal class which extends
the Principal class.

At this point all regression tests pass (again) but there could
well be issues for people who use alternative authenticators
such as LDAP, although I have endeavoured to resolve those
potential issues.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-03 10:16:43 +13:00
Michael Trausch
f3a6cb59f6 A module for authorization by way of the "pwauth" program
This commit adds support for using the 'pwauth' program for
authentication to the system.  It detects all of the documented return
codes for pwauth.  The pwauth program can perform system
authentication with or without PAM or login.conf.
2010-05-14 22:16:13 +12:00