s3: VFS: Add SMB_VFS_GET_NT_ACL_AT().
[amitay/samba.git] / source3 / modules / vfs_not_implemented.c
index dc4ac25b03575eb960a8317238f864f8dc002c0a..c04704dad10fe79824cb48af2fc7fda7014dbb07 100644 (file)
@@ -97,12 +97,23 @@ NTSTATUS vfs_not_implemented_get_dfs_referrals(struct vfs_handle_struct *handle,
        return NT_STATUS_NOT_IMPLEMENTED;
 }
 
-DIR *vfs_not_implemented_opendir(vfs_handle_struct *handle,
-                       const struct smb_filename *smb_fname,
-                       const char *mask,
-                       uint32_t attr)
+NTSTATUS vfs_not_implemented_create_dfs_pathat(struct vfs_handle_struct *handle,
+                               struct files_struct *dirfsp,
+                               const struct smb_filename *smb_fname,
+                               const struct referral *reflist,
+                               size_t referral_count)
 {
-       return NULL;
+       return NT_STATUS_NOT_IMPLEMENTED;
+}
+
+NTSTATUS vfs_not_implemented_read_dfs_pathat(struct vfs_handle_struct *handle,
+                               TALLOC_CTX *mem_ctx,
+                               struct files_struct *dirfsp,
+                               const struct smb_filename *smb_fname,
+                               struct referral **ppreflist,
+                               size_t *preferral_count)
+{
+       return NT_STATUS_NOT_IMPLEMENTED;
 }
 
 NTSTATUS vfs_not_implemented_snap_check_path(struct vfs_handle_struct *handle,
@@ -450,7 +461,7 @@ bool vfs_not_implemented_getlock(vfs_handle_struct *handle, files_struct *fsp,
 }
 
 int vfs_not_implemented_symlinkat(vfs_handle_struct *handle,
-                               const char *link_contents,
+                               const struct smb_filename *link_contents,
                                struct files_struct *dirfsp,
                                const struct smb_filename *new_smb_fname)
 {
@@ -635,7 +646,7 @@ NTSTATUS vfs_not_implemented_streaminfo(struct vfs_handle_struct *handle,
 }
 
 int vfs_not_implemented_get_real_filename(struct vfs_handle_struct *handle,
-                                         const char *path,
+                                         const struct smb_filename *path,
                                          const char *name,
                                          TALLOC_CTX *mem_ctx,
                                          char **found_name)
@@ -794,6 +805,16 @@ NTSTATUS vfs_not_implemented_get_nt_acl(vfs_handle_struct *handle,
        return NT_STATUS_NOT_IMPLEMENTED;
 }
 
+NTSTATUS vfs_not_implemented_get_nt_acl_at(vfs_handle_struct *handle,
+                                       struct files_struct *dirfsp,
+                                       const struct smb_filename *smb_fname,
+                                       uint32_t security_info,
+                                       TALLOC_CTX *mem_ctx,
+                                       struct security_descriptor **ppdesc)
+{
+       return NT_STATUS_NOT_IMPLEMENTED;
+}
+
 NTSTATUS vfs_not_implemented_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
                                         uint32_t security_info_sent,
                                         const struct security_descriptor *psd)
@@ -1037,13 +1058,14 @@ static struct vfs_fn_pointers vfs_not_implemented_fns = {
        .statvfs_fn = vfs_not_implemented_statvfs,
        .fs_capabilities_fn = vfs_not_implemented_fs_capabilities,
        .get_dfs_referrals_fn = vfs_not_implemented_get_dfs_referrals,
+       .create_dfs_pathat_fn = vfs_not_implemented_create_dfs_pathat,
+       .read_dfs_pathat_fn = vfs_not_implemented_read_dfs_pathat,
        .snap_check_path_fn = vfs_not_implemented_snap_check_path,
        .snap_create_fn = vfs_not_implemented_snap_create,
        .snap_delete_fn = vfs_not_implemented_snap_delete,
 
        /* Directory operations */
 
-       .opendir_fn = vfs_not_implemented_opendir,
        .fdopendir_fn = vfs_not_implemented_fdopendir,
        .readdir_fn = vfs_not_implemented_readdir,
        .seekdir_fn = vfs_not_implemented_seekdir,
@@ -1126,6 +1148,7 @@ static struct vfs_fn_pointers vfs_not_implemented_fns = {
 
        .fget_nt_acl_fn = vfs_not_implemented_fget_nt_acl,
        .get_nt_acl_fn = vfs_not_implemented_get_nt_acl,
+       .get_nt_acl_at_fn = vfs_not_implemented_get_nt_acl_at,
        .fset_nt_acl_fn = vfs_not_implemented_fset_nt_acl,
 
        /* POSIX ACL operations. */