be8b8cf68c
Use 'net conf list' to read global config parameters from Samba registry. This is more reliable than parsing smb.conf, especially when using 'include = registry' in smb.conf. Co-Authored-By: Patrick <patrick@perlbach24.de>