Page 28 of 61 FirstFirst ... 18262728293038 ... LastLast
Results 271 to 280 of 610

Thread: Howto: Fix Windows share browsing issues

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

    Re: Howto: Fix Windows share browsing issues

    Quote Originally Posted by dmizer View Post
    Don't use samba for printing. It is an extreme pain to get working.

    Use the native cups interface. It works fine with Windows printers. You may have to connect the printer directly to your computer in order to make sure you get the right drivers loaded, but after that you'll be fine.
    Ok. Can you direct me to a tutorial or a how-to for accomplishing this?
    "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!

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

    Re: Howto: Fix Windows share browsing issues

    Quote Originally Posted by jamesisin View Post
    Ok. Can you direct me to a tutorial or a how-to for accomplishing this?
    What printer do you have (make and model)?

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

    Re: Howto: Fix Windows share browsing issues

    Quote Originally Posted by jmarks View Post
    I am so stuck. My log.winbindd reads
    Code:
      winbindd version 3.4.0 started.
      Copyright Andrew Tridgell and the Samba Team 1992-2009
    [2009/12/09 21:30:08,  0] ../lib/util/params.c:335(Parameter)
      params.c:Parameter() - Invalid parameter name in config. file.
    [2009/12/09 21:30:08,  0] winbindd/winbindd.c:1248(main)
      error opening config file
    My log.nmbd reads the same:
    Code:
      nmbd version 3.4.0 started.
      Copyright Andrew Tridgell and the Samba Team 1992-2009
    [2009/12/09 21:31:20,  0] ../lib/util/params.c:335(Parameter)
      params.c:Parameter() - Invalid parameter name in config. file.
    [2009/12/09 21:31:20,  0] nmbd/nmbd.c:858(main)
      error opening config file
    I'm running 9.10, and have no idea how to start debugging this. Could you tell me what the name of the config file that is causing these errors is?
    Thanks so much in advance
    Please post the contents of /etc/samba/smb.conf

  4. #274
    Join Date
    Aug 2007
    Location
    PGH
    Beans
    121
    Distro
    Ubuntu

    Re: Howto: Fix Windows share browsing issues

    NICE POST! Allot of people have major issues understand Samba or trying to get it working right. Good thread. =D>

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

    Re: Howto: Fix Windows share browsing issues

    Quote Originally Posted by dmizer View Post
    Please post the contents of /etc/samba/smb.conf
    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

  6. #276
    Join Date
    Dec 2009
    Beans
    7

    Question Re: Howto: Fix Windows share browsing issues

    Hi, I am having a problem with Samba on ubuntu gnome 9.10 and I am trying to access the files from an original xbox (via xbmc) and it keeps telling me 'workgroup not found'.

    I have tried doing it with a kde interface and it works ok (however other things do not which is why I switched to gnome)

    I posted my smb.conf file below, please let me know if it is something simple, thanks

    ---------

    [global]
    ; netbios name = WORKGROUP
    server string = Samba file and print server
    security = share
    hosts allow = 127. 192.168.0.
    interfaces = 127.0.0.1/8 192.168.0.0/24
    bind interfaces only = yes
    remote announce = 192.168.0.255
    remote browse sync = 192.168.0.255
    printcap name = cups
    ; load printers = yes
    cups options = raw
    ; printing = cups
    guest account = smbguest
    log file = /var/log/samba/samba.log
    max log size = 1000
    null passwords = yes
    username level = 6
    password level = 6
    encrypt passwords = no
    unix password sync = yes
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    local master = no
    domain master = no
    ; preferred master = no
    ; domain logons = no
    os level = 33
    logon drive = m:
    logon home = \\%L\homes\%u
    logon path = \\%L\profiles\%u
    logon script = %G.bat
    ; time server = no
    name resolve order = wins lmhosts host
    ; wins support = no
    ; wins proxy = no
    dns proxy = no
    ; preserve case = yes
    ; short preserve case = yes
    client use spnego = no
    client signing = no
    client schannel = no
    ; server signing = no
    server schannel = no
    ; nt pipe support = yes
    ; nt status support = yes
    ; allow trusted domains = yes
    obey pam restrictions = yes
    enable spoolss = yes
    ; client plaintext auth = no
    ; disable netbios = no
    follow symlinks = no
    update encrypted = yes
    ; pam password change = no
    passwd chat timeout = 120
    ; hostname lookups = no
    ; smb passwd file = /etc/samba/smbpasswd
    passwd program = /usr/bin/passwd '%u'
    passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
    add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
    add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
    add group script = /usr/sbin/groupadd '%g'
    delete user script = /usr/sbin/userdel '%u'
    delete user from group script = /usr/sbin/userdel '%u' '%g'
    delete group script = /usr/sbin/groupdel '%g'
    add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
    machine password timeout = 120
    winbind uid = 16777216-33554431
    winbind gid = 16777216-33554431
    template shell = /dev/null
    winbind use default domain = yes
    winbind separator = @
    winbind cache time = 360
    winbind trusted domains only = yes
    winbind nested groups = no
    winbind nss info = no
    ; winbind refresh tickets = no
    ; winbind offline logon = no
    guest ok = yes

    [homes]
    comment = Home Directories
    path = /home
    read only = no
    ; available = yes
    ; browseable = yes
    ; guest ok = yes
    ; printable = no
    share modes = yes
    locking = no

    [netlogon]
    comment = Network Logon Service
    path = /home/netlogon
    read only = no
    ; available = yes
    ; browseable = yes
    ; guest ok = no
    ; printable = no
    share modes = no
    locking = no

    [profiles]
    comment = User Profiles
    path = /var/samba/profiles
    read only = no
    ; available = yes
    browseable = no
    ; guest ok = yes
    ; printable = no
    locking = no
    create mask = 0600
    directory mask = 0700

    [printers]
    comment = All Printers
    path = /var/spool/samba
    ; browseable = yes
    ; writable = no
    ; guest ok = no
    printable = yes
    share modes = no
    locking = no

    [pdf-documents]
    path = /home/pdf-documents
    comment = Converted PDF Documents
    read only = no

    [pdf-printer]
    path = /tmp
    comment = PDF Printer Service
    printable = yes
    use client driver = yes
    printing = bsd
    print command = /usr/bin/gadmin-samba-pdf %s %u

    [mainpclinux]
    path = /home/mainpclinux
    read only = no
    ; browseable = yes
    guest ok = yes

    [VIDEOS]
    path = /home/mainpclinux/Videos/
    read only = no

  7. #277
    Join Date
    Dec 2009
    Beans
    4

    Re: Howto: Fix Windows share browsing issues

    Hi,

    I'm running ubuntu 9.10 on a home network and can not browse to my windows shares via "place > network". I get to Network, then I can see my workgroup, but if I try and go any further, it says "unable to mount location".
    I can connect to the PC using it's IP address under connect to server, but I can't do the same using it's name.
    This is odd since under 8.04 (the last ubuntu distro I used to use on an old laptop) I could simply browse to it straight from a fresh install.

    I tried all the steps at the start of this thread but had no joy at all. In fact I had to undo the edit to nsswitch.conf because it stopped aMSN from working!

    Anyway, anyone got any ideas? Because i've read through this thread and there still isn't a clear solution anywhere. I've updated all my packages, and checked all settings on the windows PC and this one.
    The workgroup is correct on both machines.
    There is no firewall active on the ubuntu machine and the XP has all it's exceptions set up (and other windows machines can access it, just not the ubuntu machine).
    The XP machine responds to pings from the ubuntu machine and I can even remotely shutdown the machine via the terminal using the IP. But once again, even with the terminal, I can not interact with this machine using it's name at all.

    This is extremely annoying more than anything because I can work around it just using the IP address, but why is it even happening in the first place? How come an updated version of ubuntu seems to have lost some basic functionality of earlier distros?

    Any solutions that work would be greatly appreciated. Any additional info needed just ask.
    And bare in mind that i'm quite new at this linux game, as i'm normally a windows person, so try to keep it fairly straightforward. I'm currently trying to shake off Bill Gate's iron shackles so I can continue to use a low spec machine with much better results

  8. #278
    Join Date
    Aug 2007
    Location
    PGH
    Beans
    121
    Distro
    Ubuntu

    Re: Howto: Fix Windows share browsing issues

    IDK if anyone has said this yet but on the first page where it says:
    Code:
     hosts:          files mdns4_minimal [NOTFOUND=return] wins dns mdns4
    .
    Gave me a slow network and issues with my browser name resolutions.

    Also... its prefreablly a good idea to keep a small smb.conf file.
    http://www.samba.org/samba/docs/man/...html#id2553100
    Last edited by carnagex420x; December 11th, 2009 at 06:16 AM.

  9. #279
    Join Date
    Nov 2007
    Location
    Pacific Northwest woods
    Beans
    2,056
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Howto: Fix Windows share browsing issues

    not enough time in my life to read all of the responses .. but for 9.10 .. I lost my Windows machines on my network.....

    Went to the Windows machines and changed the default network name from MSHOME to WORKGROUP and miraculously everything showed up .. including all of the printers.

  10. #280
    Join Date
    Dec 2009
    Beans
    4

    Re: Howto: Fix Windows share browsing issues

    Quote Originally Posted by oldsoundguy View Post
    not enough time in my life to read all of the responses .. but for 9.10 .. I lost my Windows machines on my network.....

    Went to the Windows machines and changed the default network name from MSHOME to WORKGROUP and miraculously everything showed up .. including all of the printers.
    That's interesting... I shall have to try that as my windows workgroup is also MSHOME.
    Although i've changed the workgroup name in Ubuntu to MSHOME as well, so it shouldn't make any difference, unless there's an error with Samba's actual programming and not the config files

Page 28 of 61 FirstFirst ... 18262728293038 ... 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
  •