Taoheedene

Mission Specialist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024
04:35 PM
- 6,370 Views
Good day, everyone.
I’m encountering an issue while trying to set up Samba. I’ve modified the `/etc/samba/smb.conf` file following the instructions below:
```
[global]
workgroup = WORKGROUP
netbios name = centos
security = user
map to guest = bad user
dns proxy = no
[Anonymous]
path = /samba/morepretzels
browsable = yes
writable = yes
guest ok = yes
guest only = yes
read only = no
```
I successfully enabled both `smb` and `nmb` services. While I was able to start the `smb` service without any issues, I’m having trouble with the `nmb` service. When I attempt to start it, I receive the following error:
```
systemctl start nmb
Job for nmb.service failed because a timeout was exceeded.
See “systemctl status nmb.service” and “journalctl -xeu nmb.service” for details.
```
I've reviewed the configuration but can't seem to pinpoint where the issue lies. Could anyone provide some insights or guidance on what might be causing this problem?
Thanks in advance!
11 Replies

Community Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024
01:43 PM
- 6,233 Views
@Taoheedene if you look at the logs carefully - you should get a hint at what was causing the issue :
so you need to verify the interface setting in the smb.conf : eg.
interfaces = 127.0.0.0/8 exx0
you need to verify that you have mentioned the correct interface there.
and then restart nmb service.
Another thing is that , it actually does not need this setting in the smb.conf,
because samba will query the kernel to ask for any available interface.
Of course unless you have used these two settings :
Refer the man page smb.conf

Community Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024
08:22 PM
- 949 Views
@Taoheedene you have given the error message but not the errr details. If you see the error message , it actually is giving you the hint to see the error details :
Hence, as @Trevor requested, please furnish more details.
- « Previous
-
- 1
- 2
- Next »
Join the discussion
You must log in to join this conversation.