summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-04-26 16:50:46 +0000
committerStef Walter <stef@memberwebs.com>2004-04-26 16:50:46 +0000
commit7ede8b330f777a0ff5c960eaecc1850b84289620 (patch)
tree73ebca8037baeafb49fcb8fdae84de4cf0c7777f
parent6f493edb96610203727b35bbe45264a932bfa2a2 (diff)
Completed debug nonce support on ldap handler
-rw-r--r--daemon/ldap.c8
-rw-r--r--sample/httpauthd.conf17
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