diff options
author | Derrell Lipman <derrell.lipman@unwireduniverse.com> | 2008-01-17 11:49:17 -0500 |
---|---|---|
committer | Derrell Lipman <derrell.lipman@unwireduniverse.com> | 2008-01-17 11:49:17 -0500 |
commit | 4f09727df8502c3a66cbf0cb423da1067d215c90 (patch) | |
tree | d425d5a32d72b2a2854a0e214fec8d0b01fcd38f /source3/include | |
parent | 76b5c674e70dff0d37409e64d53cda41ef9731a6 (diff) | |
download | samba-4f09727df8502c3a66cbf0cb423da1067d215c90.tar.gz samba-4f09727df8502c3a66cbf0cb423da1067d215c90.tar.bz2 samba-4f09727df8502c3a66cbf0cb423da1067d215c90.zip |
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)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/libsmb_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/libsmb_internal.h b/source3/include/libsmb_internal.h index dbc115429b..6c7dc80da8 100644 --- a/source3/include/libsmb_internal.h +++ b/source3/include/libsmb_internal.h @@ -15,6 +15,7 @@ struct _SMBCSRV { bool no_pathinfo; bool no_pathinfo2; bool no_nt_session; + POLICY_HND pol; SMBCSRV *next, *prev; |