[Samba] Improve warning message about netbios name
ClosedPublic

Authored by meven on Nov 17 2019, 3:27 PM.

Details

Summary

Before:
kf5.kio.core: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf\nLoaded services file OK.\nWARNING: The 'netbios name' is too long (max. 15 chars).\n\n"

After:
kf5.kio.core: Your samba 'netbios name' parameter was longer than the authorized 15 characters.
It may be because your hostname is longer than 13 and samba default 'netbios name' defaults to 'hostname-W', here: "meven-XPS-13-9370-W"
If that it is the case simply define a 'netbios name' parameter in /etc/samba/smb.conf at most 15 characters long

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
meven created this revision.Nov 17 2019, 3:27 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptNov 17 2019, 3:27 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
meven requested review of this revision.Nov 17 2019, 3:27 PM
meven updated this revision to Diff 69877.Nov 17 2019, 3:29 PM

Display leftovers warnings if any

meven edited the summary of this revision. (Show Details)Nov 17 2019, 3:30 PM
meven updated this revision to Diff 69878.Nov 17 2019, 3:35 PM
meven edited the summary of this revision. (Show Details)

Fix

ngraham accepted this revision.Nov 17 2019, 4:10 PM
This revision is now accepted and ready to land.Nov 17 2019, 4:10 PM
meven updated this revision to Diff 69921.Nov 18 2019, 1:06 PM

Improve reliability

This revision was automatically updated to reflect the committed changes.