summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-28 18:12:09 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-28 21:23:15 -0500
commit0451840fa34dfcffd86a00be8dbda9e4abd3f4d3 (patch)
tree4a85560044fb2b58075f272eaeafa32c7b1c975e /config
parentad4ba9ff9a32930a835f18b36bb2f3dda1f588d3 (diff)
downloadampache-0451840fa34dfcffd86a00be8dbda9e4abd3f4d3.tar.gz
ampache-0451840fa34dfcffd86a00be8dbda9e4abd3f4d3.tar.bz2
ampache-0451840fa34dfcffd86a00be8dbda9e4abd3f4d3.zip
Add 'external' auth method
Based on merge request #11
Diffstat (limited to 'config')
-rw-r--r--config/ampache.cfg.php.dist8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/ampache.cfg.php.dist b/config/ampache.cfg.php.dist
index d46b9514..baf4d835 100644
--- a/config/ampache.cfg.php.dist
+++ b/config/ampache.cfg.php.dist
@@ -81,9 +81,15 @@ session_cookiesecure = 0
; This defines which auth methods Auth will attempt to use and in which order.
; If auto_create isn't enabled the user must exist locally.
; DEFAULT: mysql
-; VALUES: mysql,ldap,http,pam
+; VALUES: mysql,ldap,http,pam,external
auth_methods = "mysql"
+; External authentication
+; This sets the helper used for external authentication. It should conform to
+; the interface used by mod_authnz_external
+; DEFAULT: none
+;external_authenticator = "/usr/sbin/pwauth"
+
; Automatic local password updating
; Determines whether successful authentication against an external source
; will result in an update to the password stored in the database.