s3:utils: let smbstatus report anonymous signing/encryption explicitly
[samba.git] / source3 / modules / vfs_offline.c
index e8cb4394b3c916a49481c1171546b4b8429bb751..06edb762dae3aad8f746c3ec294bc013d7775fc4 100644 (file)
@@ -27,14 +27,6 @@ static uint32_t offline_fs_capabilities(struct vfs_handle_struct *handle,
               FILE_SUPPORTS_REMOTE_STORAGE;
 }
 
-static NTSTATUS offline_get_dos_attributes(struct vfs_handle_struct *handle,
-                                          struct smb_filename *smb_fname,
-                                          uint32_t *dosmode)
-{
-       *dosmode |= FILE_ATTRIBUTE_OFFLINE;
-       return SMB_VFS_NEXT_GET_DOS_ATTRIBUTES(handle, smb_fname, dosmode);
-}
-
 static NTSTATUS offline_fget_dos_attributes(struct vfs_handle_struct *handle,
                                            struct files_struct *fsp,
                                            uint32_t *dosmode)
@@ -45,11 +37,12 @@ static NTSTATUS offline_fget_dos_attributes(struct vfs_handle_struct *handle,
 
 static struct vfs_fn_pointers offline_fns = {
     .fs_capabilities_fn = offline_fs_capabilities,
-       .get_dos_attributes_fn = offline_get_dos_attributes,
+       .get_dos_attributes_send_fn = vfs_not_implemented_get_dos_attributes_send,
+       .get_dos_attributes_recv_fn = vfs_not_implemented_get_dos_attributes_recv,
        .fget_dos_attributes_fn = offline_fget_dos_attributes,
 };
 
-NTSTATUS vfs_offline_init(TALLOC_CTX *);
+static_decl_vfs;
 NTSTATUS vfs_offline_init(TALLOC_CTX *ctx)
 {
        return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "offline",