samba config missing on current nightly

Status
Not open for further replies.

daeda

Dabbler
Joined
Nov 28, 2017
Messages
12
Hi I upgraded from an older nightly to the current one which is:

Code:
FreeNAS-11.2-MASTER-201808310859


I noticed that smb is not started after reboot. I tried starting it by hand in the new UI but it is not starting.

So I tried

service samba_server start

which gets me

/usr/local/etc/rc.d/samba_server: WARNING: /usr/local/etc/smb4.conf is not readable.

The reason for this is that it's not there any more.

So where is it or how do I create it?
How does the gui create it? Is there some kind of script I can invoke?

Hope someone can help.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,175
I'm not sure the nightlies are functional at the moment. The interesting development is going on in the 11.2-STABLE branch.
 

Nigel

Dabbler
Joined
Oct 3, 2014
Messages
14
I'm on 11.2 stable, and I have the same issue i.e. samba won't start, with error: WARNING: /usr/local/etc/smb4.conf is not readable.
smb4.conf is actually not present: How can I create this file?

Update: If I manually create smb4.conf the service starts, and I can see the share configured in the file. However, if i stop the samba_server service, it won't restart, and the smb4.conf file disappears.
 
Last edited:

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,175
File a bug report and post the issue number here.
 
Status
Not open for further replies.
Top