findsmb PATCH -- host names can contain spaces

Gerald Carter jerry at
Fri May 3 09:00:02 GMT 2002

On Fri, 3 May 2002 Derrell.Lipman at wrote:

> This patch corrects a problem that occurs when a windows host name contains a
> space.  Previously, only the first word of the host name would be displayed.
>   1. It may not be "proper" to have spaces in host names, but Win98, at least,
>      allows it, so findsmb should print the names correctly.)
>   2. There is still a likely bug where the script searches for "GROUP" but
>      does not limit the search to avoid searching within the host name
>      itself.  This means that a host name of GROUPLEAD, for example, would
>      likely match and the script would fail.
>   3. I really don't know perl, so there's probably a one-line (simpler) way of
>      doing what's in this patch.
> This patch is against SAMBA_2_2 from CVS.

I thought Simo already fixed this.  Is this a different bug?

cheers, jerry
 SAMBA Team                             
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba-technical mailing list