Add uint32_t share_access to vuid_cache_entry.
[kai/samba.git] / source3 / modules / vfs_readonly.c
index f75db093cc2d8aa40ac27949653fbc9fd56e381c..445f947810353b320e1423ef028cc300fb6078b4 100644 (file)
@@ -86,6 +86,7 @@ static int readonly_connect(vfs_handle_struct *handle,
         ent->vuid = UID_FIELD_INVALID;
         TALLOC_FREE(ent->session_info);
         ent->read_only = false;
+        ent->share_access = 0;
       }
       conn->vuid_cache->next_entry = 0;
     }