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 --- tools/mkha1.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/mkha1.c') diff --git a/tools/mkha1.c b/tools/mkha1.c index 97c7dcd..c61c725 100644 --- a/tools/mkha1.c +++ b/tools/mkha1.c @@ -41,6 +41,7 @@ #include #include #include +#include #include "compat.h" #include "buffer.h" @@ -147,9 +148,9 @@ static char* check_value(ha_buffer_t* buf, char* value, const char* name) } if(value[0] == 0) - errx("%s is empty"); + errx(1, "%s is empty", name); if(strchr(value, ':') != NULL) - errx("%s must be a not contain colons"); + errx(1, "%s must be a not contain colons", name); return value; } -- cgit v1.2.3