Fix bug 5185: repeated calls to smbc_getxattr() lose sid-name mapping
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 17 Jan 2008 16:49:17 +0000 (11:49 -0500)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 17 Jan 2008 16:49:17 +0000 (11:49 -0500)
commit67c415661f6466c21cd0eaafabe58cba049d2af3
treee6e6634a3f4e0b32c977ba8cb2e9fee55d0a2b9b
parentf5f46de404dba2e4a03d205a62cd5cf7ea4e075a
Fix bug 5185: repeated calls to smbc_getxattr() lose sid-name mapping

If we're going to cache connections to IPC$, we'd better also cache the policy
handle and not use a stack-based handle that's invalid on subsequent calls.

Derrell
source/include/libsmb_internal.h
source/libsmb/libsmbclient.c