Or Red Hat Linux 9, it seems that SMM++ isn't able to send
the password correctly. I've tracked this down to
handling of
the TELNET protocol escape sequences (WILL/WONT/DO/DONT)
in TSession.tcl. It seems that on RHL 9 (and only there, on
previous versions everything is ok) the _sending_ of binary
data is broken (I think it's related to multibyte char
strings).
Here's a quick-and-dirty test that shows what's happening:
$ cat > test.tcl
puts -nonewline \xff
^D
$ tclsh t.tcl | hexdump
0000000 bfc3
0000002
On RHL8, it yields the expected result:
$ tclsh t.tcl | hexdump
0000000 00ff
0000001
I've solved the problem changing the fconfigure command in
TSession::connect() to set -translation for output to
'binary'
instead of 'lf':
fconfigure ... -translation {lf binary}
I can't tell if there's any drawback in doing that,
I've seen no
problems so far.