findsmb PATCH -- host names can contain spaces

Simo Sorce simo.sorce at
Mon May 6 09:30:02 GMT 2002

I would be glad to see those patches, please cc me when you send them to
the list, I hope I'll have some time to look at them and integrate them
in head.

On Mon, 2002-05-06 at 17:19, Derrell.Lipman at wrote:
> Gerald Carter <jerry at> writes:
> > Simo fixed it in HEAD and it just hasn't been backported yet.
> > I'll update SAMBA_2_2 later today.  If you wouldn't mind giving
> > it a go later this afternoon and make sure we have this bug 
> > straightened out.
> I have tested the version in HEAD and it does seem to handle host names with
> *internal* spaces properly. My submitted patch to findsmb can be safely
> discarded.
> My understanding is that the patch in HEAD does not handle the case of host
> names with leading spaces, because the output of nmblookup does not allow
> detecting that.  A couple of weeks ago, I submitted some patches to client.c
> (smbclient) to provide script-parsable output to the list of shares on a host,
> but those patches do not seem to have been incorporated.  I'd be glad to do
> similar modifications and submit a patch to nmblookup, which would allow
> detecting leading spaces in host names.  Let me know if such changes would be
> incorporated, and if so, I'll work on it this week.
> Cheers,
> Derrell
Simo Sorce - simo.sorce at
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list