[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

can't copy certain files to Samba server



Hi all,

I've run into a weird little problem.  I have set up a Samba server
(2.0.7-3.4) for our group and everything works quite okay.  My users
access the server from their Japanese Windows (95/98/2K/NT) machines
and Japanese file names display fine for them.  Never mind that it is
a mess on the Linux side ;-)

However, we've noticed that certain files can not be moved from Doze
to the Samba server.  Other files can be moved without any trouble.
We've done a bit of experimenting and found that renaming the files
generally worked around the problem but, once moved, files can't be
renamed to their original name.  I also seem to remember that names
that could be moved on one machine failed to do so on another.

The error message that we get says that the target directory does not
exist and prompts to create it.  When you try to create it, Winblows
tells you that it can not create the directory because it already
exists :-(  Geez, it'd be nice if win-DoS made up its mind!

Two example file names that could not be moved are:

  研修受験申請.doc
  '01 研修発表.ppt

For those who don't read Japanese, in hexdumped UTF8 that reads:

 e7 a0 94 e4 bf ae e5 8f 97 e8 ac 9b e7 94 b3 e8 ab 8b 2e 64 6f 63
 27 30 31 20 e7 a0 94 e4 bf ae e7 99 ba e8 a1 a8 2e 70 70 74

Does anyone have any idea what might be causing this nuisance?  I've
appended my smb.conf.

-- 
Olaf Meeuwissen       Epson Kowa Corporation, Research and Development

     Free Software: `No walls, no windows!  No fences, no gates!'
[global]                                #  parameters

  server string = R&D server (Samba %v)
  workgroup     = WORKGROUP

  hosts deny  = ALL EXCEPT localhost    #  deny-all policy
  hosts allow = 172.16.128.0/255.255.224.0

  encrypt passwords = yes
  security          = user              #  require Unix account
                                        #  unless guest ok = yes

  invalid users = root                  #  better be safe than sorry
  map to guest  = Bad User
  guest account = nobody
  username map  = /etc/samba/username.map

  #  Make users home directories visible.  `@group' syntax does not work.
  auto services = olaf                  # list of other users zapped

   printing = bsd
   printcap name = /etc/printcap
   load printers = yes

   syslog only = no
   syslog = 0;

   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
   wins support = 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 = 1000
 
[homes]
  comment    = User Home Directory
  browseable = no
  writeable  = yes
  guest ok   = no
 
  hide dot files = yes
  create mask    = 0644
  directory mask = 0755

# other shares zapped

Reply to: