Lines Matching defs:auth_group
48 static int uclparse_chap(struct auth_group *, const ucl_object_t *);
49 static int uclparse_chap_mutual(struct auth_group *, const ucl_object_t *);
58 uclparse_chap(struct auth_group *auth_group, const ucl_object_t *obj)
66 "\"user\" string key", auth_group->ag_name);
73 "\"secret\" string key", auth_group->ag_name);
76 ca = auth_new_chap(auth_group,
87 uclparse_chap_mutual(struct auth_group *auth_group, const ucl_object_t *obj)
96 "\"user\" string key", auth_group->ag_name);
103 "\"secret\" string key", auth_group->ag_name);
110 "\"mutual-user\" string key", auth_group->ag_name);
117 "\"mutual-secret\" string key", auth_group->ag_name);
121 ca = auth_new_chap_mutual(auth_group,
137 struct auth_group *tag = NULL;
139 const ucl_object_t *portal_group, *auth_group;
148 auth_group = ucl_object_find_key(obj, "auth-group-name");
149 if (auth_group && auth_group->type != UCL_STRING) {
163 if (auth_group) {
164 tag = auth_group_find(conf, ucl_object_tostring(auth_group));
167 "\"%s\"", ucl_object_tostring(auth_group),
392 struct auth_group *auth_group;
402 auth_group = auth_group_find(conf, name);
405 auth_group = auth_group_new(conf, name);
408 if (auth_group == NULL)
417 err = auth_group_set_type(auth_group, value);
432 if (uclparse_chap(auth_group, tmp) != 0)
447 if (uclparse_chap_mutual(auth_group, tmp) != 0)
464 an = auth_name_new(auth_group, value);
482 ap = auth_portal_new(auth_group, value);