[SCALE 25.04.1] [SAMBA] Unable to edit samba registry after upgrade

Hi all,

I normally have a small script that allows me to see dot files (ie files beginning with a dot/period/hidden files) in my samba share by editing the registry using the net registry command. Since upgrading to Fangtooth I find that the smbconf node is now empty.

The command I would run is :

sudo net registry setvalue 'HKLM\Software\Samba\smbconf\<sharename>\' 'hide dot files' sz 'No'

If anyone can point me to where this property can now be set since the upgrade I would be very grateful.

I found a new way to do it … might not be the best way but it solved my problem. Any pointers on better/safer ways would be welcome.

Here are the steps:

  • Type cli
  • Find the id (number) or your share using sharing smb query - This will print an ascii table of your shares
  • Update the setting on the share you want to update with sharing smb update <your id> auxsmbconf="hide dot files = No" (case ans spacing is important)
  • Confirm the setting has been applied using : sharing smb query once again and you should see the value in the auxsmbconf column.

Hope someone else find this useful !

We stopped using registry in 25.04.

1 Like