[WORKAROUND] Re: [Samba] duplicate domains in browse list

Jeremy Allison jra at samba.org
Fri May 28 16:33:33 GMT 2004


On Fri, May 28, 2004 at 10:42:27AM +0200, Farkas Levente wrote:
> Jeremy Allison wrote:
> >On Thu, May 27, 2004 at 08:45:22PM +0200, Joerg Pulz wrote:
> >
> >>-----BEGIN PGP SIGNED MESSAGE-----
> >>Hash: SHA1
> >>
> >>On Thu, 27 May 2004, Jeremy Allison wrote:
> >>
> >>
> >>>Ok, all the changes here are just to reduce the size of string
> >>>used from an unstring to an nstring. Unfortunately this cannot
> >>>be correct as it would cause truncation for multibyte characters
> >>>in code pages like Japanese.
> >>>
> >>>It may be that the change you added causes extra non-zero bytes not
> >>>to be examined in the comparison functions. If that is the case
> >>>the following patch should have the same effect. If you could test
> >>>this instead of your patch I'd appreciate it.
> >>
> >>I've tested the small patch on one DMB but it did NOT work.
> >>
> >>I stopped 'smbd' and 'nmbd', removed the browse.dat file, installed the 
> >>new binaries, and started the whole thing.
> >>as soon as the browse.dat file is recreated, it contains domain names 
> >>with trailing spaces until MAX_NETBIOSNAME_LEN is reached.
> >
> >
> >Can you send me your smb.conf please. I'd really like to make
> >sure I've fixed this for 3.0.5.
> 
> I've similar entries in my log files:
> -----------------------
> May 25 10:16:24 kek nmbd[10096]: [2004/05/25 10:16:24, 0] 
> nmbd/nmbd_workgroupdb.c:create_workgroup(68)
> May 25 10:16:24 kek nmbd[10096]:   create_workgroup: workgroup name MKK 
>            ^[ is too long. Truncating to MKK
> 
> if I not wrap the lines (the middle of the line):
> create_workgroup: workgroup name MKK            ^[ is too long. 
> Truncating to MKK

Could you send me the smb.conf and the log file please. Also
copies of your browse.dat files.

Thanks,

	Jeremy.


More information about the samba mailing list