The Samba-Bugzilla – Bug 989
Single Quotes in machine's comment field causes machine to be ignored by lanman.
Last modified: 2005-11-14 09:30:23 UTC
We have a number of Win2k & WinXP machines in a domain using samba 3.0.2 as the
PDC. A number of machines were missing from the list of machines genereated by
smbclient (on the server) and net view (on the windows machines). After a little
bit of work it was apparent that the missing machines had comments that included
a single quote like "joe's computer". When the single-quote is removed from the
comment the machine appears back on the list of available machines.
It appears that lib/util_str.c:next_token returns incorrect information for the
comment and domain in smbd/lanman.c:get_server_info. As the domain does not
match the computer is not included in the list.
*** This bug has been marked as a duplicate of 1221 ***