Page 118 of 137 FirstFirst ... 1868108116117118119120128 ... LastLast
Results 1,171 to 1,180 of 1362

Thread: Mount samba shares with utf8 encoding using cifs

  1. #1171
    Join Date
    Jul 2009
    Beans
    2

    Re: Mount samba shares with utf8 encoding using cifs

    Question.
    Do you have to change any settings for the Master browser?
    If so, how do you go about checking which server is the master browser,
    and how to set it so that only one server is the master browser?

    I find when you plug in appliances, some of them try to takeover the Master Browser.

  2. #1172
    Join Date
    Oct 2009
    Beans
    16

    Re: Mount samba shares with utf8 encoding using cifs

    I found a fix for the CIFS VFS error / haning issue on shutdown for Karmic (9.10) and wireless (WPA). I posted it here:
    http://ubuntuforums.org/showthread.p...27#post8449027

  3. #1173
    Join Date
    Mar 2007
    Beans
    97
    Distro
    Ubuntu

    Re: Mount samba shares with utf8 encoding using cifs

    It works!!! I finally found the trick. Really interesting, I have no idea why I need to do that now. Could interest cptvitamin too.
    I used to be able to mount samba shares on jaunty by doing
    Code:
    sudo mount //netbiosname/sharename mount_point -o username=myname,password=mypsswd
    which doesn't work anymore on karmic.

    But I get it to work by doing
    Code:
    sudo mount //netbiosname.workgroupname/sharename mount_point -o username=myname,password=mypsswd
    where workgroupname is shore.mbari.org in my case (to give an example)
    ie. I have to type the whole adress of netbiosname. Which is weird because I can ping netbiosname (without having the enter the whole adress) and I specified workgroupname as the workgoup in smb.conf.

    Hope that will help others

    edit: I had to do a fresh re-install because of another problem. And this time I could mount netbiosname directly without having to specify workgroupname. So my problem was related to something that went wrong during the upgrade...
    Last edited by kalyp; December 10th, 2009 at 11:18 PM.

  4. #1174
    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

    Those of you with problems connecting only to Vista or Win7 (everything is fine with XP), please see this post: http://ubuntuforums.org/showpost.php...9&postcount=45

    Let me know if that helps your problem. If so, I'll add it to the howto.

  5. #1175
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Mount samba shares with utf8 encoding using cifs

    dmizer - Would you take a look at this thread and, if possible, offer any insight?

    http://ubuntuforums.org/showthread.php?p=8584687
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

  6. #1176
    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 kalyp View Post
    ie. I have to type the whole adress of netbiosname. Which is weird because I can ping netbiosname (without having the enter the whole adress) and I specified workgroupname as the workgoup in smb.conf.

    Hope that will help others

    edit: I had to do a fresh re-install because of another problem. And this time I could mount netbiosname directly without having to specify workgroupname. So my problem was related to something that went wrong during the upgrade...
    It looks like your previous install had a local DNS server. That's what would make that difference. You weren't having to type the "whole netbios name", you were having to type the domain name. Netbios and DNS serve similar purposes with regards to naming conventions on local networks, but they are not the same thing.

  7. #1177
    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 lanops View Post
    Question.
    Do you have to change any settings for the Master browser?
    If so, how do you go about checking which server is the master browser,
    and how to set it so that only one server is the master browser?

    I find when you plug in appliances, some of them try to takeover the Master Browser.
    For a pure client, this should not make a difference. It will only make a difference if you are also sharing files, in which case you'll have to make changes to /etc/samba/smb.conf in order to either allow foreign master browsers, or to force a re-election.

  8. #1178
    Join Date
    Oct 2009
    Location
    Mumbai, India
    Beans
    22
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Mount samba shares with utf8 encoding using cifs

    Hey All,

    I have had this problem too. I am working presently on Karmic and access network from wireless and wired connections at different times.

    I tried three different solutions for this problem:
    1. The one given here: http://ubuntuforums.org/showthread.php?t=1347340
    2. The one given by dmizer here: http://ubuntuforums.org/showthread.php?t=288534
    3. And the one given here: http://ubuntuforums.org/showthread.php?t=293513

    However none of the solutions fixed my problem. I read in one of the posts that the real problem was to run the /etc/init.d/umountnfs.sh before the system is killed.

    This gave me the simple idea, since I always have a terminal open, I wrote this bash function:

    function bringdown()
    {
    sudo /etc/init.d/umountnfs.sh && sudo shutdown -h now
    }

    This simply solves my problem.

    However I was thinking of a more generic solution. I have never tried scripting. I was wondering if there can be a more elegant and generic solution to this. I have an idea, someone please let me know if this is feasible.

    We can create a script which runs this function `bringdown' as given above (preferable without the need for a sudo password prompt [perhaps using a credentials file or editing visudo]) and put this in the $PATH of each user, so that one can simply call the run dialog and bring the system down.

    Please let me know if writing such a script is possible and easy. I am willing to learn and do homework if any is needed.

    Thanks for reading the long post. Hoping for some replies.

  9. #1179
    Join Date
    Jan 2010
    Beans
    14

    Re: Mount samba shares with utf8 encoding using cifs

    mount error: can not change directory into mount target /media/epublic




    this is the error I get



    I think its the same thing thats stopping from browsing just under network.

  10. #1180
    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 dlabelle11 View Post
    mount error: can not change directory into mount target /media/epublic




    this is the error I get



    I think its the same thing thats stopping from browsing just under network.
    Please post the results of this command:
    Code:
    sudo ls -la /media

Page 118 of 137 FirstFirst ... 1868108116117118119120128 ... 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
  •