From 0cb3f6098d959479a96c26a92d91becc2110b30d Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 11 Jun 2008 21:48:27 +0000 Subject: Support getting groups from the server and limiting access based on LDAP groups. See #112 --- daemon/httpauthd.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'daemon/httpauthd.h') 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; -- cgit v1.2.3