Page 57 of 137 FirstFirst ... 747555657585967107 ... LastLast
Results 561 to 570 of 1362

Thread: Mount samba shares with utf8 encoding using cifs

  1. #561
    Join Date
    Jun 2008
    Beans
    5

    Re: Mount samba shares with utf8 encoding using cifs

    I used nano, as per original howto. Thx.

  2. #562
    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 bradrourke View Post
    I used nano, as per original howto. Thx.
    do you have any unusual characters or spaces in your username or password?

  3. #563
    Join Date
    Jun 2008
    Beans
    5

    Re: Mount samba shares with utf8 encoding using cifs

    No unusual characters or nuthin'! Just numbers, actually. (Shh, don't tell.)

  4. #564
    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 only other thing i can think of then is to double check, and make sure that the spelling and directory path are the same.

    beyond that, i can't imagine anything else could be wrong.

  5. #565
    Join Date
    Feb 2006
    Beans
    26

    Re: Mount samba shares with utf8 encoding using cifs

    dmizer

    I am back again. I want to echo what someone else has said - thank you so much for all your help and patience. REALLY appreciated.

    OK.

    1. How do I get "cat /etc/passwd | grep edward" for the server?

    2. I tried your suggestion of:

    Code:
    sudo mount -t cifs //192.168.0.9/Public /mnt/qnap -o username=edward,password=edward,uid=edward,iocharset=utf8,file_mode=0777,dir_mode=0777
    The result was:

    Owner - edward - Create and delete files

    Group - Users - Access files

    Others - Folder Access - Access files

    Using my last attempt:

    Code:
    sudo mount -t cifs //192.168.0.9/Public /mnt/qnap -o username=edward,password=edward,uid=edward,gid=nogroup,iocharset=utf8,file_mode=0777,dir_mode=0777
    This gets the
    owner - edward - Create and delete files (What I want)
    Group as nogroup - correct, but the permissions only as Folder Access - Access files only

    This is the only error left now. I would like the nogroup to have full read/write access if possible. Is this in fact possible?

    Once again - thanks for all your help. I guess I would be somewhat lost without your help

  6. #566
    Join Date
    Jun 2008
    Beans
    13

    Re: Mount samba shares with utf8 encoding using cifs

    I am having trouble mounting a windows share.

    Once in about every 50 attempts
    Code:
     mount -t cifs //server/share /media/share -o username=user,password=pwd,file_mode=0777,dir_mode=0777
    will work. Every other attempt I receive
    Code:
    mount error 5 = Input/output error
    refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    If I run
    Code:
    smbtree -N
    I can see the share, but I'm unable to connect to it.

    I can connect to other servers using the above command and then umount then re-mount over and over again. But to this server one in 50 times if I'm lucky. If I do get connected, the mount is disconnected at some point.

    I am using this share from a windows box with no problem.

    Code:
    mount error 5
    doesn't seem to be a very common issue, I didn't find much on this forum or on Google.

    I hope it's a simple issue.

    Thanks in advance for any help you may be able to provide

  7. #567
    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 Edk View Post
    dmizer

    I am back again. I want to echo what someone else has said - thank you so much for all your help and patience. REALLY appreciated.

    OK.

    1. How do I get "cat /etc/passwd | grep edward" for the server?
    i thought you mentioned in post 549 that you were trying to connect two linux boxes together. did i misunderstand?

    Quote Originally Posted by Edk View Post
    2. I tried your suggestion of:

    Code:
    sudo mount -t cifs //192.168.0.9/Public /mnt/qnap -o username=edward,password=edward,uid=edward,iocharset=utf8,file_mode=0777,dir_mode=0777
    The result was:

    Owner - edward - Create and delete files

    Group - Users - Access files

    Others - Folder Access - Access files

    Using my last attempt:

    Code:
    sudo mount -t cifs //192.168.0.9/Public /mnt/qnap -o username=edward,password=edward,uid=edward,gid=nogroup,iocharset=utf8,file_mode=0777,dir_mode=0777
    This gets the
    owner - edward - Create and delete files (What I want)
    Group as nogroup - correct, but the permissions only as Folder Access - Access files only

    This is the only error left now. I would like the nogroup to have full read/write access if possible. Is this in fact possible?

    Once again - thanks for all your help. I guess I would be somewhat lost without your help
    this permissions issue is not likely to be fixed by changing things on the client side. i think this problem is coming from the server side.

  8. #568
    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 IbuildDW View Post
    I am having trouble mounting a windows share.

    Once in about every 50 attempts
    Code:
     mount -t cifs //server/share /media/share -o username=user,password=pwd,file_mode=0777,dir_mode=0777
    will work. Every other attempt I receive
    Code:
    mount error 5 = Input/output error
    refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    If I run
    Code:
    smbtree -N
    I can see the share, but I'm unable to connect to it.

    I can connect to other servers using the above command and then umount then re-mount over and over again. But to this server one in 50 times if I'm lucky. If I do get connected, the mount is disconnected at some point.

    I am using this share from a windows box with no problem.

    Code:
    mount error 5
    doesn't seem to be a very common issue, I didn't find much on this forum or on Google.

    I hope it's a simple issue.

    Thanks in advance for any help you may be able to provide
    try connecting by ip address instead of by server name:
    Code:
    mount -t cifs //server-ip-address/share /media/share -o username=user,password=pwd,file_mode=0777,dir_mode=0777
    this problem could occur if a firewall on your windows machine is blocking name resolution.

    if this does not work, please provide more information about the server. is it a windows computer, or NAS device? if windows, what version? any security software enabled?

  9. #569
    Join Date
    Jun 2008
    Beans
    13

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by dmizer View Post
    try connecting by ip address instead of by server name:
    Thank-you for the suggestion. I get the same result by ip address. I changed the user/passwd to a domain admin and it works.. There must be something wrong with the permissions of the user I created. I gave the user access to the share, and file permissions. User in the Domain Admin group, works.. User I created not so much..

  10. #570
    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 IbuildDW View Post
    There must be something wrong with the permissions of the user I created. I gave the user access to the share, and file permissions. User in the Domain Admin group, works.. User I created not so much..
    sounds like a good start to me.

    does the same user account work on another windows computer? can you provide more information about the server hosting the shares (vista? xp? a nas device?)

Page 57 of 137 FirstFirst ... 747555657585967107 ... 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
  •