From 31b5c4ad38d1f4f2cf2b2ebcaf167f63dded5d7a Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 9 Aug 2018 20:44:15 +0100 Subject: [PATCH] Revert "Don't treat Juniper 'realm' field as authgroup" This reverts commit b0a50a7e80e9b6a2d8aaa44c74b350a4aab51dc7. --- auth-juniper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auth-juniper.c b/auth-juniper.c index f04d49a2..30ceb3ae 100644 --- a/auth-juniper.c +++ b/auth-juniper.c @@ -188,6 +188,8 @@ static int parse_select_node(struct openconnect_info *vpninfo, struct oc_auth_fo xmlnode_get_prop(node, "name", &opt->form.name); opt->form.label = strdup(opt->form.name); opt->form.type = OC_FORM_OPT_SELECT; + if (!strcmp(opt->form.name, "realm")) + form->authgroup_opt = opt; for (child = node->children; child; child = child->next) { struct oc_choice **new_choices;