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

Christopher R. Hertel crh at ubiqx.mn.org
Fri Feb 3 16:34:31 MST 2012


If you are using smbmount, you are using the old SMBFS client filesystem. 
The Linux SMBFS was replaced with the CIFS VFS filesystem years ago, I'm afraid.

Okay, so...  The underlying problem is that the SMB_COM_OPEN_ANDX is an 
early OS/2 LAN Manager command.  It was replaced in the NT LAN Manager 
dialect (which appeared with Windows NT) with the SMB_COM_NT_CREATE_ANDX 
command.  SMB_COM_OPEN_ANDX is considered "deprecated" in modern 
implementations.  The NT commands are preferred, in general.

Some servers (and the new SMB server in Lion is clearly one of these) do not 
even support the older commands (though they "should").

Unfortunately, some of the older software, such as smbfs, assumed support 
for the full range of SMB commands, going all the way back to the PC-DOS 
Core Protocol dialect.

Chris -)-----

On 02/03/2012 04:57 PM, Darrik Spaude wrote:
> Does anyone have a suggestion for how to get this to work from Samba 3.0 (embedded system, so upgrading to 3.6 may not be possible)?
>
> For example, from the embedded system trying to connect to a share ("Shared") on Mac OS X 10.7.3 (Lion):
>
> smbmount //10.0.0.190/Shared /smbfs/10.0.0.190_Shared -o 'guest,rw,fmask=777,dmask=777'
>
> fails with "SMB connection failed."
>
> The same smbmount string connecting to Snow Leopard works just fine (same sharing config as Lion). Connecting from Snow Leopard to Lion via the following worked fine:
>
> smbclient \\\\10.0.0.190\\Shared --user=guest
>
> Is there a smb.conf change I can make for smbmount so that I don't get the STATUS_NOT_SUPPORTED negotiation failure?
>
> Thanks for your help,
> Darrik
>

-- 
"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