Results 1 to 4 of 4

Thread: All Users Samba Share Stopped Working

  1. #1
    Join Date
    Jun 2006
    Location
    Glasgow, Scotland
    Beans
    139

    All Users Samba Share Stopped Working

    Hi,

    I'm stumped with a samba problem. I've got a share defined like this that has worked fine for years but after a recent update no longer allows anybody to connect. Any ideas?

    Code:
    [all_users]
       comment = All users
       path = /home/shares/all_users
       valid users = @users
       force group = users
       force create mode = 0660
       force directory mode = 0770
       writable = yes
    I'm running Ubuntu 12.04.3 LTS on the server.

    Thanks!

  2. #2
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: All Users Samba Share Stopped Working

    Quote Originally Posted by firebadger View Post
    Hi,

    I'm stumped with a samba problem. I've got a share defined like this that has worked fine for years but after a recent update no longer allows anybody to connect. Any ideas?

    Code:
    [all_users]
       comment = All users
       path = /home/shares/all_users
       valid users = @users
       force group = users
       force create mode = 0660
       force directory mode = 0770
       writable = yes
    I'm running Ubuntu 12.04.3 LTS on the server.

    Thanks!
    I have 2 Ubuntu 12.04.3 servers with Samba Server running on them. I use the user group users also.

    Are you saying that you (or anyone else in the group users) can't authenticate to the share? What diagnostic tests have you run? Have you checked the group membership
    Code:
    getent group users
    ...are all the users in this group? How about the smbpasswd database? You can check that like this
    Code:
    sudo pdbedit -L
    Have you set the debug on to check any failures? I do this to check the authentication
    Code:
    smbclient -d3 -u /NETBIOS_NAME/SHARE
    ...you can substitute the IP address if you want.

    Post your results here. Then we can help you.
    -BAB1

  3. #3
    Join Date
    Jun 2006
    Location
    Glasgow, Scotland
    Beans
    139

    Re: All Users Samba Share Stopped Working

    Hi Bab1,

    Thanks for the help.

    I didn't post much additional information because I suspected it must be an update problem as it was working and I'm fairly sure that nothing has changed since then bar installing updates.

    However, the group membership looks fine. All users present and correct.

    Everybody is also in the smbpass database. Thanks for that command - I didn't know about it.

    I do no more about the extent of the problem though. I have several shares, some for specific users and some for specific groups. It seems that the only problem is for shares for this users group. The problem also seems limited to the cifs mounts in my fstab and a Windows machine. I was able to access them using the smbclient command and also by browsing to them in Dolphin. All mechanisms were working until a week or so ago.

    I'm going to experiment a bit and if I resolve it I'll post an update. In the meantime, if you have any further thoughts I'd be very happy to hear them. Thanks again.

    Alan

  4. #4
    Join Date
    Jun 2006
    Location
    Glasgow, Scotland
    Beans
    139

    Re: All Users Samba Share Stopped Working

    Well, seem to have it cracked. Seemed to be a permissions problem on the directory itself. Was pretty sure nothing could have changed there, but clearly it did.

    Thanks again,
    Alan

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
  •