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