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
63 assert(auth_group != NULL); in uclparse_chap()
67 "\"user\" string key", auth_group->ag_name); in uclparse_chap()
74 "\"secret\" string key", auth_group->ag_name); in uclparse_chap()
77 ca = auth_new_chap(auth_group, in uclparse_chap()
88 uclparse_chap_mutual(struct auth_group *auth_group, const ucl_object_t *obj) in uclparse_chap_mutual() argument
94 assert(auth_group != NULL); in uclparse_chap_mutual()
98 "\"user\" string key", auth_group->ag_name); in uclparse_chap_mutual()
105 "\"secret\" string key", auth_group->ag_name); in uclparse_chap_mutual()
112 "\"mutual-user\" string key", auth_group->ag_name); in uclparse_chap_mutual()
119 "\"mutual-secret\" string key", auth_group->ag_name); in uclparse_chap_mutual()
123 ca = auth_new_chap_mutual(auth_group, in uclparse_chap_mutual()
139 struct auth_group *tag = NULL; in uclparse_target_portal_group()
141 const ucl_object_t *portal_group, *auth_group; in uclparse_target_portal_group() local
150 auth_group = ucl_object_find_key(obj, "auth-group-name"); in uclparse_target_portal_group()
151 if (auth_group && auth_group->type != UCL_STRING) { in uclparse_target_portal_group()
165 if (auth_group) { in uclparse_target_portal_group()
166 tag = auth_group_find(conf, ucl_object_tostring(auth_group)); in uclparse_target_portal_group()
169 "\"%s\"", ucl_object_tostring(auth_group), in uclparse_target_portal_group()
394 struct auth_group *auth_group; in uclparse_auth_group() local
404 auth_group = auth_group_find(conf, name); in uclparse_auth_group()
407 auth_group = auth_group_new(conf, name); in uclparse_auth_group()
410 if (auth_group == NULL) in uclparse_auth_group()
419 err = auth_group_set_type(auth_group, value); in uclparse_auth_group()
434 if (uclparse_chap(auth_group, tmp) != 0) in uclparse_auth_group()
449 if (uclparse_chap_mutual(auth_group, tmp) != 0) in uclparse_auth_group()
466 an = auth_name_new(auth_group, value); in uclparse_auth_group()
484 ap = auth_portal_new(auth_group, value); in uclparse_auth_group()