samba-3.0alpha23: smbclient -M ... ?
Christopher R. Hertel
crh at ubiqx.mn.org
Thu Apr 24 20:57:21 GMT 2003
On Thu, Apr 24, 2003 at 05:59:17PM +0100, David Lee wrote:
> This is just a quick "request for confirmation": I realise that, as a
> result, I may need to dig deeper myself, but would appreciate any
> pointers.
>
>
> I've just started dabbling with 3.0, using the alpha23 tarball.
>
> Under 2.2.x the command:
> smbclient -M PC_name -I ip.no.of.PC
>
> could send a WinPopup message to the PC. But this seems not to work with
> samba-3.0alpha23.
>
> Using Solaris "snoop" to watch the traffic (sorry I don't have the
> "ethereal" that folk seems to talk about):
>
> Samba 2.2.x does a nice packet exchange of the various SMBsend* packets.
>
> Samba 3.0alpha23 seems only to do the outbound SMBsendstrt, with no
> corresponding reply from the PC. Further the "originator name" and
> "destination name" seem to be expanded up to double length with null
> bytes.
Sounds as though the names are being written in Unicode, which sounds like
the wrong thing to do in this case.
> # 0: 0003 470e 18ff 0800 2004 c4ea 0800 4500 ..G..... .....E.
> # 16: 006e ca27 4000 4006 67f8 81ea 0246 81ea .n.'@. at .g....F..
> # 32: 0250 804e 008b 7146 2b36 635a b292 5018 .P.N..qF+6cZ..P.
> # 48: 60f4 ca0a 0000 0000 0042 ff53 4d42 d500 `........B.SMB..
> # 64: 0000 0008 01c8 0000 0000 0000 0000 0000 ................
> # 80: 0000 ffff 9109 0000 0100 001f 0004 7300 ..............s.
> # 96: 6100 6d00 6200 6100 0000 0400 6900 7400 a.m.b.a.....i.t.
> # 112: 7300 7000 6300 3800 3000 0000 s.p.c.8.0...
Hmmm... Unicode *and* lower case. Probably both wrong...
> Is there some sort of attempt at non-ASCII coding going on here? (Does
> the so-called "Flags2" play a role here?) What will happen when these
> names bump up against the 15-byte transmission limit within SMDsendstrt?
Ethereal is free, by the way, and it is a common tongue for folks on this
list. :)
Anyway, yes... The Unicode bit in the Flags2 is set in the second example
(Samba 3.0). The messenger service is old, and probably hasn't been
updated for Unicode, so I think that this is wrong.
Chris -)-----
--
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the samba-technical
mailing list