Creating an anonymous samba share in CentOS 7
-
-
@wirestyle22 the change in config file should have solved the issue of the share asking you for a password. Did you check config file with testparm to check for any other errors?
-
Load smb config files from smb.conf.master rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Error loading services. [root@localhost ~]#```
-
@wirestyle22 There is something wrong with your configuration. If you created a backup of the original config start from it again.
Following the guide you can just:
rm smb.conf smb.conf.master
cp smb.conf.bak smb.conf.master
vi smb.conf.master
While editing once again add:
map to guest = Bad User
to the global parameters section.Go to the bottom of the file and add your share details once again.
[sharename] path = /chosen/path read only = No guest ok = Yes browseable = Yes public = Yes
Create your final smb.conf and check for error using:
testparm -s smb.conf.master > smb.conf
Restart your services:
systemctl restart smb.service
systemctl restart nmb.service
And it should be working.
-
@Romo said in Creating an anonymous samba share in CentOS 7:
systemctl restart nmb.service
That worked! I must have typo'd somewhere. I did re-read it a ton. Idk. Thanks!
-
@wirestyle22 Great!!