Lines Matching defs:svc
613 struct hbac_request_element *svc;
623 svc = talloc_zero(tmp_ctx, struct hbac_request_element);
624 if (svc == NULL) {
629 svc->name = servicename;
631 svc_dn = sysdb_custom_dn(tmp_ctx, domain, svc->name, HBAC_SERVICES_SUBDIR);
647 ret = create_empty_grouplist(svc);
663 ret = create_empty_grouplist(svc);
668 svc->groups = talloc_array(svc, const char *, el->num_values + 1);
669 if (svc->groups == NULL) {
690 svc->groups[j] = talloc_steal(svc->groups, name);
694 svc->groups[j] = NULL;
700 *svc_element = talloc_steal(mem_ctx, svc);