diff options
author | Stef Walter <stef@memberwebs.com> | 2004-08-17 20:59:46 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-08-17 20:59:46 +0000 |
commit | 2888f640a34e34d5a85841976fb8937c4a7774a0 (patch) | |
tree | 2a7def098a694e9c54b23d5c1b54d51e3a4ae9ed /sample | |
parent | be3808480b56e33331dcc2fac79bd847a3d8c77b (diff) |
Small updates toward new version.
Diffstat (limited to 'sample')
-rw-r--r-- | sample/httpauthd.conf | 31 |
1 files changed, 25 insertions, 6 deletions
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 |