Bug 21737 - Samba 3.5.11
Samba 3.5.11
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba
UCS 2.4
Other Linux
: P5 normal (vote)
: UCS 2.4-3
Assigned To: Arvid Requate
Stefan Gohmann
:
: 20320 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-07 10:33 CET by Arvid Requate
Modified: 2011-12-20 11:17 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 Arvid Requate univentionstaff 2011-03-07 10:33:11 CET
Samba 3.5.8 wurde heute veröffentlicht:

http://www.samba.org/samba/history/samba-3.5.8.html
Comment 1 Arvid Requate univentionstaff 2011-03-07 10:36:27 CET
Kommt recht spät für ucs2.4-2, daher getagged auf ucs2.4-3. Ggf. gibt es bis dahin Upstream auch schon ein neueres Patchlevel-Release.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2011-04-28 15:37:02 CEST
In Samba 3.5.4 ist Bug https://bugzilla.samba.org/show_bug.cgi?id=7262 enthalten, der auch schon beim Kunden aufgetreten ist (Ticket#: 2011042610006186).
Wir sollten daher vorab einen Hotfix für samba rausbringen.
Comment 3 Arvid Requate univentionstaff 2011-05-04 12:07:30 CEST
Übernahme der Patches aus sec2.4-3 und sec2.4-4 muss dabei grprüft werden (Bug #22318)
Comment 4 Stefan Gohmann univentionstaff 2011-06-27 07:34:18 CEST
http://samba.org/samba/history/samba-3.5.9.html
Comment 5 Arvid Requate univentionstaff 2011-06-29 17:38:45 CEST
Das Debian sid Paket ist importiert und mit angepassten Patches aus sec2.4-4 gebaut. Zusätzlich ist im Kundenscope das Paket mit dem Anpassungen für Ticket#: 2011020910001627 neu gebaut und kann dann mit dem Release von UCS 2.4-3 für den Kunden announced werden. ucs-test-samba funktioniert, Windows7 Client Test wird nochmal separat über Bug 19560 getestet. Amd64 Build dauert noch.
Comment 6 Arvid Requate univentionstaff 2011-07-06 09:34:16 CEST
Das Paket ist jetzt auch für amd64 gebaut.
Comment 7 Stefan Gohmann univentionstaff 2011-08-16 10:34:32 CEST
wie besprochen, wir sollten noch auf 3.5.11 aktualisieren:

https://bugzilla.samba.org/show_bug.cgi?id=8238

http://samba.org/samba/history/samba-3.5.11.html
Comment 8 Arvid Requate univentionstaff 2011-08-16 20:40:27 CEST
Das sid-Paket ist importiert und mit den übernommenen UCS-Patches gebaut. In 55_ldapfilter_password-history.patch musste lp_ldap_filter jetzt auch in proto.h deklariert werden, um unter amd64 einen talloc stack trace beim Starten des smbd zu vermeiden:

BACKTRACE: 20 stack frames:
 #0 /usr/sbin/smbd(log_stack_trace+0x1a) [0x7fc84320ce0a]
 #1 /usr/sbin/smbd(smb_panic+0x1f) [0x7fc84320cedf]
 #2 /usr/sbin/smbd [0x7fc8431fc4f0]
 #3 /lib/libc.so.6 [0x7fc84032bf60]
 #4 /lib/libc.so.6(strlen+0x30) [0x7fc8403750b0]
 #5 /lib/libc.so.6(_IO_vfprintf+0x38f0) [0x7fc840341ae0]
 #6 /lib/libc.so.6(vsnprintf+0x9a) [0x7fc84036726a]
 #7 /usr/lib/libtalloc.so.2(talloc_vasprintf+0x5c) [0x7fc840a7ecac]
 #8 /usr/lib/libtalloc.so.2(talloc_asprintf+0x88) [0x7fc840a81ef8]
 #9 /usr/sbin/smbd(ldapsam_search_suffix_by_name+0x7a) [0x7fc8431bba6a]


Leider konnte ich mit gdb 7.0.1 und samba-gdb keinen genaueren Backtrace erhalten:

Reading symbols from /usr/sbin/smbd...Reading symbols from /usr/lib/debug/usr/sbin/smbd...done.
(no debugging symbols found)...done.

Paket baut gerade neu, Changelog ist angepasst.
Comment 9 Stefan Gohmann univentionstaff 2011-08-18 09:03:26 CEST
Auf einem amd64 läuft der nmbd nicht stabil:

root@qaslave:~# dpkg -l samba
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konfiguration/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/Halten/R=Neuinst notw/X=beide (Status, Fehler: GROSS=schlecht)
||/ Name                                        Version                                     Beschreibung
+++-===========================================-===========================================-======================================================================================================
ii  samba                                       2:3.5.11~dfsg-1.497.201108162038            SMB/CIFS file, print, and login server for Unix
root@qaslave:~# tail -n 30 /var/log/samba/log.nmbd 
[2011/08/18 08:35:59.152982,  3] nmbd/nmbd_namelistdb.c:250(add_name_to_subnet)
  add_name_to_subnet: Added netbios name DEADLOCK10<1c> with first IP 10.201.10.2 ttl=0 nb_flags=1c to subnet UNICAST_SUBNET
[2011/08/18 08:35:59.153030,  0] nmbd/nmbd_logonnames.c:121(become_logon_server_success)
  become_logon_server_success: Samba is now a logon server for workgroup DEADLOCK10 on subnet 10.201.10.2
[2011/08/18 08:35:59.153053,  3] nmbd/nmbd_elections.c:364(check_elections)
  check_elections: >>> Starting election for workgroup DEADLOCK10 on subnet 10.201.10.2 <<<
[2011/08/18 08:36:01.154993,  0] lib/fault.c:46(fault_report)
  ===============================================================
[2011/08/18 08:36:01.155027,  0] lib/fault.c:47(fault_report)
  INTERNAL ERROR: Signal 11 in pid 5757 (3.5.11)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2011/08/18 08:36:01.155046,  0] lib/fault.c:49(fault_report)
  
  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2011/08/18 08:36:01.155062,  0] lib/fault.c:50(fault_report)
  ===============================================================
