Modify common/post-fs-data.sh and insert your login details and share information at the top of the file.
Zip this file back up, and install it in Magisk.
Once running, your SAMBA share should be available at /storage/emulated/0/media with full read/write in any app.