From 7ede8b330f777a0ff5c960eaecc1850b84289620 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 26 Apr 2004 16:50:46 +0000 Subject: Completed debug nonce support on ldap handler --- daemon/ldap.c | 8 ++++++++ sample/httpauthd.conf | 17 +++++++++++++++++ 2 files changed, 25 insertions(+) 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 -- cgit v1.2.3