maybe only in special configurations but perhaps easy to reach,
Windows98-Clients may not be able to login to a samba-Domainserver, while
Win2000-Clients can do this. the Win98-Client (german version) then shows a
message like "Ungültiger Parameter" (illegal parameter).
a analysis of network-traffic shows, that the servername within the
NetWkstaUserLogon-response is empty (consist only of the two back-slashes).
a simple, but working fix seems to be this patch to smbd/lanman.c:
--- lanman.c.dist Tue Feb 1 20:07:19 2005
+++ lanman.c Tue Feb 1 20:00:49 2005
@@ -2880,7 +2880,7 @@ static BOOL api_WWkstaUserLogon(connecti
+ fstrcat(mypath,(local_machine)? local_machine : global_myname());
PACKS(&desc,"z",mypath); /* computer */
hmm...local_machine should never be NULL from what I can see
in the code(). However, we should be use get_local_machine_name()
rather than digging around in a global variable. I've checked
this change in (has the same intent as your original patch.
Thanks for reporting this.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.