[2011/08/18 08:36:01.155077,  0] lib/util.c:1468(smb_panic)
  PANIC (pid 5757): internal error
[2011/08/18 08:36:01.156102,  0] lib/util.c:1572(log_stack_trace)
  BACKTRACE: 8 stack frames:
   #0 /usr/sbin/nmbd(log_stack_trace+0x1a) [0x7ffd42f5a62a]
   #1 /usr/sbin/nmbd(smb_panic+0x1f) [0x7ffd42f5a6ff]
   #2 /usr/sbin/nmbd [0x7ffd42f49c50]
   #3 /lib/libc.so.6 [0x7ffd40a89f60]
   #4 /usr/sbin/nmbd(write_browse_list+0x2d6) [0x7ffd42e282d6]
   #5 /usr/sbin/nmbd(main+0xadc) [0x7ffd42e140bc]
   #6 /lib/libc.so.6(__libc_start_main+0xe6) [0x7ffd40a761a6]
   #7 /usr/sbin/nmbd [0x7ffd42e12189]
[2011/08/18 08:36:01.156178,  0] lib/fault.c:326(dump_core)
  dumping core in /var/log/samba/cores/nmbd
root@qaslave:~# uname -a
Linux qaslave 2.6.32-ucs45-amd64 #1 SMP Tue Jul 26 16:37:33 UTC 2011 x86_64 GNU/Linux
root@qaslave:~#
Comment 10 Arvid Requate univentionstaff 2011-08-18 11:41:50 CEST
20_browselist-filter.patch musste ebenfalls analog zu Comment 8 angepasst werden.
Comment 11 Stefan Gohmann univentionstaff 2011-08-18 11:47:09 CEST
Funktioniert in meiner Testumgebung, Master, Slave, Member, Windows 7, Windows XP.

U.a. wurden die folgenden Bereiche getestet:
 Druckertreiber
 Anmeldung 
 Passwort wechseln
 Joinen.
Comment 12 Sönke Schwardt-Krummrich univentionstaff 2011-09-14 10:56:43 CEST
UCS 2.4-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".
Comment 13 Arvid Requate univentionstaff 2011-12-20 11:17:50 CET
*** Bug 20320 has been marked as a duplicate of this bug. ***