On Sat, 1 Mar 2003, Christopher R. Hertel wrote: > Okay, I understand the problem now. > > The problem is that W/9x boxes do not recognize the generic "*SMBSERVER" > name in the NBT Session Setup Request. Also, W/9x boxes will send back an > error if the called name is not correct in the NBT Session Setup Request. > You should get a NEGATIVE SESSION RESPONSE (0x83) message with an error code > of: > 0x82: Called Name Not Present > > Since W/9x systems do not support the generic "*SMBSERVER" name, this error > message is correct. Basically, it's the NBT equivalent of "That port isn't > listening for a connection". > > The solution is to find the Server Service name on the remote machine. > This is typically done by sending a Node Status query and looking for a name > with a suffix byte value of 0x20.
There is code in libsmbclient to deal with this problem ... Regards ----- Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com