Bug 27497 - Traceback in join.log von create_site auf Samba4 DC Slave ohne Master-Samba4
Traceback in join.log von create_site auf Samba4 DC Slave ohne Master-Samba4
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.0
Other Linux
: P5 minor (vote)
: UCS 3.0-2
Assigned To: Arvid Requate
Felix Botner
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-07 12:38 CEST by Arvid Requate
Modified: 2012-07-20 15:25 CEST (History)
1 user (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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2012-06-07 12:38:46 CEST
Die create_site() Funktion bzw. das darin aufgerufene Skript univention-samba4-site-tool.py scheitert im Moment auf einem Samba4 DC Slave ohne Master-Samba4 mit einem Traceback, zumindest beim samba3upgrade. Die Site ist dennoch angelegt, da wir beim secondary provision die --sitename mit übergeben (Bug 26504 Comment 2).

IIRC ist diese Funktion ein Relikt aus der frühen UCS@School 3.0 RC1 Strategie, die Samba4 DC Slaves per samba-tool domain join --critical-only zu initialisieren, und könnte einfach entfernt werden.

=============================================================================
Create samba4/role
File: /etc/samba/base.conf
Multifile: /etc/samba/smb.conf
Create samba4/ldap/base
Multifile: /etc/samba/smb.conf
Error reading smb_krb5 reply packet: NT_STATUS_CONNECTION_REFUSED from 10.200.8.13
Error reading smb_krb5 reply packet: NT_STATUS_CONNECTION_REFUSED from 10.200.8.12
Error reading smb_krb5 reply packet: NT_STATUS_CONNECTION_REFUSED from 10.200.8.13
Error reading smb_krb5 reply packet: NT_STATUS_CONNECTION_REFUSED from 10.200.8.13
Error reading smb_krb5 reply packet: NT_STATUS_CONNECTION_REFUSED from 10.200.8.12
Error reading smb_krb5 reply packet: NT_STATUS_CONNECTION_REFUSED from 10.200.8.13
Error reading smb_krb5 reply packet: NT_STATUS_CONNECTION_REFUSED from 10.200.8.13
Error with ticket to contact ldap/master.s3i2.school@S3I2.SCHOOL: ticket is expired, possible clock skew between us and the KDC or target server:  Miscellaneous failure (see text)
: Ticket expired
Failed to bind - LDAP client internal error: NT_STATUS_INVALID_PARAMETER
Failed to connect to 'ldap://master.s3i2.school' with backend 'ldap'
Traceback (most recent call last):
  File "/usr/share/univention-samba4/scripts/univention-samba4-site-tool.py", line 106, in <module>
    samdb = SamDB(opts.database_url, credentials=creds, session_info=system_session(lp), lp=lp)
  File "/usr/lib/python2.6/dist-packages/samba/samdb.py", line 57, in __init__
    options=options)
  File "/usr/lib/python2.6/dist-packages/samba/__init__.py", line 113, in __init__
    self.connect(url, flags, options)
  File "/usr/lib/python2.6/dist-packages/samba/samdb.py", line 72, in connect
    options=options)
_ldb.LdbError: (1, None)
Create server/password/change
Comment 1 Arvid Requate univentionstaff 2012-07-09 14:33:01 CEST
Fixed: Es wird jetzt erst per ldbsearch gegen ldap/master getestet, ob dort auf Port 389 ein Samba 4 ansprechbar ist, sonst wird nicht versucht dort eine Site anzuelegen.
Comment 2 Felix Botner univentionstaff 2012-07-12 15:14:23 CEST
Konnte mit 3.0-1 nachvollzogen werden.

Ab 3.0-2 gibt es das Problem auf dem Slave nicht mehr. Join eines Windows7 und Anmeldung am Windows7 mit Domänen Account klappt.

Changelog Eintrag vorhanden.
Comment 3 Stefan Gohmann univentionstaff 2012-07-20 15:25:19 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

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