Results 1 to 6 of 6

Thread: Odd characters with CIFS network share

  1. #1
    Join Date
    Feb 2010
    Beans
    5

    Odd characters with CIFS network share

    I've got a few network shares on an EMC celerra SAN that I'm trying to mount on my ubuntu development server.

    Here are my fstab lines on my UBUNTU server:
    //10.1.1.106/Artwork /mnt/artwork smbfs credentials=/root/.smbcredentials,dir_mode=0777,file_mode=0777,iocha rset=utf8,mapchars 0 0
    //10.1.1.106/WebFiles /mnt/webfiles smbfs defaults,username=user%PASSWORD,workgroup=company, file_mode=0777,dir_mode=0777,rw 0 0
    This is what happens:
    $ sudo mount /mnt/webfiles/ && ls /mnt/webfiles
    _~1 1.ai C~1 ?Ma r

    $ sudo mount /mnt/artwork/ && ls /mnt/artwork
    ㅋᘘí£ã““ F~1 P ᓣ侣瞔旼 è‚æ¢®í†„?
    On my SUSE production server this is what I have in my fstab:
    //10.1.1.106/WebFiles /mnt/webfiles smbfs defaults,username=user%Password,workgroup=company, dmask=777,fmask=777,rw 0 0
    which results in:

    >ls /mnt/webfiles
    logs sales_attachments tmp WebBackup

    I've tried different iocharsets, mapchars, leaving those options out and a number of other options, but the network shares I mount on my ubuntu server have all those weird characters.


    Any help on this is much appreciated.

  2. #2
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Odd characters with CIFS network share

    Is the locale different on the Ubuntu development server and the SUSE production server?

  3. #3
    Join Date
    Feb 2010
    Beans
    5

    Re: Odd characters with CIFS network share

    echo $LANG
    en_US.UTF-8

    for both

    Also same for:
    $ locale
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=
    Last edited by dbruns; February 9th, 2010 at 06:51 PM.

  4. #4
    Join Date
    Feb 2010
    Beans
    5

    Re: Odd characters with CIFS network share

    it may be worth noting that i'm using an older version of SLES that is still using smbfs, but that may not make a difference.

  5. #5
    Join Date
    Feb 2010
    Beans
    5

    Re: Odd characters with CIFS network share

    Also, I've tried to mount the artwork directory from the SUSE box and everything worked fine.

    This is sooo frustrating.

  6. #6
    Join Date
    Feb 2010
    Beans
    5

    Re: Odd characters with CIFS network share

    I created an NFS share and it seems to work just fine. It would be nice to get the CIFS shares working though.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •