[Samba] SAMBA4 kinit fails

Neil Balchin neil at neilandjo.com
Sun Sep 5 22:54:01 MDT 2010


I've tried that,  i ran

cp /usr/local/samba/private/krb5.conf /etc/krb5.conf

contents of /etc/krb5.conf 
are 
......

[libdefaults]
        default_realm = MYDOMAIN.COM
        dns_lookup_realm = false
        dns_lookup_kdc = false
        ticket_lifetime = 24h
        forwardable = yes

[realms]
        MYDOMAIN.COM = {
                kdc = pdc.mydomain.com:88
                admin_server = pdc.mydomain.com:749
                default_domain = mydomain.com
        }

[domain_realm]
        .mydomain.com = MYDOMAIN.COM
        mydomain.com = MYDOMAIN.COM



----- Original Message -----
From: "Aaron Solochek" <aarons-samba at aberrant.org>
To: samba at lists.samba.org
Sent: Monday, 6 September, 2010 12:33:53 AM
Subject: Re: [Samba] SAMBA4 kinit fails

On 09/05/2010 11:19 PM, Neil Balchin wrote:
> I'm trying to test Samba4 as an AD style pdc.
> 
> following the instructions at http://wiki.samba.org/index.php/Samba4/HOWTO
> 
> 
> at step 9 I get 
> 
> root at pdc:~# kinit administrator at MYDOMAIN.COM
> kinit: Cannot contact any KDC for realm 'MYDOMAIN.COM' while getting initial credentials
> root at pdc:~#
> 
> and yet
> 
> host -t SRV _kerberos._udp.mydomain.com
> 
> gives
> 
> _kerberos._udp.mydomain.com has SRV record 0 100 88 pdc.mydomain.com.
> 
> and 
> 
> root at pdc:~# host pdc.mydomain.com
> pdc.mydomain.com has address 192.168.1.167
> 
> during provisioning I see there is a krb5.conf  file created,  does it need to be moved anywhere special ?  is this perhaps my issue ?
> 
> I can't figure out why kinit isn't working for me
> 

It should be /etc/krb5.conf



> 
> Neil
> 
> 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list