directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <>
Subject [jira] [Created] (DIRKRB-615) Can not connect to simplekdc server
Date Mon, 05 Dec 2016 19:33:58 GMT
John Zhuge created DIRKRB-615:

             Summary: Can not connect to simplekdc server
                 Key: DIRKRB-615
             Project: Directory Kerberos
          Issue Type: Bug
    Affects Versions: 1.0.0-RC2
            Reporter: John Zhuge

Started a simplekdc server which generated the following krb5.conf:
    kdc_realm = EXAMPLE.COM
    default_realm = EXAMPLE.COM
    udp_preference_limit = 1
    kdc_tcp_port = 10088

        kdc = localhost:10088
But kinit failed to connect to simplekdc server on Mac:
$ kinit jzhuge
jzhuge@EXAMPLE.COM's password: 
kinit: krb5_get_init_creds: unable to reach any KDC in realm EXAMPLE.COM, tried 1 KDC

Wireshark showed kinit used UDP, while simplekdc was configured with TCP. Replaced the {{kdc}}
option in krb5.conf with {{kdc = tcp/localhost:10088}}, kinit was able to connect.

Suggested fix:

Add {{<service>/}} prefix to option {{kdc}} in the template

This message was sent by Atlassian JIRA

View raw message