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
On Tue, 6 Feb 2018 18:44:15 -0700 Kirk Coombs via samba <samba at lists.samba.org> wrote:> > > > 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 = 5 > > > With 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. >It would appear your workgroup name is 'COOMBS ESC' not 'COOMBS' Double check your smb.conf, stop samba binaries and then remove any .tdb files in /var/lib/samba (or where yours are), restart Samba and see how you go on. Rowland
Backup you smb.conf and run. sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" smb.conf This removes all esc ansi special and color characters. Try that first before deleting files. Greetz, Ouis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland Penny via samba > Verzonden: woensdag 7 februari 2018 10:25 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] nmbd error: workgroup name is too long > > On Tue, 6 Feb 2018 18:44:15 -0700 > Kirk Coombs via samba <samba at lists.samba.org> wrote: > > > > > > > > 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 = 5 > > > > > > With 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_n > ode_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. > > > > It would appear your workgroup name is 'COOMBS ESC' not > 'COOMBS' > > Double check your smb.conf, stop samba binaries and then remove > any .tdb files in /var/lib/samba (or where yours are), restart Samba > and see how you go on. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
On Wed, 7 Feb 2018 10:38:21 +0100 "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:> > Backup you smb.conf and run. > sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" smb.conf > This removes all esc ansi special and color characters. > Try that first before deleting files. > >I think the problem is now in his Samba cache and deleting these shouldn't be a big problem, it is, after all, a Samba standalone server. Rowland