Hello,
I am trying to connect to my Freebox server via samba.
The server is well recognized, but when I want to connect to it, I can’t.
Maybe it comes from the file smb.conf in /etc/samba.
Before I try to go any further, can someone provide me the original smb.conf file in the EndeavourOS install script.
Thank you.
Patrick
dalto
March 16, 2023, 2:42pm
2
We don’t customize it. It should be the one that came with the package.
You can rename it and then resinstall the package to get the original file back.
1 Like
Yes, but I modified it to try to solve the problem.
Having failed, I want to put the original file back as it is in the install script.
Just install in a VM and get the file from there .
dalto
March 16, 2023, 2:53pm
5
Right. The instructions I provided above were how to restore the original.
Rename the conf file, reinstall the package.
1 Like
I uninstalled Samba.
The smb.conf file has been successfully deleted.
But when I reinstall it, no smb.conf file is recreated.
dalto
March 16, 2023, 6:42pm
7
I did a little digging. It looks like smb.conf is not shipped with the package. However, I don’t think we ship one either so I am not sure where your original file came from. Are you sure you didn’t create it?
If it helps, this is the “default” file offered by the project: https://git.samba.org/samba.git/?p=samba.git;a=blob_plain;f=examples/smb.conf.default;hb=HEAD
Patrick_F:
my Freebox server
Do you mean FreedomBox? Is it possible you got the original smb.conf from there?
Pudge
March 17, 2023, 12:10am
9
smb.conf does not come by default on any EnOS installation.
Here is a smb.conf file that I use for headless EnOS LAN servers. Works for my purposes on both x86_64 and aarch64 ARM.
In a terminal window, in a Temp folder
wget https://github.com/pudges-place/scripts/raw/main/smb.conf
Then copy it to the /etc/samba/ folder on the Linux device you want to act as a Samba Server.
The last eight lines of the smb.conf file define your Samba share
Pudge
3 Likes
Thank you very much.
It is perfect to samba.
Pudge
March 17, 2023, 3:56pm
11
You are welcome. Glad I could help.
Pudge
system
Closed
March 19, 2023, 3:56pm
12
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.