mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
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.
This commit is contained in:
1 parent
a5d162ccfa
commit
f3a6cb59f6
2 files changed
+171
No files matched your search
@@ -331,6 +331,13 @@ $c->schedule_private_key = 'PRIVATE-KEY-BASE-64-DATA';
|
||||
// );
|
||||
//include('drivers_squid_pam.php');
|
||||
|
||||
/**
|
||||
* Authentication against PAM/system password database using pwauth.
|
||||
*/
|
||||
//$c->authenticate_hook = array('call' => 'PWAUTH_PAM_check',
|
||||
// 'config' => array('path' => '/usr/sbin/pwauth',
|
||||
// 'email_base' => 'example.com'));
|
||||
//include('drivers_pwauth_pam.php');
|
||||
|
||||
/**
|
||||
* The default locale will be "en_NZ";
|
||||
|
||||
Reference in new issue
Block a user