I have FreepBX Sangoma Linux 7 running locally with FreePBX . On the same server we have a windows IIS machine that we make url requests to. This has our own software running and access the MYSQL on the Linux machine.
We now need to allow our mobile application to listen to the voice recordings. I have googled and believe I have to install Samba to allow a file access.
How do I do this? the Linux box shows pbx login. I presume I have to exit from this and get the the Linux shell.
It turns out that the error message from smbpasswd is not super clear. Also the man page for smbpasswd can be misleading as the -a option seems to suggest that this option will add the user and create a password for that user.
The underlying issue seems to be that smbpasswd only adds users/sets passwords for users already known to the OS. So the right sequence of steps would be:
sudo useradd pi
sudo passwd pi
sudo smbpasswd -a pi
I now have a shared drive working on a windows machine.
I am unable to see the drive in my isapi app under IIS. Working on the issue