Results 1 to 2 of 2

Thread: Samba has stopped working.

  1. #1
    Join Date
    Feb 2012
    Beans
    1

    Samba has stopped working.

    I am running Ubuntu 11.10, and using samba, it WAS sat happily as a file sever for several Windows Vista/7 PC's. I have a DLink Router acting as an Internet Gateway and a DHCP Server. I was Happily running on IP Range 192.160.0.1 - 255 on a Subnet of 255.255.255.0 With the router as 192.168.0.1 and the Ubuntu Box a fixed IP of 192.168.0.110.

    For many reasons (mainly because I want to install openvpn) I changed the Subnet that the whole lot works on. to use 10.7.1.0 - 10.7.1.255 (255.255.255.0) The router is Now on 10.7.1.100 and the Ubuntu box is on 10.7.1.110 everything is working fine EXCEPT Samba, the Unbuntu box has Disappear from "Network" on the Windows PC's.

    I have got desperate enough, to uninstall iptables, UFW, and samba, them reinstall them and have started the Samba config from scratch, and still I cannot get it to appear on the Windows PC's

    This a copy of my smb.conf file at the moment.

    [global]
    netbios name = Father1
    workgroup = CCS
    security = user
    server string = CCS File Server

    [CCS-Common]
    path = /var/CCSshares/Public
    comment = CCS Members Common Share
    valid users = ccsadmin jamesm robinac arnoldb markr beng jeanh ginnyb danm
    write list = ccsadmin jamesm robinac arnoldb markr beng jeanh ginnyb danm
    read only = no
    available = no
    browseable = no
    writable = no
    guest ok = yes
    public = no
    printable = no
    locking = no
    strict locking = no

    If have have missed something, to with the change in the IP Addressing, but what?

  2. #2
    Join Date
    Apr 2008
    Location
    Birmingham UK
    Beans
    407
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Samba has stopped working.

    available = no
    browseable = no
    writable = no

    At a first glance, these settings should be yes.
    I'd also set

    locking = no

    to yes.

    Remember with SMB/CIFS browsing changes can take up to 15 minutes to refresh.

    Are your DNS settings right?

    Also, make sure that the users can access /var/CCSshares/public.
    Just a comment, but I would use /home instead of /var for shared folders, but that's just my preference.
    Last edited by wyliecoyoteuk; February 24th, 2012 at 04:58 PM. Reason: comment
    ****************************
    ****************************
    The sig between the asterisks is SO COOL that only REALLY COOL people can even see it!

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
  •