aboutsummaryrefslogtreecommitdiff
path: root/src/pies.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-01-05 16:17:38 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2016-01-05 16:20:24 +0200
commit6ac0f1e8e19922c63a1542740a7c88116989bb7c (patch)
tree6124aaa6dbd729deab5de7550f6603056e39b4b3 /src/pies.c
parentf937fa90807400e87aa64cd03f2c8470093129d7 (diff)
downloadpies-6ac0f1e8e19922c63a1542740a7c88116989bb7c.tar.gz
pies-6ac0f1e8e19922c63a1542740a7c88116989bb7c.tar.bz2
Minor changes.
* src/ctl.c (ctlio_authenticate): Configurable realm name. (ctlio_do_command): Check the Accept header. * src/inetd.c (inetd_conf_file): Change line_no type. * src/pies.c (control_keywords): New keyword: realm. * src/pies.h (control) <realm>: New member.
Diffstat (limited to 'src/pies.c')
-rw-r--r--src/pies.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pies.c b/src/pies.c
index e7c1a22..f069552 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -1488,6 +1488,13 @@ struct grecs_keyword control_keywords[] = {
&control.idle_timeout, 0,
NULL,
},
+ {"realm",
+ N_("name"),
+ N_("Authentication realm name"),
+ grecs_type_string, GRECS_DFLT,
+ &control.realm, 0,
+ NULL,
+ },
{ NULL }
};

Return to:

Send suggestions and report system problems to the System administrator.