summaryrefslogtreecommitdiff
path: root/daemon/httpauthd.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/httpauthd.c')
-rw-r--r--daemon/httpauthd.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/daemon/httpauthd.c b/daemon/httpauthd.c
index 17ed15c..f995d6d 100644
--- a/daemon/httpauthd.c
+++ b/daemon/httpauthd.c
@@ -36,9 +36,13 @@ extern ha_handler_t ntlm_handler;
/* This is the list of all available handlers */
ha_handler_t* g_handlerlist[] =
{
- &simple_handler,
+#if WITH_LDAP
&ldap_handler,
- &ntlm_handler
+#endif
+#if WITH_NTLM
+ &ntlm_handler,
+#endif
+ &simple_handler,
};
typedef struct httpauth_loaded