TrueNAS-12.0 not showing share config in smb4.conf

Plaster36

Cadet
Joined
Mar 6, 2022
Messages
2
TrueNAS-12.0 not showing share config in smb4.conf or smb4_share.conf

I'm not sure where I have to go to see the config at which path. The original version 9.2 will be displayed at smb.conf.
 

Attachments

  • 001.jpg
    001.jpg
    152.2 KB · Views: 349
  • 002.jpg
    002.jpg
    67.4 KB · Views: 355

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
So... find /usr -name smb4.conf tells me there's a file like that here:

/usr/local/lib/python3.9/site-packages/middlewared/etc_files/local/smb4.conf

But the contents of that file are the scripts for TrueNAS to load all the stuff you're looking for from the config DB, so I don't think you'll find enlightenment there...

What you probably want is the command to show the current running config of SAMBA...

testparm -s
 

Plaster36

Cadet
Joined
Mar 6, 2022
Messages
2
So... find /usr -name smb4.conf tells me there's a file like that here:

/usr/local/lib/python3.9/site-packages/middlewared/etc_files/local/smb4.conf

But the contents of that file are the scripts for TrueNAS to load all the stuff you're looking for from the config DB, so I don't think you'll find enlightenment there...

What you probably want is the command to show the current running config of SAMBA...

testparm -s
thank you very much
 
Top