I currently replace old NAS systems with a fileserver. I am looking for a solution to create CIFS/SMB shares on the fileserver (Debian 12) which shall be protected by a login which works via LDAP groups.
The LDAP setup consists of an OpenLDAP server which doesn't have the samba attributes and I would really like to keep it like that.
I don't care about permissions within the files on the share but only the general permission to access the share.
So my question is: How can I provide my users with CIFS/SMB shares that are protected via a LDAP group-based authentication?
The solution I came up with was a WebDAV based approach (with LDAP auth via the apache2 LDAP integration) and it worked beautifully on Linux. It didn't work on Windows very good due to its poor WebDAV implementation so I had to abort it.
If you got any other ideas than using CIFS/SMB shares, that provide shares with LDAP group-based permissions and are mountable from Windows/Linux/Mac without any issues, please tell me.
Thanks in regard.