summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2013-07-09 10:25:51 +0300
committerAlexander Bokovoy <abokovoy@redhat.com>2013-07-11 12:39:27 +0300
commitfb62414e813bbc8bd287413ed2506c0fe7f9c589 (patch)
tree92e2a1af3d62b868af3fb3ae9c87ed9118f53367
parent912699ff588056d2bbe2147c04fa75588d0d5f16 (diff)
downloadfreeipa-fb62414e813bbc8bd287413ed2506c0fe7f9c589.zip
freeipa-fb62414e813bbc8bd287413ed2506c0fe7f9c589.tar.gz
freeipa-fb62414e813bbc8bd287413ed2506c0fe7f9c589.tar.xz
Make sure domain_name is also set when processing INP_NAME requests
-rw-r--r--daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_common.c b/daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_common.c
index 8aa22e1..823745e 100644
--- a/daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_common.c
+++ b/daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_common.c
@@ -295,6 +295,7 @@ int handle_request(struct ipa_extdom_ctx *ctx, struct extdom_req *req,
&grp_result);
}
}
+ domain_name = strdup(req->data.name.domain_name);
break;
default:
ret = LDAP_PROTOCOL_ERROR;