Closed ImagineerNL closed 2 years ago
Hi, this plugin was designed to only use the Samba registry for configuration. This was done mainly to avoid manipulating text configuration files, which can be very messy. Shares defined in the registry and in the smb.conf file can coexist, however this plugin cannot manage shares created in smb.conf. See man net
for more information on samba registry. Luckily there is a way to automatically import shares from smb.conf into the registry:
cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
include = registry
is NOT present in smb.conf: sed -i '/include = registry/d' /etc/samba/smb.conf
net conf import /etc/samba/smb.conf
net conf list
echo "[Global]\n\tinclude = registry" > /etc/samba/smb.conf
After installation, the existing shares in my SMB.conf file aren't loaded in the web panel. Recreating the same info in the web panel doesnt show any message and the new shares arent stored in smb.conf either.
I have recreated the same shares in the webpanel and removed them from my smb.conf, so for me the issue is resolved. For people with many shares, this might be an issue