The host name is not visible in network after boot.
Found out that if samba is restarted with webmin, the hostname becomes visible and samba sharing works.
After boot:
- Code: Select all
# ps -A | grep mbd
3155 ? 00:00:00 smbd
3174 ? 00:00:00 smbd
shows that nmbd is not running after boot.
Restarting:
- Code: Select all
]
# /etc/init.d/smb restart
Restarting smb (via systemctl): [ OK ]
[root@lindell ~]# ps -A | grep mbd
16156 ? 00:00:00 smbd
16166 ? 00:00:00 nmbd
16171 ? 00:00:00 smbd
After this the host name appears visible in the network.
I tried uninstall and re-install samba but the result is the same.
I have another Mageia 5 64 bit in virtualbox with samba working normally but that is an upgrade from Mageia 4.
I would appreciate help to pinpoint and fix the problem.
Of course a possible workaround would be to use a script to restart samba some period after the machine has booted but that's not so elegant.