Page 102 of 137 FirstFirst ... 25292100101102103104112 ... LastLast
Results 1,011 to 1,020 of 1362

Thread: Mount samba shares with utf8 encoding using cifs

  1. #1011
    Join Date
    Jul 2009
    Beans
    7
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Mount samba shares with utf8 encoding using cifs

    added gid= ...
    no change.

    Now, one thing I am wondering about.
    The GUI File Browser created an icon for this volume on my Desktop.
    When I right click on that icon, one of the choices is "unmount".
    But apparently the GUI mounts things in a GUI specific manner so that only GUI apps can access them?

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

    Re: Mount samba shares with utf8 encoding using cifs

    The GUI does not mount. Only Nautilus aware apps will be able to access the files.

    However, if you are still mounted via GUI, you should unmount that and make sure that it does not automatically reboot.

    Also, double check to make sure you have smbfs installed. The GUI will mount even without the smbfs package installed.

  3. #1013
    Join Date
    Sep 2007
    Beans
    29

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by dmizer View Post
    The only thing left I can think of then is server side. Perhaps a firewall or anti-virus is interfering?

    Otherwise, you may want to open a bug.



    There is a fix for this problem listed in the troubleshooting section.
    Thank you very much for all of your help.

    I just created a share on another machine in my environment. It's running the same Windows version. I was able to connect and copy files, including exe's, without difficulty. Gotta run right now but my plan is to continue experimenting to see if I can isolate what is causing this strange behavior on the one machine. I will report back here when I have made progress.
    95% switched to Ubuntu
    Hardy 8.04 running on an old Dell Dimension
    House full of Windows boxes for rest of family

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

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by exsysprog View Post
    Thank you very much for all of your help.

    I just created a share on another machine in my environment. It's running the same Windows version. I was able to connect and copy files, including exe's, without difficulty. Gotta run right now but my plan is to continue experimenting to see if I can isolate what is causing this strange behavior on the one machine. I will report back here when I have made progress.
    With that information, I can say with a great deal of certainty, that the problem is the Windows server rather than your Ubuntu client. I suggest concentrating your experimenting there.

  5. #1015
    Join Date
    Jul 2009
    Beans
    7
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Mount samba shares with utf8 encoding using cifs

    I've removed the GUI mount just to be sure. (also rebooted the system.)
    How can I tell if smbfs is installed? I followed all the instructions in the other post, and received no errors - other than the final mount doesn't work. (Still getting that pesky 13 error.)

    I can connect to the TeraStation from my MS WinXP machine just fine using the same name.
    Just the Ubuntu machine won't connect.

  6. #1016
    Join Date
    Jul 2009
    Beans
    7
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Mount samba shares with utf8 encoding using cifs

    Okay, just went through the 2 Samba things from your sig.
    Apparently Samba wasn't installed.
    Didn't help though.

    Still getting the error(13)

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

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by CasaDelGato View Post
    Okay, just went through the 2 Samba things from your sig.
    Apparently Samba wasn't installed.
    Didn't help though.

    Still getting the error(13)
    Okay, please post your current /etc/fstab line, plus the output of this:
    Code:
    smbtree

  8. #1018
    Join Date
    Jul 2009
    Beans
    7
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Mount samba shares with utf8 encoding using cifs

    Wow, this is a pain in 640x480 video...
    fstab line is:
    //TERA1/Perforce /media/Perforce cifs credentials=/root/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,n ounix,file_mode=0777,dir_mode=0777 0 0

    smbtree

    Code:
    CATHOUSE
        \\UBUNTU                 Ubuntu server (Samba, Ubuntu)
            \\UBUNTU\IPC$               IPC Service (Ubuntu server (Samba, Ubuntu))
            \\UBUNTU\print$             Printer Drivers
        \\TERA1                  TeraStation
            \\TERA1\ADMIN$             IPC Service (TeraStation)
            \\TERA1\IPC$               IPC Service (TeraStation)
            \\TERA1\Perforce           Perforce Repository
            \\TERA1\Backup             System Backups
            \\TERA1\Priscilla          Moms System Backups
            \\TERA1\John               Johns System Backups
            \\TERA1\share              TeraStation folder
            \\TERA1\usbdisk3           USB Disk3
            \\TERA1\info               TeraStation utilities
        \\SHOP                   Out in the Shop Office
            \\SHOP\ShopHP5L           HP LaserJet 5L
            \\SHOP\BACKUP01           
            \\SHOP\print$             Printer Drivers
            \\SHOP\IPC$               Remote IPC
            \\SHOP\Shop (C)           
        \\EIGER                  John's Desktop
            \\EIGER\J$                 Default share
            \\EIGER\C$                 Default share
            \\EIGER\ADMIN$             Remote Admin
            \\EIGER\Mental (D)         
            \\EIGER\Physical (C)       
            \\EIGER\MultiMedia         
            \\EIGER\I$                 Default share
            \\EIGER\D$                 Default share
            \\EIGER\IPC$               Remote IPC
    Which does seem to include everything on my local network, including the item I'm trying to mount.
    Last edited by dmizer; October 4th, 2009 at 10:52 AM. Reason: included code markup for illustration purposes.

  9. #1019
    Join Date
    Jul 2009
    Beans
    7
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Mount samba shares with utf8 encoding using cifs

    Interesting.
    Just for the heck of it, I went to the TeraStation and created a brand new user on it.
    Then changed the smbcredentials file to use this new userid.

    Now the mount works.

    The old userid works fine from other systems, including multiple simultaneous connections from different systems.

  10. #1020
    Join Date
    Sep 2007
    Beans
    29

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by dmizer View Post
    With that information, I can say with a great deal of certainty, that the problem is the Windows server rather than your Ubuntu client. I suggest concentrating your experimenting there.
    Windows indeed!

    I did a little more experimenting, and I did some research on the Windows side of things. The bottom line turns out to be that apparently XP sometimes drops the ball in managing it's ACL's.

    Reference the following if you're having a similar problem:

    http://networking.nitecruzr.net/2005...orisation.html

    http://ss64.com/nt/cacls.html

    In my case the Windows sharing and security properties (both) on all involved directories and files showed clearly that the "everyone" group had read permissions on the .exe files that could not be copied. It also showed clearly that the specific userid that I used to authenticate to the share had at least read permissions. But no ... as described before.

    The solution, which seems to be working thus far, was to use the CACLS windows utility on the XP box to manually re-grant read permission to the "everyone" group for the effected share. Redundant - yes, but it worked. MSFT MVP's have reported cases of NTFS ACL's getting corrupted and causing the symptoms I reported earlier in this thread. Maybe I need to surface scan my HD again!

    Thanks again for your help. I'll update this if there turns out to be other relevant information.
    95% switched to Ubuntu
    Hardy 8.04 running on an old Dell Dimension
    House full of Windows boxes for rest of family

Page 102 of 137 FirstFirst ... 25292100101102103104112 ... LastLast

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
  •