Results 1 to 10 of 24

Thread: Help with multiple Samba fileservers on network

Hybrid View

  1. #1
    Join Date
    May 2010
    Beans
    141

    Help with multiple Samba fileservers on network

    I week ago I had a perfectly functional network with several Samba fileservers and clients all working happily together. After a power surge and outage and a couple of updates, my network is a mess. I tried Gadmin-samba to salvage my system and it became completely non-functional. I removed the Gadmin-samba and am now slowly trying to get the network shares working again. Nautilus only recognizes some of the computers on the network but not all of them. Nautilus doesn't connect to the network at all on some of the clients but I can get to the share with smb://workgroup/server.

    My first question is: Does Samba server need to be running on each computer with Samba shares and if it does, does each computer need its own smb.conf file?

  2. #2
    Join Date
    Jul 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Help with multiple Samba fileservers on network

    Quote Originally Posted by hollywoodpete View Post
    I week ago I had a perfectly functional network with several Samba fileservers and clients all working happily together. After a power surge and outage and a couple of updates, my network is a mess. I tried Gadmin-samba to salvage my system and it became completely non-functional. I removed the Gadmin-samba and am now slowly trying to get the network shares working again.
    Gadmin-samba trashes the configuration file on every host it is installed on.
    Nautilus only recognizes some of the computers on the network but not all of them. Nautilus doesn't connect to the network at all on some of the clients but I can get to the share with smb://workgroup/server.
    The proper form is //SERVER_NAME/share_name. I don't see what the workgroup would be for.
    My first question is: Does Samba server need to be running on each computer with Samba shares and if it does, does each computer need its own smb.conf file?
    Any host that is serving files needs to be up and have a correctly configured smb.conf to operate. The smb.conf file configures the smbd and nmbd daemons (processes). In fact any host that uses Samba for file sharing (either server or client) uses the smb.conf file for configuration.

  3. #3
    Join Date
    May 2010
    Beans
    141

    Re: Help with multiple Samba fileservers on network

    Quote Originally Posted by redmk2 View Post
    Gadmin-samba trashes the configuration file on every host it is installed on.The proper form is //SERVER_NAME/share_name. I don't see what the workgroup would be for.]

    My mistake. I'm still learning


    [Any host that is serving files needs to be up and have a correctly configured smb.conf to operate. The smb.conf file configures the smbd and nmbd daemons (processes). In fact any host that uses Samba for file sharing (either server or client) uses the smb.conf file for configuration.
    Thanks. That make sense and is the way I set it up.

    On my main fileserver I have all the shares set up the same but one of the files show a mounting error. I will attach the smb.conf file

  4. #4
    Join Date
    May 2010
    Beans
    141

    Re: Help with multiple Samba fileservers on network

    [More Movies]
    path = /media/sdd1/More Movies
    writeable = yes
    ; browseable = yes
    guest ok = yes

    [Shared Movies]
    path = /media/sdb1/Shared Movies
    writeable = yes
    ; browseable = yes
    guest ok = yes

    [Training videos]
    path = /media/sdd1/Training videos
    writeable = yes
    ; browseable = yes
    guest ok = yes

    [Music]
    path = /media/sdd1/Music
    writeable = yes
    ; browseable = yes
    guest ok = yes

    [complete]
    path = /home/movieman/Downloads/complete
    writeable = yes
    ; browseable = yes
    guest ok = yes

    [Music videos]
    path = /media/sdd1/Music videos
    writeable = yes
    ; browseable = yes
    guest ok = yes

    [TV]
    path = /media/Time Machine/TV
    writeable = yes
    ; browseable = yes
    guest ok = yes



    All of the shares are accessable except the [TV] shares.

  5. #5
    Join Date
    Jul 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Help with multiple Samba fileservers on network

    Quote Originally Posted by hollywoodpete View Post
    [More Movies]
    path = /media/sdd1/More Movies
    writeable = yes
    ; browseable = yes
    guest ok = yes

    [Shared Movies]
    path = /media/sdb1/Shared Movies
    writeable = yes
    ; browseable = yes
    guest ok = yes

    [Training videos]
    path = /media/sdd1/Training videos
    writeable = yes
    ; browseable = yes
    guest ok = yes

    [Music]
    path = /media/sdd1/Music
    writeable = yes
    ; browseable = yes
    guest ok = yes

    [complete]
    path = /home/movieman/Downloads/complete
    writeable = yes
    ; browseable = yes
    guest ok = yes

    [Music videos]
    path = /media/sdd1/Music videos
    writeable = yes
    ; browseable = yes
    guest ok = yes

    [TV]
    path = /media/Time Machine/TV
    writeable = yes
    ; browseable = yes
    guest ok = yes



    All of the shares are accessable except the [TV] shares.
    I beg to differ.

    The path is different. I'll bet the permissions along that path are restricting you. The directories need to have the eXecute bit set for your user or group for you to enter or traverse the directory.

  6. #6
    Join Date
    May 2010
    Beans
    141

    Re: Help with multiple Samba fileservers on network

    "the directories need to have the eXecute bit set"


    I am lost on this point. I guess I thought if it mounted in media, it would be shared.

    FWIW the drives that share fine are NTFS. The drive I am having a problem with is ext4. My network is really all linux so if there is a better way to mount the ext4 drive to share I am open for suggestions. My goal is to have it available to xbmc devices.

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
  •