Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: allitsk on November 24, 2015, 03:55:56 pm

Title: Samba shared folders unavaiable
Post by: allitsk on November 24, 2015, 03:55:56 pm
We have a problem on one Zentyal server with samba authentication and mapping user's primary group. I found out Zentyal developers was trying change sssd to winbind, but they revert it before releasing. Probably revert wasn't complete and winbind is now staring with smb process.

User can not connect to all shared folders (except home folders and sysvol) on lastest Zentyal Devel server (Ubuntu and Zentyal completely updated)

Whole problem is in winbind user's primary group lookup. All users has primary group "users" (gid 100) and not "domain users". I can see in smbstatus all connected users with primary group "users".

So user doesn't have any permission to access to /home/samba, because is not in domain users group.

Temporary fix is here, but after few hours all problems come back:
http://serverfault.com/questions/476086/samba-winbind-user-resolution

In old version (4.1) is all fine.

Please help, it's URGENT.
Title: Re: Samba shared folders unavaiable
Post by: pcready.cl on December 10, 2015, 05:52:46 pm
x2  :'(
Title: Re: Samba shared folders unavaiable
Post by: pcready.cl on December 10, 2015, 06:08:01 pm
I have de same problem, i need help!
Title: Re: Samba shared folders unavaiable
Post by: FutureCG on December 11, 2015, 09:25:38 am
Hi

Why you don't give "users" permission on /home/samba

Regards
Title: Re: Samba shared folders unavaiable
Post by: pcready.cl on December 12, 2015, 07:38:29 pm
I created a folder in / call "Intranet", there I moved all data in the folder SAMBA home and went back to create routes from the GUI Zentyal to that route and I could solve my problem.

It is not a final solution but at least users gained access to the data.