Bug 14414 - Samba 3.3 Import
Samba 3.3 Import
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba
UCS 2.2
All All
: P5 normal (vote)
: UCS 2.3
Assigned To: Arvid Requate
Felix Botner
:
Depends on: 16052 16303
Blocks: 14412 15777 16227
  Show dependency treegraph
 
Reported: 2009-05-11 14:13 CEST by Stefan Gohmann
Modified: 2009-12-21 08:49 CET (History)
0 users

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
Registry Anpassung aus http://wiki.samba.org/index.php/Windows7 (1.25 KB, application/octet-stream)
2009-10-16 14:45 CEST, Arvid Requate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2009-05-11 14:13:16 CEST
Für UCS 2.3 sollte Samba 3.3 importiert und gebaut werden.

Die Todo-Punkte:

* Paketierung
* tdbimport & tdb export Tools
* Vampire XML
* init.d-Script Anpassung
* Browselist-Filter Patch
* sambaPasswordHistory Patch
* legacy NT Join Patch
* Python-rpc
* Defaults anpassen
Comment 1 Stefan Gohmann univentionstaff 2009-06-02 07:34:35 CEST
Samba 3.3.5 ist für Mitte Juni geplant:

http://www.nabble.com/-Release-Planning-3.3--Samba-3.3.5-on-June-16--td23615191.html

Darauf sollten wir mindestens warten.
Comment 2 Arvid Requate univentionstaff 2009-06-29 09:42:13 CEST
 - Samba 3.3.5 ist importiert. Dazu wurde die 3.3.5 Source per uupdate auf Grundlage des Lenny samba_3.3.4-1~bpo50+2 Pakets in ein Debian Paket verwandelt.
 - Die Univention Patches wurden an den neuen Code angepasst:
   * python rpc printer bindings
   * vampire xml
   Der rpc vampire Code wurde in Samba 3.3.x umstrukturiert, sodass die
   Ausgabetyp-abhängigen Funktionen jetzt in libnet/libnet_samsync* liegen.
   Lästig ist daran u.a., dass smbd und vfstest gegen libnet gelinkt werden,
   und nun ebenfalls libxml2 zum Linken benötigen.
 - der 70_lanman_hash Patch für UCS 2.2-2 / Samba 3.2.5 wurde übernommen.
Comment 3 Stefan Gohmann univentionstaff 2009-07-29 20:45:52 CEST
Wir sollten noch auf Samba 3.3.7 aktualisieren.
Comment 4 Arvid Requate univentionstaff 2009-07-31 09:29:56 CEST
Das neue Upstream Paket wurde in der Version 3.3.7 kopiert um aus dem Debian Paket der Version 3.3.5 per uupdate ein neues Debian Paket zu erstellen.
Das neue Debian Paket wurde per "im sr local" importiert und liess sich mit den Univention Patches bauen.
Changelog ist jetzt auch vorhanden.
Comment 5 Stefan Gohmann univentionstaff 2009-10-16 06:58:41 CEST
Das Update auf 3.3.9 sollten wir noch mitnehmen:

Major enhancements in Samba 3.3.9 include:

   o Fix trust relationships to windows 2008 (2008 r2) (bug #6711).
   o Fix file corruption using smbclient with NT4 server (bug #6606).
   o Fix Windows 7 share access (which defaults to NTLMv2) (bug #6680).
   o Fix SAMR server for Winbind access (bug #6504).
Comment 6 Arvid Requate univentionstaff 2009-10-16 14:45:23 CEST
Created attachment 1904 [details]
Registry Anpassung aus http://wiki.samba.org/index.php/Windows7

Join von Windows 7 Ultimate war mit der Registry Anpassung soweit erfolgreich, ein Maschinenkonto wurde angelegt. Ein erstes Login als UNIVENTION\Administrator dauert aber sehr lange. Sharezugriff war erfolgreich.
Folgende Meldungen erscheinen im Samba Log:

  smbd version 3.3.9 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/10/10 19:26:48,  0] rpc_server/srv_netlog_nt.c:_netr_ServerAuthenticate2(555)
  _netr_ServerAuthenticate2: netlogon_creds_server_check failed. Rejecting auth request from client WIN7ULTQA machine account WIN7ULTQA$
[2009/10/10 19:27:15,  0] lib/util_sock.c:read_socket_with_timeout(939)
[2009/10/10 19:27:15,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Der Socket ist nicht verbunden
  read_socket_with_timeout: client 0.0.0.0 read error = Die Verbindung wurde vom Kommunikationspartner zurückgesetzt.
[2009/10/10 19:36:50,  0] rpc_server/srv_netlog_nt.c:_netr_ServerAuthenticate2(555)
  _netr_ServerAuthenticate2: netlogon_creds_server_check failed. Rejecting auth request from client WIN7ULTQA machine account WIN7ULTQA$
[2009/10/10 19:37:38,  0] lib/util_sock.c:read_socket_with_timeout(939)
[2009/10/10 19:37:38,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Der Socket ist nicht verbunden
  read_socket_with_timeout: client 0.0.0.0 read error = Die Verbindung wurde vom Kommunikationspartner zurückgesetzt.
Comment 7 Stefan Gohmann univentionstaff 2009-11-06 08:41:39 CET
Hier nur eine kurze QA, der Rest folgt in den Produkt-Tests.
Comment 8 Felix Botner univentionstaff 2009-11-10 11:55:27 CET
python-samba FAILED:

Ich hab auf einem Windows einen Drucker freigegeben:

-> net rpc printer list -I 10.200.7.33
listing printers
printer 1: Apollo P-1200, shared as: Apollo

Die Python Anbindung scheint aber nicht zu funktionieren.

from samba import spoolss
spoolss.enumprinters("\\\\10.200.7.33")
{}

Version OK:
-> smbd -V
Version 3.3.9


Join OK:
Join eines WindowsXP (Anmeldung mit DomUserAccount) funktioniert

Net RPC OK:
net rpc -U Administrator%univention registry \
  setvalue 'HKLM\Software\iTALC Solutions\iTALC' \
  'test' 'SZ' 'mytest' -I 10.200.7.33

smbclient OK:
Linux Client funktioniert

Patches OK:
sind übernommen
Comment 9 Felix Botner univentionstaff 2009-11-16 16:09:34 CET
auch python-samba funktioniert (mit NT4 Servern, nicht mit z.B. XP)

-> univention-get-winprinters --nt4_server=10.200.7.34
Please enter NT4-Administrator-Username: Administrator
Please enter NT4-Password:
Get list of printer from 10.200.7.34
Rename (Net)Printer \\Anton\LaserJet LaserJet
Printer 1: "LaserJet"
dpkg-deb: Baue Paket »winprt-laserjet« in »winprt-laserjet.deb«.
Printer 2: "DeskJet"
dpkg-deb: Baue Paket »winprt-deskjet« in »winprt-deskjet.deb«.
Comment 10 Stefan Gohmann univentionstaff 2009-12-21 08:49:18 CET
UCS 2.3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".