[Samba] FreeNAS/Samba Group Permissions with LDAP

Fajar Priyanto fajarpri at arinet.org
Thu Dec 8 16:43:38 MST 2011


On Fri, Dec 9, 2011 at 5:50 AM, Charles Tryon <charles.tryon at gmail.com> wrote:
> I'm not sure if this is an LDAP issue, a Samba issue, a BSD issue or a
> FreeNAS issue...
> However, my observation in FreeNAS is that, using LDAP, THIS DOESN'T WORK.
> If I set the Unix folder permissions in a share to "770", then the actual
> owner of the file/folder can open it up, but not other users who are in the
> group.  The only way to grant access to other users is to set the
> permissions to "777" and open it up to the world.  Also, the "valid users"
> parameter in the Samba conf file doesn't work with a group name.  If I
> specify a group, then noone can map the share.

Hi Charles,
As you can see in my earlier post, my problem may be a bit similar.
Mine is samba on zfs with 100+ users. I put all users in the same
group as 2ndary member (usermod -G groupname username).
I've setup LDAP authentication on the system.
The samba shares is 2770 where every users in the group have rwx access.
IT WORKS, but after a while some users are reporting they can only
READ, not WRITE.
Samba log shows this error: NT_NAME_COLLISION.......
I've googled, ask everywhere.. seen similar things, but....
So no solution, luckily I found a workaround. Creating a cronjob to
restart Samba once a day seems to eliminate the problem.


More information about the samba mailing list