When was 'session setup' introduced? (propose to change server-side min protocol to match)

Stefan (metze) Metzmacher metze at samba.org
Wed May 30 03:37:15 MDT 2012


Am 30.05.2012 04:24, schrieb Christopher R. Hertel:
> SessionSetupAndX was introduced in LAN Manager v1.0, the first OS/2 version
> of the protocol.  The Core Protocol does not support SessionSetupAndX.  See:
> http://msdn.microsoft.com/en-us/library/ee442101

The same applies for TreeConnectAndX...
I've pushed a fix to smbclient to use the Core Protocol TreeConnect to
autobuild.

> You do realize that this is the first time ever that we will have disabled
> support for a dialect.  ...and that Windows servers still support this dialect.

But I don't think they operate correctly...

With my modified smbclient(3) and a smbclient from 3.5.8 I tried this:

smbclient //172.31.9.219/torture -U% -m CORE
smbclient //172.31.9.219/torture -U% -m COREPLUS
smbclient //172.31.9.219/torture -U% -m LANMAN1

And only with LANMAN1 it's working.

With CORE (windows doesn't support COREPLUS) we get 'ERRbaduid' from
TreeConnectAndX
and 'ERRnoaccess' from TreeConnect.

> Also, the ProcessExit was declared Obsolete with the first LAN Manager
> dialect.  See: http://msdn.microsoft.com/en-us/library/ee441561

Windows still supports this and we use it a lot in our tests.
So we need to keep that one.

metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smbclient-3.5.8-core-coreplus-lanman1-01.pcap.gz
Type: application/x-gzip
Size: 2265 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120530/5f62a5f3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smbclient-masterX-core-coreplus-lanman1-01.pcap.gz
Type: application/x-gzip
Size: 1988 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120530/5f62a5f3/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120530/5f62a5f3/attachment.pgp>


More information about the samba-technical mailing list