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

Christopher R. Hertel crh at ubiqx.mn.org
Sat Jul 30 20:15:54 MDT 2011


George K Colley wrote:
> On Jul 29, 2011, at 7:45 AM, Volker Lendecke wrote:
:
>> See the attached patchset that I've just pushed to master.
>> It will do a fallback to ntcreate&x if the open is replied
>> to with NT_STATUS_NOT_SUPPORTED.
> 
> So it would be better to check and see if the server supports the NT Cap bit. Any server that supports that bit needs to support the NTCreateAndX message. 

That should work.

...but if smbclient negotiates "NT LM 0.12", receives CAP_NT_SMBS from the
server, and sends CAP_NT_SMBS back to the server, then it should always use
NT_CREATE&X, not OPEN&X.

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