Bug 26088 - Samba Freigaben/Domain Join funktionieren nach Update auf 3.0-1 nicht mehr.
Samba Freigaben/Domain Join funktionieren nach Update auf 3.0-1 nicht mehr.
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0-1
Assigned To: Arvid Requate
Stefan Gohmann
:
Depends on:
Blocks: 24281
  Show dependency treegraph
 
Reported: 2012-02-10 12:46 CET by Felix Botner
Modified: 2012-03-04 14:34 CET (History)
2 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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2012-02-10 12:46:27 CET

    
Comment 1 Felix Botner univentionstaff 2012-02-10 12:51:22 CET
UCS 3.0 i386 Master mit samba4

Vor dem Update auf 3.0-1:

-> smbclient -U Administrator //10.200.7.70/Administrator
Cannot do GSSAPI to an IP address
Password for [FF\Administrator]:
smb: \> ls
  .                                   D        0  Thu Feb  9 16:01:26 2012
  ..                                  D        0  Thu Feb  9 16:01:26 2012
  .univention-skel.lock               H        0  Thu Feb  9 16:01:26 2012
  ...

Nach einem Update auf 3.0-1 funktioniert das dann nicht mehr, auch von einem Windows Client (Win7) kann nicht mehr auf die Freigabe zugegriffen werden.

-> smbclient -U Administrator //10.200.7.70/Administrator
Cannot do GSSAPI to an IP address
Password for [FF\Administrator]:
Connection to \\10.200.7.70\Administrator failed - NT_STATUS_INVALID_SERVER_STATE

/var/log/samba/log.samba
[2012/02/09 16:12:43.592886,  1, pid=6467] ../source4/auth/ntlm/auth.c:431(auth_generate_session_info_wrapper)
  Cannot contact winbind to provide unix token
[2012/02/09 16:12:43.594190,  1, pid=6467] ../source3/smbd/process.c:463(receive_smb_talloc)
  read_smb_length_return_keepalive failed for client ipv4:10.200.7.70:54841 read error = NT_STATUS_END_OF_FILE.
Comment 2 Felix Botner univentionstaff 2012-02-10 13:02:07 CET
Domain Join mit Win 7 Rechner geht funktioniert bei mir ebenfalls nicht mehr

/var/log/samba/log.samba
[2012/02/09 16:21:59.302929,  2, pid=7025] ../source3/smbd/process.c:2402(deadtime_fn)
  Closing idle connection
[2012/02/09 16:22:08.553056,  2, pid=7050] ../source3/smbd/sesssetup.c:1261(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2012/02/09 16:22:08.576073,  1, pid=7050] ../source4/auth/ntlm/auth.c:431(auth_generate_session_info_wrapper)
  Cannot contact winbind to provide unix token
[2012/02/09 16:22:16.264235,  2, pid=7050] ../source3/smbd/sesssetup.c:1261(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2012/02/09 16:22:16.282883,  1, pid=7050] ../source4/auth/ntlm/auth.c:431(auth_generate_session_info_wrapper)
  Cannot contact winbind to provide unix token

[2012/02/09 16:22:31.820527,  1, pid=7050] ../source3/smbd/process.c:463(receive_smb_talloc)
  read_smb_length_return_keepalive failed for client ipv4:10.200.7.25:61504 read error = NT_STATUS_CONNECTION_RESET.


Windows sagt mir, diese Operation sei nur auf primären Domain Controller der Domäne möglich.
Comment 3 Arvid Requate univentionstaff 2012-02-13 12:26:21 CET
Das scheint an der Umstellung auf den source3/winbindd zu hängen, im log.samba steht:

[2012/02/09 16:47:25.357899,  1, pid=4189] ../source4/auth/ntlm/auth.c:431(auth_generate_session_info_wrapper)
  Cannot contact winbind to provide unix token

Wenn man samba4/service/winbind wieder auf s4 setzt und samba4 neu startet funktioniert die Authentifikation am smbd wieder.
Comment 4 Arvid Requate univentionstaff 2012-02-13 16:00:52 CET
Die Einstellung
  samba4/service/winbind?winbindd
wird jetzt erst bei Installation von ucs-school-webproxy vorgenommen, im univention-samba4 Paket wird hingegen per default weiter der "s4" winbind verwendet.

Kein Changelog wegen Zwischenversion.
Comment 5 Stefan Gohmann univentionstaff 2012-02-23 12:11:04 CET
Funktioniert wieder problemlos.
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2012-03-04 14:34:28 CET
UCS 3.0-1 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert
werden: "Clone This Bug"