summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2015-03-19 10:21:21 -0400
committerJakub Hrozek <jhrozek@redhat.com>2015-03-19 17:36:23 +0100
commit131da4d9f40e0e407d7bcae18ff16507976bc6c7 (patch)
tree1bfaa70dc787d8709d79256c09e72dde7de32baf /src/providers
parentabb093b4ae10f2a5748bf9f194bf76794002eba0 (diff)
downloadsssd-131da4d9f40e0e407d7bcae18ff16507976bc6c7.tar.gz
sssd-131da4d9f40e0e407d7bcae18ff16507976bc6c7.tar.xz
sssd-131da4d9f40e0e407d7bcae18ff16507976bc6c7.zip
IPA: set EINVAL if dn can't be linearized
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ipa/ipa_s2n_exop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_s2n_exop.c b/src/providers/ipa/ipa_s2n_exop.c
index c7fd1009b..a844ee99d 100644
--- a/src/providers/ipa/ipa_s2n_exop.c
+++ b/src/providers/ipa/ipa_s2n_exop.c
@@ -1293,6 +1293,7 @@ static errno_t process_members(struct sss_domain_info *domain,
dn_str = ldb_dn_get_linearized(msg->dn);
if (dn_str == NULL) {
DEBUG(SSSDBG_OP_FAILURE, "ldb_dn_get_linearized failed.\n");
+ ret = EINVAL;
goto done;
}