>How can I use groups in LDAP to limit permission for each user in samba >shared directory.? This is veyr off topic. >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. Eh? I think you need to look into NSS LDAP, see padl.com.