Gérard Guével
2011-Mar-28 16:18 UTC
[Samba] Samba 3.2.15 : DOS charset problem on powerpc big endian architecture
Hello, With a default CP850 dos charset, I can?t connect and receive a ?protocol negotiation failed? error message # testparm -v |grep charset Load smb config files from /etc/samba/smb.conf Module '/usr/lib/charset/CP850.so' loaded Server role: ROLE_STANDALONE dos charset = CP850 unix charset = UTF-8 display charset = LOCALE # smbclient -L MYSERVER -Uadmin protocol negotiation failed The samba log file gives me>>[2011/01/11 13:22:53, 10] lib/util.c:dump_data(2230) [000] 02 50 43 20 4E 45 54 57 4F 52 4B 20 50 52 4F 47 .PC NETW ORK PROG [010] 52 41 4D 20 31 2E 30 00 02 4D 49 43 52 4F 53 4F RAM 1.0. .MICROSO [020] 46 54 20 4E 45 54 57 4F 52 4B 53 20 31 2E 30 33 FT NETWO RKS 1.03 [030] 00 02 4D 49 43 52 4F 53 4F 46 54 20 4E 45 54 57 ..MICROS OFT NETW [040] 4F 52 4B 53 20 33 2E 30 00 02 4C 41 4E 4D 41 4E ORKS 3.0 ..LANMAN [050] 31 2E 30 00 02 4C 4D 31 2E 32 58 30 30 32 00 02 1.0..LM1 .2X002.. [060] 44 4F 53 20 4C 41 4E 4D 41 4E 32 2E 31 00 02 4C DOS LANM AN2.1..L [070] 41 4E 4D 41 4E 32 2E 31 00 02 53 61 6D 62 61 00 ANMAN2.1 ..Samba. [080] 02 4E 54 20 4C 41 4E 4D 41 4E 20 31 2E 30 00 02 .NT LANM AN 1.0.. [090] 4E 54 20 4C 4D 20 30 2E 31 32 00 NT LM 0. 12. [2011/01/11 13:22:53, 10] lib/util.c:set_remote_arch(2205) set_remote_arch: Client arch is 'UNKNOWN' [2011/01/11 13:22:53, 0] smbd/negprot.c:reply_negprot(675) No protocol supported ! [2011/01/11 13:22:53, 5] smbd/negprot.c:reply_negprot(680) negprot index=-1>>With an ASCII dos charset, it works fine. # testparm -v |grep charset Load smb config files from /etc/samba/smb.conf Server role: ROLE_STANDALONE dos charset = ASCII unix charset = UTF-8 display charset = LOCALE # smbclient -L MYSERVER -Uadmin Enter admin's password: Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.2.15] I have some other samba servers on Intel architecture which runs with CP850 dos charset. What I miss with my powerpc architecture ? Thanks for all tips. G?rard
Volker Lendecke
2011-Mar-31 08:47 UTC
[Samba] Samba 3.2.15 : DOS charset problem on powerpc big endian architecture
On Mon, Mar 28, 2011 at 06:18:39PM +0200, G?rard Gu?vel wrote:> > With a default CP850 dos charset, I can?t connect and receive a ?protocol > negotiation failed? error messageCan you reproduce this with 3.5.8? 3.2.15 is pretty old these days. Thanks, Volker -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen