r22732: - Testing of libsmbclient against Vista revealed what is likely a bug in
authorDerrell Lipman <derrell@samba.org>
Mon, 7 May 2007 03:07:39 +0000 (03:07 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:21:52 +0000 (12:21 -0500)
commitd1153fc79076741571b203b1d70f1536bde208f0
treeefc5ec5e5ceaab8398760a3dea3421143bf86f83
parent3a9a3ad8f9ead7ec963103f8ee0fe905f3982913
r22732: - Testing of libsmbclient against Vista revealed what is likely a bug in
  Vista.  Vista provides a plethora of kludges to simulate older versions of
  Windows.  The kludges are in the form of shortcuts (or more likely symbolic
  links, but I don't know enough about Vista to determine that definitively)
  and in most cases, attempts to access them get back an "access denied"
  error.  On one particular folder, however, "<share>/Users/All Users", it
  returns an unknown (to ethereal and the Samba3 code) NT status code:
  0x8000002d.  Although this code does not have a high byte of 0xc0 indicating
  that it is an error, it appears to be an alternate form of "access denied".

  Without this patch, libsmbclient times out on an attempt to enumerate that
  folder rather than returning an error to the caller.  This patch corrects
  that problem.
(This used to be commit cc0cd3a12f76b8cd711e3165d4cfe920552f256d)
source3/include/nterr.h
source3/libsmb/clierror.c
source3/libsmb/clitrans.c