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)
commit4f09727df8502c3a66cbf0cb423da1067d215c90
treed425d5a32d72b2a2854a0e214fec8d0b01fcd38f
parent76b5c674e70dff0d37409e64d53cda41ef9731a6
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
(This used to be commit 67c415661f6466c21cd0eaafabe58cba049d2af3)
source3/include/libsmb_internal.h
source3/libsmb/libsmbclient.c