Bug 28819 - Fehlermeldung bei univention-s4search NT_STATUS_NO_LOGON_SERVERS
Fehlermeldung bei univention-s4search NT_STATUS_NO_LOGON_SERVERS
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.1-1
Assigned To: Stefan Gohmann
Arvid Requate
:
: 28791 30283 (view as bug list)
Depends on:
Blocks: 31306
  Show dependency treegraph
 
Reported: 2012-10-17 20:08 CEST by Arvid Requate
Modified: 2013-05-07 15:20 CEST (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
requate: Patch_Available+


Attachments
Patch fügt Pseudo-Realm für NETBIOS zu krb5.conf hinzu. (2.71 KB, patch)
2012-10-31 13:07 CET, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2012-10-17 20:08:04 CEST
Unter UCS 3.1 (und in einer Testumgebung auch unter UCS 3.0-2) fällt häufiger folgende Fehlermeldung auf, die aber zunächst keine funktionseinschränkungen nach sich zu ziehen scheint:

============================================================================
root@m1:~# univention-s4search cn=Administrator dn
SPNEGO(gssapi_krb5) creating NEG_TOKEN_INIT failed: NT_STATUS_NO_LOGON_SERVERS
# record 1
dn: CN=Administrator,CN=Users,DC=arucs31i1,DC=qa
============================================================================

mit höherem Debuglevel sieht man:

============================================================================
Cannot reach a KDC we require to contact ldap/m1.arucs31i1.qa@ARUCS31I1.QA : kinit for m1$@ARUCS31I1 failed (Cannot contact any KDC for requested realm)
============================================================================

Stimmt, kinit auf 'm1$@ARUCS31I1' geht nicht, während kinit auf 'm1$@ARUCS31I1.QA' und 'm1$' funktioniert.


============================================================================
root@m1:~# kinit 'm1$@ARUCS31I1.QA'
m1$@ARUCS31I1.QA's Password: 
root@m1:~# kdestroy 
root@m1:~# kinit 'm1$'
m1$@ARUCS31I1.QA's Password: 
root@m1:~# kdestroy 
root@m1:~# kinit 'm1$@ARUCS31I1'
m1$@ARUCS31I1's Password: 
kinit: krb5_get_init_creds: unable to reach any KDC in realm ARUCS31I1
============================================================================
Comment 1 Stefan Gohmann univentionstaff 2012-10-17 20:22:42 CEST
*** Bug 28791 has been marked as a duplicate of this bug. ***
Comment 2 Arvid Requate univentionstaff 2012-10-29 12:57:42 CET
Laut upstream könnte hier wie folgt eine pseudo-REALM in die kdc.conf definieren:

 MYUCSDOM = {
  kdc = 127.0.0.21:88
  admin_server = 127.0.0.21:88
  default_domain = myucsdom.com
 }
Comment 3 Arvid Requate univentionstaff 2012-10-31 13:07:55 CET
Created attachment 4759 [details]
Patch fügt Pseudo-Realm für NETBIOS zu krb5.conf hinzu.

Zusätzlich ersetzt der Patch configRegistry.has_key() durch configRegistry.get().
Comment 4 Stefan Gohmann univentionstaff 2013-02-05 15:36:23 CET
*** Bug 30283 has been marked as a duplicate of this bug. ***
Comment 5 Stefan Gohmann univentionstaff 2013-03-08 06:54:35 CET
Ich habe den Patch leicht erweitert und eingespielt. Die Section wird nur auf einem S4 DC geschrieben und es muss Netbios Name != Kerberos Realm sein.
Comment 6 Arvid Requate univentionstaff 2013-03-18 14:22:37 CET
Verfied:
 * Originalproblem ist behoben
 * Existenz von /usr/sbin/univention-s4search entscheidet darüber, ob der neue realm-Block in die krb5.conf eingetragen wird.
 * Changelog OK.
Comment 7 Stefan Gohmann univentionstaff 2013-03-25 19:57:02 CET
UCS 3.1-1 has been released: 
 http://download.univention.de/doc/release-notes-3.1-1_en.pdf
 http://download.univention.de/doc/release-notes-3.1-1.pdf

If this error occurs again, please use "Clone This Bug".