Hi, Urgent help is needed .. I just upgraded Samba2.2.8a to Samba3.0.1rc1, but the fold I created before on a share can not be accessed anymore. Say, there is a folder "??folder" with some German characters ), it can be accessed in Samba2.2.8a; but it can NOT be accessed in Samba3.0.1rc1, it says 'The folder was moved or removed" on a Win2k client. I understand the reason should be Samba3.0.1rc1 is using Unicode on wire while the folder name is encoded differently in Samba2.2.8a. When I checked Samba logs, there is Samba panic says ==============================================================[2003/12/08 21:33:33, 0] lib/util.c:smb_panic(1399) PANIC: internal error [2003/12/08 21:33:33, 0] lib/util.c:smb_panic(1407) BACKTRACE: 18 stack frames: #0 smbd(smb_panic+0x182) [0x818af9e] #1 smbd [0x817b531] #2 smbd [0x817b57e] #3 /lib/libc.so.6 [0x402347a8] #4 /lib/libc.so.6(__libc_free+0xb0) [0x402828bc] #5 smbd [0x80c73a2] #6 smbd [0x80c7d03] #7 smbd(mangle_map+0x4e) [0x80c6016] #8 smbd [0x80a6039] #9 smbd [0x80a6dc2] #10 smbd(reply_trans2+0x763) [0x80adaab] #11 smbd [0x80bf3c9] #12 smbd [0x80bf455] #13 smbd(process_smb+0x1c5) [0x80bf765] #14 smbd(smbd_process+0x13d) [0x80c01d1] #15 smbd(main+0x72c) [0x81e8444] #16 /lib/libc.so.6(__libc_start_main+0x8e) [0x402221f6] #17 smbd(chroot+0x31) [0x8077aa1] ============================================================== Why did this panic happen? Has anybody found bugs in the code? Of course, once I renamed that folder using the new name in UTF-8 format, it can be accessed. Thanks in advance, JL
On Tue, Dec 09, 2003 at 04:54:03PM +0800, Juer Lee wrote:> Hi, > > Urgent help is needed .. > > I just upgraded Samba2.2.8a to Samba3.0.1rc1, but the fold I created before > on a share can not be accessed anymore. Say, there is a folder "??folder" > with some German characters ), it can be accessed in Samba2.2.8a; but it > can NOT be accessed in Samba3.0.1rc1, it says 'The folder was moved or > removed" on a Win2k client. I understand the reason should be Samba3.0.1rc1 > is using Unicode on wire while the folder name is encoded differently in > Samba2.2.8a. When I checked Samba logs, there is Samba panic saysWhen you get this panic, what are the character set encoding settings in your smb.conf ? What system are you running this on ? I'm trying to track this down.... Jeremy.
> In Samba2.2.8a, the encoding settings are "client code page = 850" and > "character set = ISO8859-1". In Samba3.0.1rc1, I use default setting like > "unix charset = UTF8". The Samba server is running under customize RedHatIt seems that the problem is here. You use ISO8859-1 in the UNIX names, but Samba thinks it's UTF8. Set "unix charset" to ISO8859-1 or (better) rename the files to real UTF8. -- WBR, Nick S.
Thanks, Jeremy. Sorry it is nearly 20 days late to reply this email. It seems there is no help to use Fedore glibc to solve this issue, but I dont worry about this, since the case happens only when a share name contains German characters and the share was created in Samba2.2.8a, while Samba3.0.1 is running now.. However I worry about another issue just founded with my Samba3.0.1 server running on RedHat 7.2 machine.. I have an environment with Win2k domain, there are two domain controllers in it. Case 1: If I join the domain in 'member' mode, there are no any problem to access the share by the server hostname or IP address Case 2: If I join the domain in 'ads' mode, I can not access the share by the server hostname from a Win2k machine which is in the domain, I am always prompted by username / password input, as you can guess, no success when input what ever valid user / password. While accessing share by IP address is OK. Another clue is that if I have ONLY ONE domain controller in the domain, there are NO problems to access the share by the server hostname or IP address. Juer ----- Original Message ----- From: "Jeremy Allison" <jra@samba.org> To: "Juer Lee" <juer.lee@raidtec.ie> Cc: "Jeremy Allison" <jra@samba.org> Sent: Wednesday, December 10, 2003 10:29 AM Subject: Re: [Samba] Samba panic in encoding> On Wed, Dec 10, 2003 at 10:28:59AM +0800, Juer Lee wrote: > > Ok, thanks, in the mean time, maybe I will try Fedora as well. > > Yes, if you can reproduce this with the Fedore glibc I'll be > *very* interested. > > Jeremy. >