Bug 233 - Unable to read/list files/directory with accents
Unable to read/list files/directory with accents
Status: RESOLVED INVALID
Product: Samba 3.0
Classification: Unclassified
Component: Extended Characters
3.0.0preX
All Linux
: P2 normal
: none
Assigned To: Alexander Bokovoy
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-07-17 11:37 UTC by Renato Lucindo
Modified: 2005-11-14 09:26 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Lucindo 2003-07-17 11:37:26 UTC
The files with accents in the name have their name truncated in the first 
charactere with accents on the Windows. Its impossible to read these files and 
list the content of directory with accents.
Comment 1 Alexander Bokovoy 2003-07-22 03:25:14 UTC
Can you please show your smb.conf?
Comment 2 Renato Lucindo 2003-07-22 06:53:34 UTC
-- smb.conf --
[global]
;debug level = 1 
printcap name = /etc/printcap
printing = lprng
load printers = yes 
guest account = nobody
invalid users = root
domain logons = yes	
logon script = %U.bat	
security = user
admin users = machine, @nucc	
workgroup=NUCC
netbios name=mqlabs1
utmp = yes
obey pam restrictions = yes
server string = NUCC %h server 
syslog only = no
syslog = 0
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
encrypt passwords = no
wins support = yes 
os level = 70 
domain master = yes
local master = yes
preferred master = yes 
log level = 1
readraw = no
writeraw = no
name resolve order = lmhosts host wins bcast
dns proxy = no
preserve case = yes
short preserve case = yes
unix password sync = false
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* 
%n\n .
max log size = 0

[netlogon]
path = /home/netlogon

[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0660 
directory mask = 0770 

[xerox]
comment = XEROX Lexmark
browseable = yes
path = /var/spool/lpd/xerox
print command = /bin/echo "%T %S USER: %U ,IP: %I , NETBIOSNAME: %m , FILE: %s" 
>> /var/log/printer.log &&  /usr/bin/lpr -r -Pxerox %s 
printable = yes
public = yes 
writable = yes 
create mode = 0666

[improf]
comment = IMPROF Lexmark
browseable = yes
print command = /bin/echo "%T %S USER: %U ,IP: %I , NETBIOSNAME: %m , FILE: %s" 
>> /var/log/printer.log && /usr/bin/lpr -r -h -Pimprof %s;
path = /var/spool/lpd/improf
printable = yes
public = yes 
writable = yes
create mode = 0666

[improem]
comment = IMPROEM Lexmark
browseable = yes
print command = /bin/echo "%T %S USER: %U ,IP: %I , NETBIOSNAME: %m , FILE: %s" 
>> /var/log/printer.log && /usr/bin/lpr -r -h -Pimproem %s;
path = /var/spool/lpd/improem
printable = yes
public = yes
writable = yes
create mode = 0777

[admin]
comment = Administration Share
browseable = no
path = /admin
printable = no
read only = no
create mask = 0660 
directory mask = 0770 
valid users =  @nucc

[apps]
comment = Applications
browseable = no
path = /home/apps
printable = no
read only = no
create mask = 0660 
directory mask = 0770 

[disc]
comment = Disciplinas
browseable = no
path = /home/old.disc
printable = no
read only = no
create mask = 0644
directory mask = 0755

[groups]
comment = Disciplinas
browseable = no
path = /home/groups
printable = no
read only = no
create mask = 0644
directory mask = 0755

[direcao]
comment = Direcao do Centro
browseable = no
path = /home/old.groups/direcao
printable = no
read only = no
create mask = 0664
directory mask = 0775
valid users = giorno

[sbem]
comment = Groups
browseable = no
path = /home/old.groups/sbem
printable = no
read only = no
create mask = 0664
directory mask = 0775
valid users = sbem

[images]
comment = Imagens do Ghost
browseable = no
path = /home/images
printable = no
read only = no
create mask = 0660
directory mask = 0770
valid users = @nucc


[home]
comment = Home Directories
browseable = no
path = /home/users
printable = no
read only = no
create mask=0660
directory mask = 0770
valid users = @nucc

[storage]
comment = Storages
browseable = no
path = /home/storage
printable = no
read only = no
create mask = 0660
directory mask = 0770
valid users = @nucc
  
[cdrom]
comment = Samba server's CD-ROM
writable = no
locking = no
path = /cdrom
public = yes
-- smb.conf --

Files and directorys created with version 3.0.0beta2 are OK, but we are unable 
to read the old files/directorys created with samba version 2.2.8a.
Comment 3 Björn Jacke 2003-07-22 08:02:43 UTC
set your "unix charset" variable or (better) change all old filenames to utf-8
encoding. You can use http://j3e.de/linux/convmv/ for conversion to utf-8 filenames.
Comment 4 Gerald (Jerry) Carter 2003-08-02 11:47:27 UTC
Did the suggestion from Björn Jacke solve the problem?  If so, 
ab please mark this one as INVALID since it appears to be a config 
problem, not a code bug.
Comment 5 Renato Lucindo 2003-08-02 17:30:19 UTC
Yes, it was a config problem, sorry.
Comment 6 Alexander Bokovoy 2003-08-04 01:33:44 UTC
This is configuration problem not a bug in source code. Changing resolution to
INVALID
Comment 7 Gerald (Jerry) Carter 2005-02-07 08:40:14 UTC
originally reported against 3.0.0beta2.  CLeaning out 
non-production release versions.
Comment 8 Gerald (Jerry) Carter 2005-11-14 09:26:46 UTC
database cleanup