[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: servname not supported for ai_socktype

On Mon, 2004-03-15 at 04:06, Henry B. Hotz wrote:
> At 12:55 PM -0500 3/14/04, Robert Fitzpatrick wrote:
> You could just delete the db files in /var/heimdal.  Oh, LDAP back 
> end.  Hmmm.  You don't have many principals defined yet.  Could just 
> delete all of them from LDAP with an LDAP client I suppose.

OK, it definitely looks as if Heimdal does not have openldap built-in. I
use FreeBSD ports collection to intstall, and have used portupgrade
which installed heimdal-0.6_2, the latest port for FreeBSD. Unless you
are familiar with FreeBSD ports, I'll go to that list to find out how to
make sure the support gets built-in, I can't seem to figure it out. But
do you know how I can tell for sure that it is not built-in? I am basing
this on the fact that when I add 'dbname =
ldap:ou=Users,dc=webtent,dc=net' to my database section in krb5.conf, it
creates the .db and .log files.

> Before you do that though what happens if you replace the numeric 
> address with "esmtp.webtent.net" in the conf file?

Still the same problem, but Heimdal seems to function fine:

esmtp# /usr/bin/verify_krb5_conf /etc/krb5.conf
verify_krb5_conf: /realms/WEBTENT.NET/kdc: servname not supported for
ai_socktype (esmtp.webtent.net)
verify_krb5_conf: /realms/WEBTENT.NET/admin_server: servname not
supported for ai_socktype (esmtp.webtent.net)

           ^                                               ^
          / \    Robert Fitzpatrick robert@webtent.com      \
         /   \   WebTent Networking, Inc.  www.webtent.com   \
        /     \                                               \
       / \\|// \      Office: 813-286-6502                     \
      / \\\|/// \     Fax: 813-281-2077                         \
     / \\ ~ ~ // \                                               \
    /  (\ @ @ /)  \   "Everything for your Internet presence      \
   / oOOo~(_)~oOOo \           presence under one tent"            \