samba at coombscloud.com
2018-Feb-05 19:47 UTC
[Samba] nmbd error: workgroup name is too long
I found a similar thread in this mailing list from a few years ago, but it looks like there was never a clear resolution. (https://lists.samba.org/archive/samba/2015-February/189450.html). I’m fairly frequently receiving the following error in my logs: Feb 5 11:16:22 hal nmbd[19333]: [2018/02/05 11:16:22.889584, 0] ../source3/nmbd/nmbd_workgroupdb.c:57(name_to_unstring) Feb 5 11:16:22 hal nmbd[19333]: name_to_nstring: workgroup name COOMBS ^[ is too long. Truncating to I’m running Samba 4.7.4 on FreeBSD 11.1. My smb4.conf file has the workgroup name as “COOMBS”, with NO trailing spaces. Here’s the complete configuration file: [global] workgroup = COOMBS server string = Samba Server Version %v netbios name = HAL security = user encrypt passwords = yes passdb backend = tdbsam wins support = yes domain master = yes interfaces = 192.168.1.220 bind interfaces only = yes [Plex] path = /zraid/plex valid users = plex writable = yes browsable = yes read only = no guest ok = no create mask = 0666 directory mask = 0755 In the prior thread, there was speculation of some invisible control character at play. I typed the above configuration file manually--with no copy/paste--so that should not be the case. Note that the error only seems to appear if "domain master = yes” is set. The netbios services do see to work—I just get my logs filled with these errors. Any suggestions? Thanks, Kirk Coombs
Am 05.02.2018 um 20:47 schrieb Kirk Coombs via samba:> In the prior thread, there was speculation of some invisible control character at play. I typed the above configuration file manually--with no copy/paste--so that should not be the case. > > Note that the error only seems to appear if "domain master = yes” is set.no, that nonsense started also with servers not part of a domain and even nmdb not used/started at all some years ago
Open a random text editor. Goto this line : workgroup = COOMBS Press end and remove the spaces behind COOMBS, keep removing untill the line below it moves one up. Then hit enter and restart samba. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Kirk > Coombs via samba > Verzonden: maandag 5 februari 2018 20:47 > Aan: samba at lists.samba.org > Onderwerp: [Samba] nmbd error: workgroup name is too long > > I found a similar thread in this mailing list from a few > years ago, but it looks like there was never a clear > resolution. > (https://lists.samba.org/archive/samba/2015-February/189450.html). > > I’m fairly frequently receiving the following error in my logs: > > Feb 5 11:16:22 hal nmbd[19333]: [2018/02/05 11:16:22.889584, > 0] ../source3/nmbd/nmbd_workgroupdb.c:57(name_to_unstring) > Feb 5 11:16:22 hal nmbd[19333]: name_to_nstring: workgroup > name COOMBS ^[ is too long. Truncating to > > I’m running Samba 4.7.4 on FreeBSD 11.1. My smb4.conf file > has the workgroup name as “COOMBS”, with NO trailing spaces. > Here’s the complete configuration file: > > [global] > workgroup = COOMBS > server string = Samba Server Version %v > netbios name = HAL > > security = user > encrypt passwords = yes > passdb backend = tdbsam > > wins support = yes > domain master = yes > > interfaces = 192.168.1.220 > bind interfaces only = yes > > [Plex] > path = /zraid/plex > valid users = plex > writable = yes > browsable = yes > read only = no > guest ok = no > create mask = 0666 > directory mask = 0755 > > In the prior thread, there was speculation of some invisible > control character at play. I typed the above configuration > file manually--with no copy/paste--so that should not be the case. > > Note that the error only seems to appear if "domain master = > yes” is set. > > The netbios services do see to work—I just get my logs filled > with these errors. > > Any suggestions? > > Thanks, > > Kirk Coombs > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
samba at coombscloud.com
2018-Feb-06 19:05 UTC
[Samba] nmbd error: workgroup name is too long
Louis, thanks for the suggestion. I deleted everything between the “B” in COOMBS and the first “e” in “server” and re-typed it all (including the new line) using nano. I even got rid of all the space (tab) before “server”. I restarted samba (including nmbd) and same result. Kirk> On Feb 6, 2018, at 12:42 AM, L.P.H. van Belle via samba <samba at lists.samba.org> wrote: > > Open a random text editor. > > Goto this line : workgroup = COOMBS > > Press end and remove the spaces behind COOMBS, keep removing untill the line below it moves one up. > Then hit enter and restart samba. > > > Greetz, > > Louis > > >> -----Oorspronkelijk bericht----- >> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Kirk >> Coombs via samba >> Verzonden: maandag 5 februari 2018 20:47 >> Aan: samba at lists.samba.org >> Onderwerp: [Samba] nmbd error: workgroup name is too long >> >> I found a similar thread in this mailing list from a few >> years ago, but it looks like there was never a clear >> resolution. >> (https://lists.samba.org/archive/samba/2015-February/189450.html). >> >> I’m fairly frequently receiving the following error in my logs: >> >> Feb 5 11:16:22 hal nmbd[19333]: [2018/02/05 11:16:22.889584, >> 0] ../source3/nmbd/nmbd_workgroupdb.c:57(name_to_unstring) >> Feb 5 11:16:22 hal nmbd[19333]: name_to_nstring: workgroup >> name COOMBS ^[ is too long. Truncating to >> >> I’m running Samba 4.7.4 on FreeBSD 11.1. My smb4.conf file >> has the workgroup name as “COOMBS”, with NO trailing spaces. >> Here’s the complete configuration file: >> >> [global] >> workgroup = COOMBS >> server string = Samba Server Version %v >> netbios name = HAL >> >> security = user >> encrypt passwords = yes >> passdb backend = tdbsam >> >> wins support = yes >> domain master = yes >> >> interfaces = 192.168.1.220 >> bind interfaces only = yes >> >> [Plex] >> path = /zraid/plex >> valid users = plex >> writable = yes >> browsable = yes >> read only = no >> guest ok = no >> create mask = 0666 >> directory mask = 0755 >> >> In the prior thread, there was speculation of some invisible >> control character at play. I typed the above configuration >> file manually--with no copy/paste--so that should not be the case. >> >> Note that the error only seems to appear if "domain master = >> yes” is set. >> >> The netbios services do see to work—I just get my logs filled >> with these errors. >> >> Any suggestions? >> >> Thanks, >> >> Kirk Coombs >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> >> > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Hi Kirk,> I found a similar thread in this mailing list from a few years ago, but it looks like there was never a clear resolution. (https://lists.samba.org/archive/samba/2015-February/189450.html). > > I’m fairly frequently receiving the following error in my logs: > > Feb 5 11:16:22 hal nmbd[19333]: [2018/02/05 11:16:22.889584, 0] ../source3/nmbd/nmbd_workgroupdb.c:57(name_to_unstring) > Feb 5 11:16:22 hal nmbd[19333]: name_to_nstring: workgroup name COOMBS ^[ is too long. Truncating towhat do you get if you increase you log level at 4 or 5 and restart your samba ? log level = 5 By the way, Samba-AD works great, you really should upgrade your standalone fileserver. And it is a good thing to avoid NetBIOS altogether and stick to DNS. If you disable nmbd, the message will probably go away... Cheers, Denis> > I’m running Samba 4.7.4 on FreeBSD 11.1. My smb4.conf file has the workgroup name as “COOMBS”, with NO trailing spaces. Here’s the complete configuration file: > > [global] > workgroup = COOMBS > server string = Samba Server Version %v > netbios name = HAL > > security = user > encrypt passwords = yes > passdb backend = tdbsam > > wins support = yes > domain master = yes > > interfaces = 192.168.1.220 > bind interfaces only = yes > > [Plex] > path = /zraid/plex > valid users = plex > writable = yes > browsable = yes > read only = no > guest ok = no > create mask = 0666 > directory mask = 0755 > > In the prior thread, there was speculation of some invisible control character at play. I typed the above configuration file manually--with no copy/paste--so that should not be the case. > > Note that the error only seems to appear if "domain master = yes” is set. > > The netbios services do see to work—I just get my logs filled with these errors. > > Any suggestions? > > Thanks, > > Kirk Coombs >-- Denis Cardon Tranquil IT Systems Les Espaces Jules Verne, bâtiment A 12 avenue Jules Verne 44230 Saint Sébastien sur Loire tel : +33 (0) 2.40.97.57.55 http://www.tranquil-it-systems.fr
samba at coombscloud.com
2018-Feb-07 01:44 UTC
[Samba] nmbd error: workgroup name is too long
> On Feb 6, 2018, at 12:22 PM, Denis Cardon via samba <samba at lists.samba.org> wrote: > > what do you get if you increase you log level at 4 or 5 and restart your samba ? > log level = 5With log level = 5, the error always appears immediately after the following entry: [2018/02/06 18:29:09.090976, 5] ../source3/nmbd/nmbd_browsesync.c:447(get_domain_master_name_node_status_success) get_domain_master_name_node_status_success: HAL(192.168.42.220) is a domain master browser for workgroup COOMBS ESC. Adding this name. so: [2018/02/06 18:29:09.090976, 5] ../source3/nmbd/nmbd_browsesync.c:447(get_domain_master_name_node_status_success) get_domain_master_name_node_status_success: HAL(192.168.42.220) is a domain master browser for workgroup COOMBS ESC. Adding this name. [2018/02/06 18:29:09.091016, 4] ../source3/nmbd/nmbd_workgroupdb.c:165(find_workgroup_on_subnet) find_workgroup_on_subnet: workgroup search for COOMBS ESC on subnet UNICAST_SUBNET: name_to_nstring: workgroup name COOMBS ESC is too long. Truncating to found. These also appear to be the only log entries in which the workgroup name appears as “COOMBS ESC". Everywhere else in the logs the workgroup appears as “COOMBS”. For example: [2018/02/06 18:29:09.091062, 4] ../source3/nmbd/nmbd_workgroupdb.c:165(find_workgroup_on_subnet) find_workgroup_on_subnet: workgroup search for COOMBS on subnet 192.168.42.220: found. [2018/02/06 18:29:09.091093, 4] ../source3/nmbd/nmbd_workgroupdb.c:165(find_workgroup_on_subnet) find_workgroup_on_subnet: workgroup search for COOMBS on subnet UNICAST_SUBNET: found. [2018/02/06 18:29:09.091125, 4] ../source3/nmbd/nmbd_workgroupdb.c:165(find_workgroup_on_subnet) find_workgroup_on_subnet: workgroup search for COOMBS on subnet UNICAST_SUBNET: found. Kirk