samba filenames wrong

Bug #580891 reported by bsh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: samba

fresh install of ubuntu lucid lynx (10.04) 32bit (after the upgrade from 8.04->10.04 failed badly, had to do a clean install.
i decided to reformat everything and try ext4, so all my partitions are ext4 now.
i have backed up my previous config files so i'm using the exact same configuration as before (which was working)
i have an imap server (cyrus), for which i have a secondary "partition", which is on the same partition which is shared via samba, so i can see the folder structure and the files in the imap folders. all mail files are named with a number and a dot at the end, like: "1.", "2.", "3.", "126." etc. there's a "stage." folder too. so these are 8.3 files just without an extension (but with a dot)
these files and the folder appear as random filenames, when looking from windows (win7 home premium 32 bit).
all the other files (including other, 8.3 filenames elsewhere) are working good. all the files are okay on the filesystem too.

e.g.:
dir z:\cyrus\mail\b\user\bsh\Archive\2006\Freemail\Elkuldott

2009.08.31. 09:32 <DIR> .
2009.08.31. 09:32 <DIR> ..
2009.08.31. 09:05 16 088 4HV9M1~H
2009.08.31. 09:05 3 538 4FN8J8~I
2009.08.31. 09:05 14 756 4GH46R~K
2009.08.31. 09:05 906 3C6WNZ~8
2009.08.31. 09:06 1 245 4DFQJB~2
2009.08.31. 09:05 2 223 38C12M~G
2009.08.31. 09:05 917 3821GZ~H
2009.08.31. 09:05 1 468 4BR0DO~O
<...>

the "stage." folder looks like this:

dir z:\cyrus\mail

2010.05.15. 11:21 <DIR> .
2009.08.14. 09:12 <DIR> ..
2010.05.12. 12:56 <DIR> SVP1UA~D
2009.08.14. 09:12 <DIR> z
2009.08.14. 09:12 <DIR> h
2009.08.14. 09:12 <DIR> s
2009.08.14. 09:12 <DIR> q
2009.08.14. 09:12 <DIR> r
2009.08.14. 09:12 <DIR> t
2009.08.14. 09:12 <DIR> l
2009.08.14. 09:12 <DIR> g
2009.08.14. 09:12 <DIR> d
2009.08.14. 09:12 <DIR> k
2009.08.14. 09:12 <DIR> o
<...>

smbd --version
Version 3.4.7

uname -a
Linux eeebox 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux

Tags: samba
Revision history for this message
bsh (bsh) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't fix it because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem. We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures.
At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
Thanks!

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in samba (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
bsh (bsh) wrote :

tl;dr

i wonder what information you miss...

1, a folder structure with short filenames/foldernames and a dot on their ends but no ms-dos "extension" (eg.: "123.", "folder.", etc. see a cyrus imap maildir structure.) is shared via samba (see config file). the underlying file system was ext4. the filenames showed correct on the linux server. this was also working fine with ubuntu 8.04.
2. i expected the filenames to be the same on the mounted share when looked from under windows 7.
3. however, these short filenames (and only these!) showed up as random characters. i tried copying them, the names were wrong. also tried ftp, names were correct.

i can not reproduce this anymore as i wiped 10.04 completely, and switched back to 8.04.
bye

Revision history for this message
Chuck Short (zulcss) wrote :

User is no longer able to reproduce since lucid is not installed.

Changed in samba (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.