Any suggestions on how to dynamically change user on samba share.
The scenario is this:
I have a number of shares available.
I have a database of users available stating what shares they should have access to.
I would like to be able to make the shares available to the users based upon the database.
I saw some use of PAM and mysql with samba but i don't just want to use the database to authenticate with samba.
Any suggestions is greatly appreciated.