Page 29 of 61 FirstFirst ... 19272829303139 ... LastLast
Results 281 to 290 of 610

Thread: Howto: Fix Windows share browsing issues

  1. #281
    Join Date
    Dec 2009
    Beans
    4

    Re: Howto: Fix Windows share browsing issues

    YES!
    Finally gotten this to work.
    I did everything at the start of this thread except I put wins AFTER dns in nsswitch.conf rather than the beginning. Putting it at the start gave me more problems than it solved, mainly because it caused aMSN to stop working entirely and seemed to slow my internet right down.
    It also turns out that adding a netbios name under workgroup in the config file is also essential, as windows doesn't allow ubuntu access to it's shares without one.
    For anyone else who is having this same issue, here's the sections of my config files that I edited;

    /etc/samba/smb.conf

    #======================= Global Settings =======================

    [global]

    ## Browsing/Identification ###

    # Change this to the workgroup/NT-domain name your Samba server will part of
    workgroup = MSHOME
    netbios name = compist-desktop

    # server string is the equivalent of the NT Description field
    server string = %h server (Samba, Ubuntu)

    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable its WINS Server
    # wins support = no

    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z

    # This will prevent nmbd to search for NetBIOS names through DNS.
    dns proxy = no

    # What naming service and in what order should we use to resolve host names
    # to IP addresses
    name resolve order = lmhosts wins bcast host



    /etc/nsswitch.conf

    # /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the `glibc-doc-reference' and `info' packages installed, try:
    # `info libc "Name Service Switch"' for information about this file.

    passwd: compat
    group: compat
    shadow: compat

    hosts: files mdns4_minimal [NOTFOUND=return] dns wins mdns4
    networks: files

    protocols: db files
    services: db files
    ethers: db files
    rpc: db files

    netgroup: nis


    Hope this helps people!

    Compist

  2. #282
    Join Date
    Jan 2009
    Location
    Chicago USA
    Beans
    30
    Distro
    Ubuntu 9.10 Karmic Koala

    my problem SOLVED

    Quote Originally Posted by jmarks View Post
    Dear dmizer,
    Here is my smb.conf. Thanks so much for your help.
    Code:
    [global]
       workgroup = markshome
       netbios name = jmarks-desktop
       server string = anonymous file server
       security = user 
    # was security= share
    usernamemap = /etc/samba/smbusers  
    # this line above added for user-level share
       printing = cups
       printcap name = cups
       load printers = yes
    
    [common_share]
       path = /sharedfiles
       comment = anonymous share for all users
       public = yes
       writeable = yes
       browseable = yes
    
    [printers]
       comment = All Printers
       browseable = yes
       path = /var/spool/samba
       printable = yes
       public = yes
       writable = no
       create mode = 0700
    
    #==================================Share Definitions
    ==================================================
    
    # Un-comment the following (and tweak the other settings below to suit)
    # to enable the default home directory shares. this will share each
    # user's home directory as \\server\username
    [homes]
    comment = Home Directories
    browseable = yes
    valid users = %S
    writeable = yes
    I learned about testparm and ran it mutiple times, commenting lines until it ran without errors. Turned out all the sqawking (and my frustration over the last 2 weeks, was the line beginning "=". All I needed to do was comment it out, and it all ran fine.

    Thanks to all

  3. #283
    Join Date
    Nov 2009
    Beans
    22

    Re: Howto: Fix Windows share browsing issues

    Just wanted to add 2 cents to this. If your using Windows 7 and are trying to access a partition/drive that is NOT in the /users/public folder of windows 7, simply enabling sharing on the partition/drive and checking off every option in the windows sharing center will not allow ubuntu to mount the drive. It will still give an: unable to mount drive error message. You have to do as dmizer said about vista, create a directory within the drive, but then....you have to enable privileges like crazy for that folder via right click->properties, and then enabling full authority for users under both sharing, and security tabs. I got it to work via trial and error. ridiculously difficult to get working for something which should be so simple. If your worried about privacy, dont allow access via the "EVERYONE" object option.

  4. #284
    Join Date
    Sep 2008
    Beans
    21

    Re: Howto: Fix Windows share browsing issues

    When i enter command sudo /etc/init.d/samba restart it says command is not found. Though samba should be installed because when i enter smb://ip address/share I can view the files??

  5. #285
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,353
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Howto: Fix Windows share browsing issues

    PrimaryMaster - Isn't that the command to restart the Samba server and don't you want to restart the Samba client?
    "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. #286
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Howto: Fix Windows share browsing issues

    Those of you having problems with Vista or Win7, please see this post http://ubuntuforums.org/showpost.php...9&postcount=45

    Let me know if that helps, and I will add it to the howto.

  7. #287
    Join Date
    Aug 2006
    Beans
    10

    Re: Howto: Fix Windows share browsing issues

    Steps 2 and 3 fixed for me the 'unable to mount' error I was getting from Nautilus, much obliged!

  8. #288
    Join Date
    Jan 2007
    Location
    Rockport, MA
    Beans
    153
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Howto: Fix Windows share browsing issues

    This thread should be set super-sticky!

  9. #289
    Join Date
    Sep 2006
    Location
    Allentown, PA; USA
    Beans
    493
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Howto: Fix Windows share browsing issues

    I more or less have the reverse issue: I am using Ubuntu on a host and ON OCCASION use XP on a laptop or two with my network. When the laptops are running ubuntu, everything shares fine and all shared host folders are "browse-able" on the ubuntu guests.

    However, in Win XP Pro, When I go to use Win Explorer, when I navigate to Workgroup, I only see the laptop machine. The workgroup assigned is "workgroup" as it is in the Ubuntu host.

    If posting my smb.conf would be useful, I can easily do that but that takes up a lot of space on the forum page. I can also just post a part of it.

    What I have been doing is saving my work in XP, then boot into Ubuntu on the client and either transfer or print. Kind of cumbersome and I know that Samba is supposed to work to let XP (Pro) see the shares/printer.

  10. #290
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,353
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Howto: Fix Windows share browsing issues

    maestrobwh1 - Are you trying to allow for guest access or are you using Windows permissions to access the Ubuntu's Samba share?

    Either way you will want to ensure that you are using the correct permissions for the share (and one folder above the share I think). (Your other Ubu machines might be masking a permissions issue of you are using the same username and password combination between them.)
    "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!

Page 29 of 61 FirstFirst ... 19272829303139 ... LastLast

Tags for this Thread

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
  •