summaryrefslogtreecommitdiff
path: root/daemon/httpauthd.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-06-11 21:48:27 +0000
committerStef Walter <stef@memberwebs.com>2008-06-11 21:48:27 +0000
commit0cb3f6098d959479a96c26a92d91becc2110b30d (patch)
tree22f1447d6c7ad77d802c476297cf9547f822f81a /daemon/httpauthd.h
parent67d7a6cc4d3234ac93e521632701e8d42513e042 (diff)
Support getting groups from the server and limiting access based on LDAP groups. See #112
Diffstat (limited to 'daemon/httpauthd.h')
-rw-r--r--daemon/httpauthd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/daemon/httpauthd.h b/daemon/httpauthd.h
index 1540138..e533dde 100644
--- a/daemon/httpauthd.h
+++ b/daemon/httpauthd.h
@@ -138,13 +138,13 @@ ha_context_t;
#define HA_MAX_ARGS 4
/*
- * The maximum number of pertinent headers to read
- * from the client. If you need to add valid headers
+ * The maximum number of pertinent headers to read/send
+ * from/to the client. If you need to add valid headers
* make sure to update this number *and* the list
* of valid headers in httpauthd.c
*/
-#define HA_MAX_HEADERS 2
+#define HA_MAX_HEADERS 8
/*
* The maximum number of handlers. If you add
@@ -183,6 +183,7 @@ typedef struct ha_request
/* Additional request info */
ha_context_t* context;
const char* digest_domain;
+ char** requested_groups;
/* The buffer in use for the request */
ha_buffer_t* buf;