diff options
-rw-r--r-- | daemon/ldap.c | 8 | ||||
-rw-r--r-- | sample/httpauthd.conf | 17 |
2 files changed, 25 insertions, 0 deletions
diff --git a/daemon/ldap.c b/daemon/ldap.c index 3321c6a..c513ea7 100644 --- a/daemon/ldap.c +++ b/daemon/ldap.c @@ -1196,6 +1196,14 @@ int ldap_config(ha_context_t* context, const char* name, const char* value) return ha_confint(name, value, 0, 86400, &(ctx->ldap_timeout)); } +#ifdef _DEBUG + else if(strcmp(name, "digestdebugnonce") == 0) + { + ctx->debug_nonce = value; + return HA_OK; + } +#endif + return HA_FALSE; } diff --git a/sample/httpauthd.conf b/sample/httpauthd.conf index 4c97858..1b12e4a 100644 --- a/sample/httpauthd.conf +++ b/sample/httpauthd.conf @@ -10,3 +10,20 @@ Realm: blah PasswordFile: /data/projects/httpauth/sample/passwd.file DigestDebugNonce: AkCLQA==560f26e24db2d4cecbe5d6e24d958377ab73def9 + +[LDAP] +Realm: blah +LDAPServers: authdev.ws.local +LDAPDoBind: True +LDAPDNMap: cn=%u,ou=test,dc=fam +DigestDomains: http://test.ws.local/ +# LDAPFilter: +# LDAPBase: +# LDAPPWAttr: +# LDAPHA1Attr: +# LDAPUser: +# LDAPPassword: +# LDAPScope + + +LDAPDN |