From 2f7c1db093504a9798cdfd9c5d08a259cb4abc46 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 23 Jan 2001 01:52:30 +0000 Subject: include/vfs.h: smbd/vfs-wrap.c: smbd/vfs.c: Added fchmod_acl and chmod_acl. lib/substitute.c: smbd/lanman.c: smbd/open.c: smbd/process.c: smbd/reply.c: smbd/service.c: Removed sessetup_user variable. Added current_user_info struct which conatins domain info etc. Added '%D' for client domain parameter. Jeremy. (This used to be commit 2844ec3d511680609d6794b8718001a1bda9e89f) --- source3/smbd/vfs.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'source3/smbd/vfs.c') diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index cbd1fd6825..2cd83c37f3 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -74,7 +74,10 @@ struct vfs_ops default_vfs_ops = { vfswrap_fget_nt_acl, vfswrap_get_nt_acl, vfswrap_fset_nt_acl, - vfswrap_set_nt_acl + vfswrap_set_nt_acl, + + vfswrap_chmod_acl, + vfswrap_fchmod_acl }; /**************************************************************************** @@ -257,6 +260,13 @@ BOOL vfs_init_custom(connection_struct *conn) conn->vfs_ops.set_nt_acl = default_vfs_ops.set_nt_acl; } + if (conn->vfs_ops.chmod_acl == NULL) { + conn->vfs_ops.chmod_acl = default_vfs_ops.chmod_acl; + } + + if (conn->vfs_ops.fchmod_acl == NULL) { + conn->vfs_ops.fchmod_acl = default_vfs_ops.fchmod_acl; + } return True; } #endif -- cgit