Page 134 of 137 FirstFirst ... 3484124132133134135136 ... LastLast
Results 1,331 to 1,340 of 1362

Thread: Mount samba shares with utf8 encoding using cifs

  1. #1331
    Join Date
    Aug 2011
    Beans
    6

    Re: Mount samba shares with utf8 encoding using cifs

    Hi all,

    I am new to Linux, but think that this will be a love story...

    I am running Ubuntu Server Linux 64Bit (11.04) in VirtualBox (4.1.0) and would like to connect to a share on the Windows 7 64Bit host. I already did this with the following command, sadly I am not able to mount this drive automatically by adding it to fstab. Find my fstab entry and the error message below, too.

    When I enter this, I am asked for the Windows password. After entering the password the mount works completely fine:
    Code:
    sudo mount -t cifs //MW7XM76LYPUH0D/Users/nachname.vorname /media/splunk -o username="dir/nachname.vorname",uid=0,gid=0,nls=utf8

    This somehow is giving me the following errors. If i try to test the changes in fstab with "sudo mount -a" I am asked for the password, too but it won't work like with the one above:
    Code:
    //MW7XM76LYPUH0D/Users/nachname.vorname /media/splunk cifs username="dir/nachname.vorname",uid=0,gid=0,nls=utf8 0 0
    Code:
    [ 897.066624] CIFS VFS: Send error in SessSetup = -13
    [ 897.071901] CIFS VFS: cifs_mount failed w/return code = -13
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    This doesn't work, too:

    Code:
    //MW7XM76LYPUH0D/Users/nachname.vorname /media/splunk cifs username="dir/nachname.vorname",rw,nounix,uid=0,gid=0,nls=utf8 0 0
    Kind regards
    Katsche


    P.S.: Another question: the password of the windows user contains special characters. How do I write such a password (just to give u an example: tGu39fl?! ) so that I can save it within the smbcredentials file or just add it to the mount options using "password="?
    Last edited by Katsche; August 23rd, 2011 at 12:23 PM.

  2. #1332
    Join Date
    Aug 2011
    Beans
    6

    Re: Mount samba shares with utf8 encoding using cifs

    I am still not able to set up the connection with the fstab. Could anybody please help?

  3. #1333
    Join Date
    Mar 2008
    Location
    Canada
    Beans
    257
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Mount samba shares with utf8 encoding using cifs

    This is what I have in my fstab and it works:

    //192.168.0.102/Music /home/share/Music/Party cifs auto,uid=root,gid=mygroup,forcegid,credentials=/root/.smbcredentials,dir_mode=0775,file_mode=0775 0 0

    note that I am using IP, not hostname. Not sure if it will help

  4. #1334
    Join Date
    May 2007
    Beans
    19

    Re: Mount samba shares with utf8 encoding using cifs

    This tutorial worked for me. On a Netgear ReadyNAS Duo, to mount the media share permanently. I would like to do the same with the other shares. But I think I have an issue with the permissions.

    Other thoughts, I will never buy another Netgear product. They have the worst techs support ever and their documentation sucks.

    Anyhow, this tutorial is very valid event hough it is rather old.

    Thank you.

  5. #1335
    Join Date
    Sep 2008
    Beans
    25

    Re: Mount samba shares with utf8 encoding using cifs

    This tutorial worked for me too. On an iomega Home Media Network Hard Drive.
    THANKS !

  6. #1336
    Join Date
    Jul 2011
    Beans
    10
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    Hello. I found my way here from this threat, having the same issues.

    Im still pretty new to Ubuntu, so I apologize for any noobness. Im running Oneiric on both my desktop and laptop. The files Id like to access are on the desktop (creatively named DESKTOPUBU), so I'm running these commands from the laptop.

    This is the output to smbtree.
    Code:
    ceipheed@DesktopUBU:~$ smbtree
    Enter ceipheed's password: 
    RESIDENCIAKU
        \\LAPTOPUBU              LaptopUBU server (Samba, Ubuntu)
            \\LAPTOPUBU\IPC$               IPC Service (LaptopUBU server (Samba, Ubuntu))
            \\LAPTOPUBU\Anime              
            \\LAPTOPUBU\print$             Printer Drivers
        \\DESKTOPUBU             DesktopUBU server (Samba, Ubuntu)
            \\DESKTOPUBU\iP3000             iP3000
            \\DESKTOPUBU\print$             Printer Drivers
            \\DESKTOPUBU\Media              
            \\DESKTOPUBU\IPC$               IPC Service (DesktopUBU server (Samba, Ubuntu))
    I did as the Pre-work section said and got to the Manual mounting section. Since I want to access the Media folder on my desktop, in my case...

    Code:
    netbiosname=DESKTOPUBU 
    sharename=Media
    yes?

    At this point, I guess I should mention that the Media folder I want to access is in a different HDD than the one Ubuntu is installed on. Also, since Ive been using this HDD since before I jumped to Ubuntu, it is NTFS. Don't know if that matters in any way. Also, I created the folder /media/MediaDESKTOP in my laptop to mount the desktop files to.

    Im not sure if I configured my samba to require a password but since smbtree did have an output, I'm assuming it doesnt need it after all. As such, I decided to use the second command in the Manual mount section.

    The problem comes after I try to run the manual mount command.

    Code:
     sudo mount -t cifs //DESKTOPUBU/Media /media/MediaDESKTOP -o guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777
    [sudo] password for ceipheed: 
    Retrying with upper case share name
    mount error(6): No such device or address
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    I would appreciate any help I can get.

  7. #1337
    Join Date
    Nov 2011
    Beans
    1

    Re: Mount samba shares with utf8 encoding using cifs

    Fantastic instructions and follow-up discussion!

    Manny - Ubuntu newbie

  8. #1338
    Join Date
    Aug 2007
    Location
    Scotland
    Beans
    168
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Mount samba shares with utf8 encoding using cifs

    Just a note to say that I recently found myself with my RAM almost filled, and after a long puzzling period discovered multiple orphan copies of the 'save yourself' "ShutdownCIFS" unmount script in my task list, each claiming around 6Mb....

    After killing off a couple hundred of these poor wee orphans, my memory situation (and performance) is fully restored.

    The script would seem to be unsatisfied because the external FS is at times not mounted because the server running it isn't online.

    Otherwise, the solutions in this thread have been totally sucessful, and I thank all concerned. If anyone knows contact details for Seamus Phelan, the script's author, I'd appreciate a pointer.

    Salaaaams
    ed
    Asus 1005HA CPU:N280 HDD:160G RAM:2G Ubuntu 10.04 and/or Mint 9

    Also have decrepit Fujitsu-Siemens Amilo D 1845 [now half-bricked by upgrade ]
    知 者 不 言。言 者 不 知。

  9. #1339
    Join Date
    Nov 2011
    Beans
    2

    Re: Mount samba shares with utf8 encoding using cifs

    Hi All:

    I am running Ubuntu 8.04.4 LTS server. I followed the tutorials with slight modifications (since my Ubuntu/samba could not located my windows machine)
    Code:
    sudo mount -t smbfs //$IPADDRESS/fax /mnt/fax -o username=xyz,password=xxxx
    This seems to work fine but then I mapped/linked this directory to web folder. I can see all the files and directories in the web folder but I can't read any of the files.

    Any solution to this?

    Thank you
    Bill

  10. #1340
    Join Date
    Feb 2006
    Beans
    86
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Mount samba shares with utf8 encoding using cifs

    I have a problem accessing some files on a CIFS share. All other files and folders are accessible.

    Code:
    root@firewall:/media/sambaa/fisiere# ls
    fullbackup  var  www
    root@firewall:/media/sambaa/fisiere# ls
    fullbackup  var  www
    root@firewall:/media/sambaa/fisiere# rm -rf var/
    ^C
    root@firewall:/media/sambaa/fisiere# rm -rf var/www/
    ^C
    root@firewall:/media/sambaa/fisiere# rm -rf var/www/*
    root@firewall:/media/sambaa/fisiere# rm -rf var/www/
    ^C
    root@firewall:/media/sambaa/fisiere# rm -rf var/
    ^C
    root@firewall:/media/sambaa/fisiere# mv var/ /tmp/
    mv: cannot stat `var/www/duplicity-full.20111112T021708Z.vol1.difftar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-inc.20111111T181707Z.to.20111111T191708Z.vol1.difftar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-inc.20111111T191708Z.to.20111111T201708Z.vol1.difftar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-inc.20111111T201708Z.to.20111111T211709Z.vol1.difftar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-inc.20111111T211709Z.to.20111111T221709Z.vol1.difftar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-inc.20111111T221709Z.to.20111111T231710Z.vol1.difftar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-inc.20111111T231710Z.to.20111112T001709Z.vol1.difftar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-inc.20111112T001709Z.to.20111112T011709Z.vol1.difftar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-new-signatures.20111111T181707Z.to.20111111T191708Z.sigtar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-new-signatures.20111111T191708Z.to.20111111T201708Z.sigtar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-new-signatures.20111111T201708Z.to.20111111T211709Z.sigtar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-new-signatures.20111111T211709Z.to.20111111T221709Z.sigtar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-new-signatures.20111111T221709Z.to.20111111T231710Z.sigtar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-new-signatures.20111111T231710Z.to.20111112T001709Z.sigtar.gz': No such file or directory
    mv: cannot stat `var/www/duplicity-new-signatures.20111112T001709Z.to.20111112T011709Z.sigtar.gz': No such file or directory
    root@firewall:/media/sambaa/fisiere# ls var/www/
    ls: cannot access var/www/duplicity-full.20111112T021708Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111111T181707Z.to.20111111T191708Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111111T191708Z.to.20111111T201708Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111111T201708Z.to.20111111T211709Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111111T211709Z.to.20111111T221709Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111111T221709Z.to.20111111T231710Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111111T231710Z.to.20111112T001709Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111112T001709Z.to.20111112T011709Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111111T181707Z.to.20111111T191708Z.sigtar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111111T191708Z.to.20111111T201708Z.sigtar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111111T201708Z.to.20111111T211709Z.sigtar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111111T211709Z.to.20111111T221709Z.sigtar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111111T221709Z.to.20111111T231710Z.sigtar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111111T231710Z.to.20111112T001709Z.sigtar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111112T001709Z.to.20111112T011709Z.sigtar.gz: No such file or directory
    duplicity-full.20111112T021708Z.vol1.difftar.gz                     duplicity-new-signatures.20111111T181707Z.to.20111111T191708Z.sigtar.gz
    duplicity-inc.20111111T181707Z.to.20111111T191708Z.vol1.difftar.gz  duplicity-new-signatures.20111111T191708Z.to.20111111T201708Z.sigtar.gz
    duplicity-inc.20111111T191708Z.to.20111111T201708Z.vol1.difftar.gz  duplicity-new-signatures.20111111T201708Z.to.20111111T211709Z.sigtar.gz
    duplicity-inc.20111111T201708Z.to.20111111T211709Z.vol1.difftar.gz  duplicity-new-signatures.20111111T211709Z.to.20111111T221709Z.sigtar.gz
    duplicity-inc.20111111T211709Z.to.20111111T221709Z.vol1.difftar.gz  duplicity-new-signatures.20111111T221709Z.to.20111111T231710Z.sigtar.gz
    duplicity-inc.20111111T221709Z.to.20111111T231710Z.vol1.difftar.gz  duplicity-new-signatures.20111111T231710Z.to.20111112T001709Z.sigtar.gz
    duplicity-inc.20111111T231710Z.to.20111112T001709Z.vol1.difftar.gz  duplicity-new-signatures.20111112T001709Z.to.20111112T011709Z.sigtar.gz
    duplicity-inc.20111112T001709Z.to.20111112T011709Z.vol1.difftar.gz
    root@firewall:/media/sambaa/fisiere# ls var/www/ -ls
    ls: cannot access var/www/duplicity-full.20111112T021708Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111111T181707Z.to.20111111T191708Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111111T191708Z.to.20111111T201708Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111111T201708Z.to.20111111T211709Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111111T211709Z.to.20111111T221709Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111111T221709Z.to.20111111T231710Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111111T231710Z.to.20111112T001709Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-inc.20111112T001709Z.to.20111112T011709Z.vol1.difftar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111111T181707Z.to.20111111T191708Z.sigtar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111111T191708Z.to.20111111T201708Z.sigtar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111111T201708Z.to.20111111T211709Z.sigtar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111111T211709Z.to.20111111T221709Z.sigtar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111111T221709Z.to.20111111T231710Z.sigtar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111111T231710Z.to.20111112T001709Z.sigtar.gz: No such file or directory
    ls: cannot access var/www/duplicity-new-signatures.20111112T001709Z.to.20111112T011709Z.sigtar.gz: No such file or directory
    total 0
    ? -????????? ? ? ? ?                ? duplicity-full.20111112T021708Z.vol1.difftar.gz
    ? -????????? ? ? ? ?                ? duplicity-inc.20111111T181707Z.to.20111111T191708Z.vol1.difftar.gz
    ? -????????? ? ? ? ?                ? duplicity-inc.20111111T191708Z.to.20111111T201708Z.vol1.difftar.gz
    ? -????????? ? ? ? ?                ? duplicity-inc.20111111T201708Z.to.20111111T211709Z.vol1.difftar.gz
    ? -????????? ? ? ? ?                ? duplicity-inc.20111111T211709Z.to.20111111T221709Z.vol1.difftar.gz
    ? -????????? ? ? ? ?                ? duplicity-inc.20111111T221709Z.to.20111111T231710Z.vol1.difftar.gz
    ? -????????? ? ? ? ?                ? duplicity-inc.20111111T231710Z.to.20111112T001709Z.vol1.difftar.gz
    ? -????????? ? ? ? ?                ? duplicity-inc.20111112T001709Z.to.20111112T011709Z.vol1.difftar.gz
    ? -????????? ? ? ? ?                ? duplicity-new-signatures.20111111T181707Z.to.20111111T191708Z.sigtar.gz
    ? -????????? ? ? ? ?                ? duplicity-new-signatures.20111111T191708Z.to.20111111T201708Z.sigtar.gz
    ? -????????? ? ? ? ?                ? duplicity-new-signatures.20111111T201708Z.to.20111111T211709Z.sigtar.gz
    ? -????????? ? ? ? ?                ? duplicity-new-signatures.20111111T211709Z.to.20111111T221709Z.sigtar.gz
    ? -????????? ? ? ? ?                ? duplicity-new-signatures.20111111T221709Z.to.20111111T231710Z.sigtar.gz
    ? -????????? ? ? ? ?                ? duplicity-new-signatures.20111111T231710Z.to.20111112T001709Z.sigtar.gz
    ? -????????? ? ? ? ?                ? duplicity-new-signatures.20111112T001709Z.to.20111112T011709Z.sigtar.gz

Page 134 of 137 FirstFirst ... 3484124132133134135136 ... 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
  •