Lines Matching defs:auth_group
50 static int uclparse_chap(struct auth_group *, const ucl_object_t *);
51 static int uclparse_chap_mutual(struct auth_group *, const ucl_object_t *);
60 uclparse_chap(struct auth_group *auth_group, const ucl_object_t *obj)
68 "\"user\" string key", auth_group->ag_name);
75 "\"secret\" string key", auth_group->ag_name);
78 ca = auth_new_chap(auth_group,
89 uclparse_chap_mutual(struct auth_group *auth_group, const ucl_object_t *obj)
98 "\"user\" string key", auth_group->ag_name);
105 "\"secret\" string key", auth_group->ag_name);
112 "\"mutual-user\" string key", auth_group->ag_name);
119 "\"mutual-secret\" string key", auth_group->ag_name);
123 ca = auth_new_chap_mutual(auth_group,
139 struct auth_group *tag = NULL;
141 const ucl_object_t *portal_group, *auth_group;
150 auth_group = ucl_object_find_key(obj, "auth-group-name");
151 if (auth_group && auth_group->type != UCL_STRING) {
165 if (auth_group) {
166 tag = auth_group_find(conf, ucl_object_tostring(auth_group));
169 "\"%s\"", ucl_object_tostring(auth_group),
394 struct auth_group *auth_group;
404 auth_group = auth_group_find(conf, name);
407 auth_group = auth_group_new(conf, name);
410 if (auth_group == NULL)
419 err = auth_group_set_type(auth_group, value);
434 if (uclparse_chap(auth_group, tmp) != 0)
449 if (uclparse_chap_mutual(auth_group, tmp) != 0)
466 an = auth_name_new(auth_group, value);
484 ap = auth_portal_new(auth_group, value);