I have seen a couple of websites / tutorials to "access files and folders" controlled by Samba4.
I want to ask if it is possible to use Samba as the database, and allow a user to enter their username and password, then using PHP, connect to the Samba users list to check these credentials and authenticate.