search for: smb_filename

Displaying 7 results from an estimated 7 matches for "smb_filename".

2016 Aug 29
1
Issue with acl_xattr:ignore system acls in 4.5rc2
...acl_common.c +++ b/source3/modules/vfs_acl_common.c @@ -625,7 +625,7 @@ static NTSTATUS validate_nt_acl_blob(TALLOC_CTX *mem_ctx, vfs_handle_struct *handle, files_struct *fsp, const struct smb_filename *smb_fname, - DATA_BLOB *blob, + const DATA_BLOB *blob, struct security_descriptor **ppsd, bool *psd_is_from_fs) { Making the blob pointer parameter to v...
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
...cl_hash[XATTR_SD_HASH_SIZE]; > uint8_t hash_tmp[XATTR_SD_HASH_SIZE]; > uint8_t sys_acl_hash_tmp[XATTR_SD_HASH_SIZE]; > - struct security_descriptor *psd = NULL; > + struct security_descriptor *psd_blob = NULL; > struct security_descriptor *pdesc_next = NULL; > const struct smb_filename *smb_fname = NULL; > bool ignore_file_system_acl = lp_parm_bool(SNUM(handle->conn), > @@ -509,25 +509,25 @@ static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle, > if (!NT_STATUS_IS_OK(status)) { > DEBUG(10, ("get_nt_acl_internal: get_acl_blob returned %s\n"...
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 06:33:26PM +0200, Ralph Böhme via samba wrote: > On Thu, Aug 25, 2016 at 12:14:00PM -0700, Jeremy Allison wrote: > > On Wed, Aug 24, 2016 at 04:06:42PM +0200, Ralph Böhme via samba wrote: > > > > > > Yeah, as much as I'd like to avoid adding a new option, I guess we > > > have to do something about it, my latest take on this is >
2016 Aug 27
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 04:03:49PM -0700, Jeremy Allison wrote: > On Fri, Aug 26, 2016 at 02:46:19PM -0700, Jeremy Allison via samba wrote: > > On Fri, Aug 26, 2016 at 06:44:05PM +0200, Ralph Böhme wrote: > > > > > > Cheerio! > > > -slow > > > > Still reviewing this - but a few things that will need changing: > > > > When adding the
2019 May 29
1
How to improve the performance with unix_convert ?
...static int get_real_filename_full_scan(connection_struct *conn, const char *path, const char *name, bool mangled, TALLOC_CTX *mem_ctx, char **found_name) { struct smb_Dir *cur_dir; const char *dname = NULL; char *talloced = NULL; char *unmangled_name = NULL; long curpos; struct smb_filename *smb_fname = NULL; /* handle null paths */ if ((path == NULL) || (*path == 0)) { path = "."; } /* If we have a case-sensitive filesystem, it doesn't do us any * good to search for a name. If a case variation of the name was * there, then the original stat(2) would have found it. *...
2017 Nov 02
0
[Announce] Samba 4.7.1 Available for Download
...13091: vfs_glusterfs: Fix exporting subdirs with shadow_copy2. o Jeremy Allison <jra at samba.org> * BUG 13027: s3: smbd: Currently if getwd() fails after a chdir(), we panic. * BUG 13068: s3: VFS: Ensure default SMB_VFS_GETWD() call can't return a partially completed struct smb_filename. * BUG 13069: sys_getwd() can leak memory or possibly return the wrong errno on older systems. * BUG 13093: 'smbclient' doesn't correctly canonicalize all local names before use. o Douglas Bagnall <douglas.bagnall at catalyst.net.nz> * BUG 13095: Fix broken li...
2017 Nov 02
0
[Announce] Samba 4.7.1 Available for Download
...13091: vfs_glusterfs: Fix exporting subdirs with shadow_copy2. o Jeremy Allison <jra at samba.org> * BUG 13027: s3: smbd: Currently if getwd() fails after a chdir(), we panic. * BUG 13068: s3: VFS: Ensure default SMB_VFS_GETWD() call can't return a partially completed struct smb_filename. * BUG 13069: sys_getwd() can leak memory or possibly return the wrong errno on older systems. * BUG 13093: 'smbclient' doesn't correctly canonicalize all local names before use. o Douglas Bagnall <douglas.bagnall at catalyst.net.nz> * BUG 13095: Fix broken li...