All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Creutz <thomas.creutz-Mmb7MZpHnFY@public.gmane.org>
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Jeff Layton <jlayton-vpEMnDpepFuMZCB2o+C8xQ@public.gmane.org>
Subject: Re: character-problems
Date: Thu, 01 May 2014 12:48:39 +0200	[thread overview]
Message-ID: <53622687.9030306@gmx.de> (raw)
In-Reply-To: <CAOhYWNKp1QqsebugYqM2yAqOef4yw=t9tNyUmH-9ds59pjygqw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi Jeff,

I installed/booted the mainline kernel for Ubuntu from
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.14.2-utopic/ on the client.

But the problem is still the same (cant access the file). Also when I
can access the file, the other problem persists, that the name get
changed/translated.

Can this be changed on the samba server?

Thomas

Am 01.05.2014 11:35, schrieb Jeff Layton:
> On Thu, May 1, 2014 at 4:59 AM, Thomas Creutz <thomas.creutz-Mmb7MZpHnFY@public.gmane.org> wrote:
>> Hi List,
>>
>> I use samba server on my webserver and mount the share with a linux
>> client to backup the files remote. Problem is, that I cannot access all
>> files with linux cifs client and secondly filenames are changed, so that
>> the backup (when possible to access the files) is not well done.
>>
>> On the server output of ls -lah is:
>> insgesamt 400K
>> drwxr-xr-x  2 web178 client14 4,0K Mai 28  2008 .
>> drwxrwxrwx 13 web178 client14 4,0K Okt 17  2013 ..
>> -rw-r--r--  1 web178 client14  59K Mai 28  2008 JulianKiendlGitarre.jpg
>> -rw-r--r--  1 web178 client14  79K Mai 28  2008 Kost?me1.jpg
>> -rw-r--r--  1 web178 client14  51K Mai 28  2008 Kost?me2.jpg
>> -rw-r--r--  1 web178 client14  55K Mai 28  2008 MuellerReeb.jpg
>> -rw-r--r--  1 web178 client14  42K Mai 28  2008 Partyraum.jpg
>> -rw-r--r--  1 web178 client14  60K Mai 28  2008 Schlegel.jpg
>> -rw-r--r--  1 web178 client14  38K Mai 28  2008 Tanzen.jpg
>>
>> on the client side:
>> insgesamt 392K
>> drwxr-xr-x  2 1124 1051   0 Mai 28  2008 .
>> drwxrwxrwx 13 1124 1051   0 Okt 17  2013 ..
>> -rw-r--r--  1 1124 1051 59K Mai 28  2008 JulianKiendlGitarre.jpg
>> -rw-r--r--  1 1124 1051 79K Mai 28  2008 Kost_me1.jpg
>> -rw-r--r--  1 1124 1051 51K Mai 28  2008 Kost_me2.jpg
>> -rw-r--r--  1 1124 1051 55K Mai 28  2008 MuellerReeb.jpg
>> -rw-r--r--  1 1124 1051 42K Mai 28  2008 Partyraum.jpg
>> -rw-r--r--  1 1124 1051 60K Mai 28  2008 Schlegel.jpg
>> -rw-r--r--  1 1124 1051 38K Mai 28  2008 Tanzen.jpg
>>
>> LANG=C cp Kost_me1.jpg /tmp/
>> cp: cannot stat `Kost_me1.jpg': No such file or directory
>>
>> The charset is correct, some folders use the right chars (üäö...) which
>> are displayed on server and client right.
>>
>> I tested to access the share with windows client and can open the
>> picture, so i am able to access the files from windows.
>>
>> Mounted are the shares with:
>> //web1.domain.tld/root$ /backup/src/web1   cifs
>> noauto,sec=ntlmv2,ver=1,cred=/root/.smb/web1.domain.tld 0 0
>>
>> Samba on Server 3.6.3
>> Kernel on client 3.5.0-49-generic (Ubuntu)
>>
>> Any Idea, how I get access to
>> 1. the original file names (no translation to _)
>> 2. can access the files (possible done, when 1. is done)
>>
>> Thanks for you help,
>> Thomas
> 3.5 is pretty ancient by now, and the unicode handling in cifs got an
> overhaul a few months ago. Can you test with something more recent,
> like say, v3.14-ish kernel?
>
> -- Jeff

  parent reply	other threads:[~2014-05-01 10:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-01  8:59 character-problems Thomas Creutz
     [not found] ` <CAOhYWNKp1QqsebugYqM2yAqOef4yw=t9tNyUmH-9ds59pjygqw@mail.gmail.com>
     [not found]   ` <CAOhYWNKp1QqsebugYqM2yAqOef4yw=t9tNyUmH-9ds59pjygqw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-01 10:48     ` Thomas Creutz [this message]
     [not found]       ` <CAOhYWN+PNtQ8HMyi3OFyv3KQ-bbvOKcGFNLZw5Jx2zHNdRJ1LQ@mail.gmail.com>
     [not found]         ` <CAOhYWN+PNtQ8HMyi3OFyv3KQ-bbvOKcGFNLZw5Jx2zHNdRJ1LQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-01 11:11           ` character-problems Thomas Creutz
     [not found]             ` <CAOhYWNL+3+c7nM-zabZ78PK_j5CkuFqOsB66Ej_dk7pcrpM3bg@mail.gmail.com>
     [not found]               ` <CAOhYWNL+3+c7nM-zabZ78PK_j5CkuFqOsB66Ej_dk7pcrpM3bg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-01 15:08                 ` character-problems Thomas Creutz
     [not found]             ` <53622BD7.7030005-Mmb7MZpHnFY@public.gmane.org>
2014-05-02  2:41               ` character-problems Günter Kukkukk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53622687.9030306@gmx.de \
    --to=thomas.creutz-mmb7mzphnfy@public.gmane.org \
    --cc=jlayton-vpEMnDpepFuMZCB2o+C8xQ@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.