On Tue, 28 May 2013, Nicholas MacKenzie wrote:
Hello,

I have seen this happen on multiple fresh installs now. Can anyone shed any
light on it? I am unable to add a trust because of this, I assume. An
smbclient lookup against the DC works.
======================
# ipa trust-add --type=ad ad.dc.com --admin username --password
Active directory domain administrator's password:
ipa: ERROR: Cannot find specified domain or server name
======================
/var/log/httpd/error_log:
[Tue May 28 07:05:01 2013] [error] ipa: INFO: ad...@ipa.dc.com: trust_add(u'
ad.dc.sita.aero', trust_46'): NotFound
======================
# ipactl restart
Restarting Directory Service
Shutting down dirsrv:
   IPA-DC-COM.                                [  OK  ]
   PKI-IPA...                                             [  OK  ]
Starting dirsrv:
  IPA-DC-COM ...[28/May/2013:07:09:24 +0000] ipa_cldap_init_service -
[file ipa_cldap.c, line 148]: Failed to create socket
What operating system is that?

Here is what we have in ipa_cldap.c:
   ctx->sd = socket(PF_INET6, SOCK_DGRAM, 0);
    if (ctx->sd == -1) {
        LOG_FATAL("Failed to create socket\n");
        ret = EIO;
        goto done;
    }

So we failed to create a socket using PF_INET6 family. It looks like you
don't have IPv6 enabled in your kernel?

--
/ Alexander Bokovoy

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

Reply via email to