[Samba] Error Message while joining a Domain as a DC

Ulrich Schneider man at ulrichschneider.de
Thu May 30 02:58:53 MDT 2013


Yes I get the passwort promt after typing kinit administrator.

I have two krb5.conf.

One in /etc and one in /usr/local/samba/private

P.S. This samba is manually kompiled and installed in /usr/local/samba/


Am 29.05.2013 23:28, schrieb Jim Potter:
> This looks like s kerberos error - can you
>
> kinit administrator
>
> and get a password prompt on the new DC? If not, check resolv.conf on
> new DC points at existing DC and check the realm details in krb5.conf
>
> Jim
>
> On 29/05/2013 20:18, Ulrich Schneider wrote:
>> I joined an existing domain according to:
>> https://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
>>
>> My  var/log.samba shows the following error message ... and
>> unfortunately ... I have no idea what that means.
>>
>> [2013/05/29 20:48:00,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: tkey query failed: GSSAPI
>> error: Major = Unspecified GSS failure.  Minor code may provide more
>> information, Minor = Server not found in Kerberos database.
>> [2013/05/29 20:48:00,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: tkey query failed: GSSAPI
>> error: Major = Unspecified GSS failure.  Minor code may provide more
>> information, Minor = Server not found in Kerberos database.
>> [2013/05/29 20:48:00,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: tkey query failed: GSSAPI
>> error: Major = Unspecified GSS failure.  Minor code may provide more
>> information, Minor = Server not found in Kerberos database.
>> [2013/05/29 20:48:00,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: tkey query failed: GSSAPI
>> error: Major = Unspecified GSS failure.  Minor code may provide more
>> information, Minor = Server not found in Kerberos database.
>> [2013/05/29 20:48:00,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: tkey query failed: GSSAPI
>> error: Major = Unspecified GSS failure.  Minor code may provide more
>> information, Minor = Server not found in Kerberos database.
>> [2013/05/29 20:48:00,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: tkey query failed: GSSAPI
>> error: Major = Unspecified GSS failure.  Minor code may provide more
>> information, Minor = Server not found in Kerberos database.
>> [2013/05/29 20:48:00,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: tkey query failed: GSSAPI
>> error: Major = Unspecified GSS failure.  Minor code may provide more
>> information, Minor = Server not found in Kerberos database.
>> [2013/05/29 20:58:01,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: tkey query failed: GSSAPI
>> error: Major = Unspecified GSS failure.  Minor code may provide more
>> information, Minor = Server not found in Kerberos database.
>> [2013/05/29 20:58:01,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: tkey query failed: GSSAPI
>> error: Major = Unspecified GSS failure.  Minor code may provide more
>> information, Minor = Server not found in Kerberos database.
>> [2013/05/29 20:58:01,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: tkey query failed: GSSAPI
>> error: Major = Unspecified GSS failure.  Minor code may provide more
>> information, Minor = Server not found in Kerberos database.
>> [2013/05/29 20:58:01,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: tkey query failed: GSSAPI
>> error: Major = Unspecified GSS failure.  Minor code may provide more
>> information, Minor = Server not found in Kerberos database.
>> [2013/05/29 21:08:01,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: Traceback (most recent call
>> last):
>> [2013/05/29 21:08:01,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate:   File
>> "/usr/local/samba/sbin/samba_dnsupdate", line 506, in <module>
>> [2013/05/29 21:08:01,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate:     get_credentials(lp)
>> [2013/05/29 21:08:01,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate:   File
>> "/usr/local/samba/sbin/samba_dnsupdate", line 119, in get_credentials
>> [2013/05/29 21:08:01,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: creds.get_named_ccache(lp,
>> ccachename)
>> [2013/05/29 21:08:01,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate: RuntimeError: kinit for
>> SERVERT$@GYM-FEU.LOCAL failed (Cannot contact any KDC for requested
>> realm)
>> [2013/05/29 21:08:01,  0]
>> ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
>>   /usr/local/samba/sbin/samba_dnsupdate:
>> ulrich at servert:/usr/local/samba$
>


More information about the samba mailing list