[MAC Lion] smbclient "Open AndX Request->STATUS_NOT_SUPPORTED"

Christopher R. Hertel crh at ubiqx.mn.org
Fri Jul 29 10:33:54 MDT 2011

> Dear Samba Team,
> Currently I am testing samba (smbclient) operation with  and MAC Lion.
> I tried  smbclient "\\\\ipaddressofmac\sharedfolder" (with full permission
> for shared folder)
> When I tried "put" command in smbclient prompt, SMB returned
> "NT_STATUS_NOT_SUPPORTED" for "Open AndX Request"

SMB_COM_OPEN_ANDX is listed as a Deprecated command in [MS-CIFS], which
should mean that Windows systems (W98SE and above) that negotiate NT LM 0.12
do not send SMB_COM_OPEN_ANDX.

At the back of my mind, I wonder whether W98SE sends NT Create&X or Open&X.
 If it sends Open&X then there's a bug in the document--and it would be my
bug--but I believe we tested this and checked the code a couple of years ago
when we were writing that section.

So... since the command is marked Deprecated in [MS-CIFS], it SHOULD NOT be
sent by clients if the negotiated dialect is NT LM 0.12.

...on the other hand, [MS-CIFS] section 1.7 recommends that servers support
Deprecated commands because clients might still send them.

1) Volker is on the right track.  Smbclient should send NT Create&X
   if NT LM 0.12 has been negotiated (and Open&X for older dialects).
2) MacOS is clearly abandoning support for the LANMAN and Core dialects
   but they are, at least, returning the correct error code.

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