From 2888f640a34e34d5a85841976fb8937c4a7774a0 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 17 Aug 2004 20:59:46 +0000 Subject: Small updates toward new version. --- sample/httpauthd.conf | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) (limited to 'sample/httpauthd.conf') diff --git a/sample/httpauthd.conf b/sample/httpauthd.conf index f9481d2..19b168b 100644 --- a/sample/httpauthd.conf +++ b/sample/httpauthd.conf @@ -5,27 +5,46 @@ MaxThreads: 18 CacheTimeout: 300 # AuthTypes: Digest AuthTypes: Basic Digest +# AuthTypes: Basic Socket: 0.0.0.0 # DigestIgnoreNC: True -[Simple:UDB] +[Simple:UDBsim] Realm: blah PasswordFile: /data/projects/httpauth/sample/passwd.file -[LDAP] +[LDAP:UDBldap] Realm: blah LDAPServers: authdev.ws.local LDAPDoBind: False LDAPDNMap: cn=%u,ou=test,dc=fam -# DigestDomains: http://test.ws.local/ LDAPUser: cn=root,dc=fam LDAPPassword: ldaptest@@password -# LDAPHA1Attr: login +LDAPHA1Attr: clearPassword LDAPPWAttr: clearPassword -DigestDebugNonce: AkCLQA==560f26e24db2d4cecbe5d6e24d958377ab73def9 - +# DigestDebugNonce: AkCLQA==560f26e24db2d4cecbe5d6e24d958377ab73def9 LDAPFilter: (cn=%u) LDAPBase: dc=fam LDAPScope: sub +[PGSQL:UDBpg] +Realm: blah +DBServer: sean-2 +DBUser: testuser +DBPassword: testuser +DBDatabase: test +DBQuery: SELECT * from testauth WHERE username = '%u'; +# DBPWType: md5 +DBHA1Column: pw + +[MYSQL:UDB] +Realm: blah +DBServer: var/lib/mysql/mysql.sock +DBUser: testuser +DBPassword: testuser +DBDatabase: test +DBQuery: UPDATE testauth SET name = 'testo'; +# DBQuery: SELECT pw from testauth WHERE name = '%u'; +# DBPWType: crypt +# DBHA1Column: pw -- cgit v1.2.3