/*
SSSD - certificate handling utils
Copyright (C) Sumit Bose <sbose@redhat.com> 2015
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 "util/crypto/sss_crypto.h"
{
int ret;
unsigned char *der;
return EINVAL;
}
return EINVAL;
}
}
return ret;
}
char **derb64)
{
int ret;
return ret;
}
return EINVAL;
}
return EOK;
}
const char *attr_name,
struct sss_certmap_ctx *certmap_ctx,
struct sss_domain_info *dom,
char **ldap_filter)
{
int ret;
unsigned char *der;
char *val;
size_t c;
return EINVAL;
}
return EINVAL;
}
if (certmap_ctx == NULL) {
return ret;
}
if (*ldap_filter == NULL) {
return ENOMEM;
}
} else {
if (ret != 0) {
"Certificate does not match matching-rules.\n");
} else {
"sss_certmap_get_search_filter failed.\n");
}
} else {
if (IS_SUBDOMAIN(dom)) {
"Rule applies only to local domain.\n");
}
} else {
"Rule applies to current domain [%s].\n",
break;
}
}
"Rule does not apply to current domain [%s].\n",
}
}
}
if (*ldap_filter == NULL) {
}
}
return ret;
}
return EOK;
}
char **_str)
{
int ret;
size_t c;
char *p;
return EINVAL;
}
return ENOMEM;
}
p = str;
for (c = 0; c < blob_size; c++) {
if (ret != 3) {
goto done;
}
p += 3;
}
done:
} else {
}
return ret;
}