From: rhy2k4@hotmail.com
To: samba@lists.samba.org
Subject: language charset problem£¡
Date: Sun, 17 May 2009 02:10:45 +0000
dear all£¬ I port samba 3.0.0 to board ,and it is almost ok. but there still
some problem about file display can't be resolved. I use charset C
1 chinese name file display wrong. I confiure the smb.conf to cp936 char set
as followed.
...
display charset = cp936
unix charset = cp936
dos charset = cp936
...
but it is still not ok. but when I port samba 1.9.x ,I find it's ok.
what's more ,my filesystem which is in USB device is mounted ok. it is have
relation with this ?
2 the size of file with english name display alway have deviation ¡£a 4.2G
large file display 3.99G and a 400M file display 390M, it seem alway less than
the real size if I check the file size in ie by samba. but why?
I hope somebody can help ,thank you very much!
Windows Live¢â: Keep your life in sync. Check it out!
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces.
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-usFrom
lscarneiro at veltrac.com.br Tue May 19 17:38:16 2009
From: lscarneiro at veltrac.com.br (Leonardo Carneiro)
Date: Tue May 19 17:38:22 2009
Subject: [Samba] multiple domain info entries problem
In-Reply-To: <4A12A560.4050408@veltrac.com.br>
References: <4A12A560.4050408@veltrac.com.br>
Message-ID: <4A12EE88.40006@veltrac.com.br>
after many tries and upgrading my samba to 3.2.5, the sharing is
working... kind of.
now everyone can access their exclusive folders on the server, also can
acess the public folder (anyone can access this folder without
authentication). when people try to access folders that they should not
access (like a IT guy accessing the Sales folder), the server also
forbid the access. But when someone try to access their group folder
(like the Sales guy accessing the Sales folder), windows show a error
message, telling me the folder is no accessible.
any help is welcome.
tks in advance.
Leonardo Carneiro escreveu:> Hi fellows. I'm new to the list and hope I'll have a nice time
here.
>
> one of my servers running samba+ldap is not working properly.
>
> the setup is:
>
> Debian 5
>
> fileserver:/etc/samba#smbd --version
> Version 3.0.24
> fileserver:/etc/samba# slapd -V
> @(#) $OpenLDAP: slapd 2.3.30 (Oct 5 2008 22:08:58) $
>
> jmm@galadriel:/home/jmm/ldap/openldap2.3-2.3.30/debian/build/servers/slapd
>
>
>
> After a samba upgrade via apt-get, the user could not access their
> shared folders anymore.
>
> Looking at the logs i'd saw some strage things:
>
> smbd.log:
>
> ==============================================================>
[2009/05/19 08:45:59, 0] lib/fault.c:fault_report(42)
> INTERNAL ERROR: Signal 11 in pid 6550 (3.0.24)
> Please read the Trouble-Shooting section of the Samba3-HOWTO
> [2009/05/19 08:45:59, 0] lib/fault.c:fault_report(44)
> From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
> [2009/05/19 08:45:59, 0] lib/fault.c:fault_report(45)
> ==============================================================>
[2009/05/19 08:45:59, 0] lib/util.c:smb_panic(1599)
> PANIC (pid 6550): internal error
> [2009/05/19 08:45:59, 0] lib/util.c:log_stack_trace(1706)
> BACKTRACE: 15 stack frames:
> #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c3d3]
> #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c4c6]
> #2 /usr/sbin/smbd [0x821a69a]
> #3 [0xb7eff420]
> #4 /usr/lib/liblber-2.4.so.2(ber_memfree_x+0x50) [0xb76ac300]
> #5 /usr/lib/libldap_r-2.4.so.2 [0xb76dc274]
> #6 /usr/lib/libldap_r-2.4.so.2 [0xb76bc6d8]
> #7 /usr/lib/libldap_r-2.4.so.2 [0xb76eb950]
> #8 /lib/ld-linux.so.2 [0xb7f0e453]
> #9 /lib/i686/cmov/libc.so.6(exit+0x89) [0xb7b23ab9]
> #10 /usr/sbin/smbd [0x82c23bc]
> #11 /usr/sbin/smbd [0x82c23e0]
> #12 /usr/sbin/smbd(main+0x10f0) [0x82c3860]
> #13 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7b0b455]
> #14 /usr/sbin/smbd [0x8082b11]
> [2009/05/19 08:45:59, 0] lib/fault.c:dump_core(173)
> dumping core in /var/log/samba/cores/smbd
> [2009/05/19 08:45:59, 0] lib/fault.c:fault_report(41)
> ==============================================================>
[2009/05/19 08:45:59, 0] lib/fault.c:fault_report(42)
> INTERNAL ERROR: Signal 11 in pid 6556 (3.0.24)
> Please read the Trouble-Shooting section of the Samba3-HOWTO
> [2009/05/19 08:45:59, 0] lib/fault.c:fault_report(44)
> From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
> [2009/05/19 08:45:59, 0] lib/fault.c:fault_report(45)
> ==============================================================>
[2009/05/19 08:45:59, 0] lib/util.c:smb_panic(1599)
> PANIC (pid 6556): internal error
> [2009/05/19 08:45:59, 0] lib/util.c:log_stack_trace(1706)
> BACKTRACE: 16 stack frames:
> #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c3d3]
> #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c4c6]
> #2 /usr/sbin/smbd [0x821a69a]
> #3 [0xb7eff420]
> #4 /usr/lib/liblber-2.4.so.2(ber_memfree_x+0x50) [0xb76ac300]
> #5 /usr/lib/libldap_r-2.4.so.2 [0xb76dc274]
> #6 /usr/lib/libldap_r-2.4.so.2 [0xb76bc6d8]
> #7 /usr/lib/libldap_r-2.4.so.2 [0xb76eb950]
> #8 /lib/ld-linux.so.2 [0xb7f0e453]
> #9 /lib/i686/cmov/libc.so.6(exit+0x89) [0xb7b23ab9]
> #10 /usr/sbin/smbd [0x82c23bc]
> #11 /usr/sbin/smbd [0x82c23e0]
> #12 /usr/sbin/smbd(start_background_queue+0x25c) [0x824893c]
> #13 /usr/sbin/smbd(main+0x1344) [0x82c3ab4]
> #14 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7b0b455]
> #15 /usr/sbin/smbd [0x8082b11]
> [2009/05/19 08:45:59, 0] lib/fault.c:dump_core(173)
> dumping core in /var/log/samba/cores/smbd
>
> and the 'net getlocalsid' returns me the following:
>
> fileserver:/var/log/samba# net getlocalsid
> [2009/05/19 09:25:19, 0]
> lib/smbldap_util.c:smbldap_search_domain_info(267)
> smbldap_search_domain_info: Got too many (2) domain info entries
> for domain DOMINIO
> SID for domain DOMINIO is: S-1-5-21-874179082-3571801642-3889913597
>
> Other tests also returns me the smb_ldap_search_domain_info error, but
> my ldap only one sambaDomain and sambaDomainName entries. Other apps
> using ldap like squid are working fine. I've searched the web and the
> list looking for a solution, but haven't found =/
>
> I do apreciate any help. Sorry about my poor english.
>
> Tks in advance.
>
--
*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Log?stica.*
lscarneiro@veltrac.com.br <mailto:lscarneiro@veltrac.com.br>
http://www.veltrac.com.br <http://www.veltrac.com.br/>
/Fone Com.: (43)2105-5600/
/Av. Higien?polis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/