Hello,

Clarify error message about IPv6 socket creation in ipa-cldap plugin.

https://fedorahosted.org/freeipa/ticket/4056

--
Petr^2 Spacek
From e7c950a17a13abe2c2ea430c1f8ca2b1ab44513d Mon Sep 17 00:00:00 2001
From: Petr Spacek <pspa...@redhat.com>
Date: Tue, 3 Dec 2013 15:10:26 +0100
Subject: [PATCH] Clarify error message about IPv6 socket creation in ipa-cldap
 plugin

https://fedorahosted.org/freeipa/ticket/4056
---
 daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.c b/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.c
index 54d44ebf64b1efa0dda06773736d3413a6b70977..fb63c9c3a9f5473eaf199f928c1e2b538ad61c30 100644
--- a/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.c
+++ b/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.c
@@ -147,7 +147,8 @@ static int ipa_cldap_init_service(Slapi_PBlock *pb,
 
     ctx->sd = socket(PF_INET6, SOCK_DGRAM, 0);
     if (ctx->sd == -1) {
-        LOG_FATAL("Failed to create socket\n");
+        LOG_FATAL("Failed to create IPv6 socket: IPv6 support in kernel "
+                  "is required\n");
         ret = EIO;
         goto done;
     }
-- 
1.8.3.1

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to