Author Topic: Samba shared folders unavaiable  (Read 1610 times)

allitsk

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Samba shared folders unavaiable
« 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.

pcready.cl

  • Zen Samurai
  • ****
  • Posts: 280
  • Karma: +13/-1
  • Zentyal Installer in Chile
    • View Profile
    • PC Ready Chile SpA
Re: Samba shared folders unavaiable
« Reply #1 on: December 10, 2015, 05:52:46 pm »
x2  :'(
Carlos Gallardo I.
Jefe de Proyectos Informáticos
Email: cgallardo@pcready.cl
Teléfono: (+56 32) 314 0883
Skype: pcready.cl
Web: https://www.pcready.cl

pcready.cl

  • Zen Samurai
  • ****
  • Posts: 280
  • Karma: +13/-1
  • Zentyal Installer in Chile
    • View Profile
    • PC Ready Chile SpA
Re: Samba shared folders unavaiable
« Reply #2 on: December 10, 2015, 06:08:01 pm »
I have de same problem, i need help!
Carlos Gallardo I.
Jefe de Proyectos Informáticos
Email: cgallardo@pcready.cl
Teléfono: (+56 32) 314 0883
Skype: pcready.cl
Web: https://www.pcready.cl

FutureCG

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Samba shared folders unavaiable
« Reply #3 on: December 11, 2015, 09:25:38 am »
Hi

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

Regards

pcready.cl

  • Zen Samurai
  • ****
  • Posts: 280
  • Karma: +13/-1
  • Zentyal Installer in Chile
    • View Profile
    • PC Ready Chile SpA
Re: Samba shared folders unavaiable
« Reply #4 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.
Carlos Gallardo I.
Jefe de Proyectos Informáticos
Email: cgallardo@pcready.cl
Teléfono: (+56 32) 314 0883
Skype: pcready.cl
Web: https://www.pcready.cl