/*
SSSD
Authors:
Sumit Bose <sbose@redhat.com>
Copyright (C) 2017 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "lib/certmap/sss_certmap.h"
#include "providers/ldap/ldap_common.h"
struct sdap_certmap_ctx {
};
struct priv_sss_debug {
int level;
};
{
}
if (DEBUG_IS_SET(level)) {
}
}
{
}
struct certmap_info **certmap_list)
{
int ret;
size_t c;
if (sdap_certmap_ctx == NULL) {
return EINVAL;
}
goto done;
}
goto done;
}
for (c = 0; certmap_list[c] != NULL; c++) {
certmap_list[c]->name,
certmap_list[c]->priority,
certmap_list[c]->match_rule,
certmap_list[c]->map_rule);
certmap_list[c]->match_rule,
certmap_list[c]->map_rule,
certmap_list[c]->domains);
if (ret != 0) {
"sss_certmap_add_rule failed for rule [%s] "
"with error [%d][%s], skipping. "
"Please check for typos and if rule syntax is supported.\n",
continue;
}
}
done:
} else {
}
return ret;
}
{
int ret;
bool hint;
struct sdap_certmap_ctx);
return ENOMEM;
}
}
&certmap_list, &hint);
goto done;
}
goto done;
}
done:
return ret;
}