I used samba+ldap.
How can I use groups in LDAP to limit permission for each user in samba shared directory.?
Although I added user1 to group1 (in LDAP) but permissions were still allowed by linux.
Or I should ignore groups in LDAP and used group in linux only.