Displaying 20 results from an estimated 121 matches for "vfs_default".
2023 May 30
1
O_PATH, FreeBSD & acl_xx_fd
Urgh?
I modified the FreeBSD kernel to allow all_xx_fd() calls on O_PATH descriptors and that seems make vfs_zfsacl to work fine. Not 100% tested but I could atleast view and modify the ACL on some stuff from a Windows client via Samba that way.
I?m not sure I?ll be able to get them to implement this ?officially? though. Reading ACLs via an O_PATH-opened descriptor seems to be on the way of
2020 Aug 28
1
samba
...n using rsync to
move all of the data over from the old to the new server (about 2 TB)
Since moving to CentOS 7 and Samba 4.10.4 I have had many entries in
/var/log/messages that look like this:
--
Aug 28 10:22:27 luigi2 smbd[118071]: [2020/08/28 10:22:27.284420,?
0] ../../source3/modules/vfs_default.c:1287(vfswrap_fsctl)
Aug 28 10:22:27 luigi2 smbd[118071]:? FSCTL_GET_SHADOW_COPY_DATA:
connectpath /shares/documents/<share>, failed - NT_STATUS_ACCESS_DENIED.
Aug 28 10:24:29 luigi2 smbd[127904]: [2020/08/28 10:24:29.937661,?
0]
../../source3/modules/vfs_shadow_copy2.c:2...
2008 Dec 23
0
[jra@samba.org: Patch to improve Samba write speeds on Linux ext3 with 3.2.x]
...h
@@ -1966,4 +1966,10 @@ struct smb_extended_info {
char samba_version_string[SAMBA_EXTENDED_INFO_VERSION_STRING_LENGTH];
};
+enum smb_strict_allocate_options {
+ STRICT_ALLOCATE_OFF=0,
+ STRICT_ALLOCATE_ON=1,
+ STRICT_ALLOCATE_PARTIAL=2
+};
+
#endif /* _SMB_H */
diff --git a/source/modules/vfs_default.c b/source/modules/vfs_default.c
index 88c7237..8a724ad 100644
--- a/source/modules/vfs_default.c
+++ b/source/modules/vfs_default.c
@@ -745,10 +745,14 @@ static int vfswrap_ftruncate(vfs_handle_struct *handle, files_struct *fsp, SMB_O
SMB_STRUCT_STAT st;
char c = 0;
SMB_OFF_T currpos;
+ enum...
2013 Jan 24
0
64 Bit Build 3.6.11 on AIX 6 with acls enabled dumps core,
...3 in "fault.c"
sys_acl_get_entry(acl_d = (nil), entry_id = 268435455, entry_p =
0x0fffffffffffcc08), line 84 in "sysacls.c"
vfswrap_sys_acl_get_entry(handle = 0x00000001000a204c, theacl =
0x0fffffffffffcdc0, entry_id = 268435455, entry_p = 0x0000000110092ca0),
line 1376 in "vfs_default.c"
smb_vfs_call_sys_acl_get_entry(handle = 0x0000000110141dad, theacl =
0x0000000000000010, entry_id = 0, entry_p = 0x0fffffffffffcd78), line 1785
in "vfs.c"
canonicalise_acl(conn = 0x8000002800000001, fname = "", posix_acl =
0x000141ff00020000, psbuf = (nil), powner = (nil...
2014 Dec 17
4
IDMAP_NSS on member server
...= 0
but no luck.
idmap_nss support is enabled
# smbd -b | grep idmap_nss
pdb_ldap pdb_smbpasswd pdb_tdbsam pdb_wbc_sam idmap_tdb
idmap_passdb idmap_nss nss_info_template auth_sam auth_unix
auth_winbind auth_wbc auth_server auth_domain auth_builtin
vfs_default vfs_solarisacl
# smbd -b | grep idmap_rid
idmap_rid_init
Any idea what I am missing?
Thanks
2020 Oct 05
2
VFS shadowcopy2 with FeeBSD & ZFS
...=vfs] ../../source3/smbd/vfs.c:65(vfs_find_backend_entry)
vfs_find_backend_entry called for shadow_copy2
Successfully loaded vfs module [shadow_copy2] with the new modules system
...
[2020/10/05 16:50:12.483055, 10, pid=50572, effective(3000037, 20), real(0, 0), class=vfs] ../../source3/modules/vfs_default.c:1327(vfswrap_fsctl)
FSCTL_GET_SHADOW_COPY_DATA: 0 volumes for path[Program Files].
The share configuration is done like so:
[public]
comment = Public
path = /public
read only = no
public = yes
vfs objects = zfsacl shadow_copy2
shadow:snapdir = ....
2017 Jun 08
2
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
...utdown rpc_dssetup rpc_wkssvc rpc_svcctl rpc_ntsvcs
> rpc_netlogon rpc_netdfs rpc_srvsvc rpc_spoolss rpc_eventlog rpc_samr
> idmap_ldap idmap_tdb idmap_passdb idmap_nss nss_info_template auth_sam
> auth_unix auth_winbind auth_wbc auth_server auth_domain auth_builtin
> auth_netlogond vfs_default vfs_posixacl
>
> that I need in the Samba server for my NAS with version 4.6.x based on
> the inconsistent function prototypes!?
>
> Many thanks one more time & best regards,
> Andreas
I think the key to avoiding the issue is that you have listed rpc
modules which are not...
2008 Dec 26
1
Fat32 - 1Gb file copy is failing
...drive(FAT32).it is giving error as shared USB drive is not
reachable.
File copy is working fine with small files.
And I could copy the files more than 1Gb when the drive is with NTFS and
other file systems
I went though the code.
In the following samba code piece:
samba-3.0.32_old/source/modules/vfs_default.c:
714 static int vfswrap_ftruncate(vfs_handle_struct *handle,
files_struct
*fsp, int fd, SMB_OFF_T len)
715 {
...
734
735 result = sys_ftruncate(fd, len);
736 if (result == 0)
737 goto done;
738
If comment out line 735/736 (not to extend space for the f...
2003 Apr 10
2
Crash dump in umount
...0xc0193971 in spec_vnoperate (ap=0xc82c7b2c)
at ../../miscfs/specfs/spec_vnops.c:119
#12 0xc01dc955 in ufs_vnoperatespec (ap=0xc82c7b2c)
at ../../ufs/ufs/ufs_vnops.c:2440
#13 0xc0180bfa in bwrite (bp=0xc33c24bc) at vnode_if.h:944
#14 0xc018620e in vop_stdbwrite (ap=0xc82c7b74) at ../../kern/vfs_default.c:331
#15 0xc0186069 in vop_defaultop (ap=0xc82c7b74) at ../../kern/vfs_default.c:150
#16 0xc0193971 in spec_vnoperate (ap=0xc82c7b74)
at ../../miscfs/specfs/spec_vnops.c:119
#17 0xc01dc955 in ufs_vnoperatespec (ap=0xc82c7b74)
at ../../ufs/ufs/ufs_vnops.c:2440
#18 0xc0180f4a in bawrite (bp=...
2003 Apr 22
0
kmem_map too small: 260046848 total allocated
.../ufs_vnops.c:2394
#9 0xb71f77dd in ufs_strategy (ap=0xf8237c24) at vnode_if.h:944
#10 0xb71f7f1d in ufs_vnoperate (ap=0xf8237c24) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#11 0xb717459b in bwrite (bp=0xccc3e848) at vnode_if.h:944
#12 0xb717a082 in vop_stdbwrite (ap=0xf8237c88) at /usr/src/sys/kern/vfs_default.c:344
#13 0xb7179ea9 in vop_defaultop (ap=0xf8237c88) at /usr/src/sys/kern/vfs_default.c:152
#14 0xb71f7f1d in ufs_vnoperate (ap=0xf8237c88) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#15 0xb7175505 in vfs_bio_awrite (bp=0xccc3e848) at vnode_if.h:1193
#16 0xb71f1bd7 in ffs_fsync (ap=0xf8237cf4) at /u...
2003 Jun 23
1
Processes hung in 'inode' state ...
...1507 in acquire (lkp=0x8a3d2200, extflags=16777280, wanted=1536) at /usr/src/sys/kern/kern_lock.c:147
#3 0x8014179c in lockmgr (lkp=0x8a3d2200, flags=16973826, interlkp=0xbdc27b6c, p=0xc26fa9c0) at /usr/src/sys/kern/kern_lock.c:355
#4 0x80172b73 in vop_stdlock (ap=0xc2a95d1c) at /usr/src/sys/kern/vfs_default.c:256
#5 0x801f0955 in ufs_vnoperate (ap=0xc2a95d1c) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#6 0x8017d450 in vn_lock (vp=0xbdc27b00, flags=131074, p=0xc26fa9c0) at vnode_if.h:861
#7 0x80173b1c in lookup (ndp=0xc2a95ec4) at /usr/src/sys/kern/vfs_lookup.c:301
#8 0x80173824 in namei (ndp=0xc2a95...
2014 Dec 18
2
IDMAP_NSS on member server
...led
>>
>> # smbd -b | grep idmap_nss
>> pdb_ldap pdb_smbpasswd pdb_tdbsam pdb_wbc_sam idmap_tdb
>> idmap_passdb idmap_nss nss_info_template auth_sam auth_unix
>> auth_winbind auth_wbc auth_server auth_domain auth_builtin
>> vfs_default vfs_solarisacl
>>
>>
>> # smbd -b | grep idmap_rid
>> idmap_rid_init
>>
>>
>>
>> Any idea what I am missing?
>>
>> Thanks
>>
>>
>>
>>
>
2003 Jul 01
2
Okay, looks like I might have a *good* one here ... inode hang
...1507 in acquire (lkp=0x8a4ef600, extflags=16777280, wanted=1536) at /usr/src/sys/kern/kern_lock.c:147
#3 0x8014179c in lockmgr (lkp=0x8a4ef600, flags=16973826, interlkp=0xbde68aec, p=0xbf57b000) at /usr/src/sys/kern/kern_lock.c:355
#4 0x80172b73 in vop_stdlock (ap=0xbfc2dd1c) at /usr/src/sys/kern/vfs_default.c:256
#5 0x801f0955 in ufs_vnoperate (ap=0xbfc2dd1c) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#6 0x8017d450 in vn_lock (vp=0xbde68a80, flags=131074, p=0xbf57b000) at vnode_if.h:861
#7 0x80173b1c in lookup (ndp=0xbfc2dec4) at /usr/src/sys/kern/vfs_lookup.c:301
#8 0x80173824 in namei (ndp=0xbfc2d...
2014 Dec 18
2
IDMAP_NSS on member server
...mbd -b | grep idmap_nss
>>>> pdb_ldap pdb_smbpasswd pdb_tdbsam pdb_wbc_sam idmap_tdb
>>>> idmap_passdb idmap_nss nss_info_template auth_sam auth_unix
>>>> auth_winbind auth_wbc auth_server auth_domain auth_builtin
>>>> vfs_default vfs_solarisacl
>>>>
>>>>
>>>> # smbd -b | grep idmap_rid
>>>> idmap_rid_init
>>>>
>>>>
>>>>
>>>> Any idea what I am missing?
>>>>
>>>> Thanks
>>>>
&g...
2018 Aug 15
1
vfs_shadow_copy2 with snapprefix & delimiter options
...real(1000, 0)] ../source3/modules/vfs_shadow_copy2.c:2131(shadow_copy2_get_shadow_copy_data)
shadow_copy2_get_shadow_copy_data: daily_2018-08-13T06:25:07 -> @GMT-2018.08.13-04.25.07
[2018/08/14 19:07:03.235394, 10, pid=21709, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/modules/vfs_default.c:1412(vfswrap_fsctl)
FSCTL_GET_SHADOW_COPY_DATA: 13 volumes for path[folder/file.txt].
Label[0]: '@GMT-2018.08.14-04.25.09'
Label[1]: '@GMT-2018.08.13-04.25.07'
Label[2]: '@GMT-2018.08.12-04.47.01'
Label[3]: '@GMT-2018.08.12-04.25.08'
Label[4]: '@GMT...
2017 Jun 08
0
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
...c_winreg
rpc_initshutdown rpc_dssetup rpc_wkssvc rpc_svcctl rpc_ntsvcs
rpc_netlogon rpc_netdfs rpc_srvsvc rpc_spoolss rpc_eventlog rpc_samr
idmap_ldap idmap_tdb idmap_passdb idmap_nss nss_info_template auth_sam
auth_unix auth_winbind auth_wbc auth_server auth_domain auth_builtin
auth_netlogond vfs_default vfs_posixacl
===
So is there any documentation available, and/or can you please advise
how to determine the appropriate values for
--with-static-modules=...
--with-shared-modules=...
and possibly other related 4.6.x configure parameters from an old 3.5.x
installin order to compile a Samba 4.6....
2020 Apr 03
1
net ADS join MEMBER
...the case on our IBM system with 4.10.6.
The current version from IBM is 4.10.13 - considering upgrading in the hopes "HAVE_LIBACL" is present if I really need it.
On the other hand, "smbd -b" does report that smbd was built with vfs_aixacl and vfs_aixacl2.
Builtin modules:
vfs_default vfs_not_implemented auth_builtin auth_sam auth_winbind vfs_aixacl vfs_aixacl2 nss_info_template idmap_tdb idmap_passd
b idmap_nss idmap_ldap
However, man does not return man page information for either.
Before I add that to the config file and test that out...
Do my valid users need to be in the...
2016 Sep 20
2
idmap_ad
...WITH_PAM_MODULES
WITH_PROFILE
WITH_PTHREADPOOL
WITH_QUOTAS
WITH_SENDFILE
WITH_SYSLOG
WITH_WINBIND
...
Builtin modules:
vfs_posixacl auth_sam auth_winbind auth_domain auth_builtin
vfs_default nss_info_template idmap_tdb idmap_passdb idmap_nss
idmap_ldap
#
Build Options:
...
auth_netlogond_init
auth_samba4_init
auth_script_init
auth_server_init
auth_unix_init
auth_wbc_init...
2016 Jul 06
1
"No previous versions" - GPFS 3.5 and shadow_copy2
...snapdir /gpfs/prd/groupspace/ic/admin/ict/.snapshots
[2016/07/06 10:07:35.613416, 0] ../source3/modules/vfs_shadow_copy2.c:1380(shadow_copy2_get_shadow_copy_data)
access denied on listing snapdir /gpfs/prd/groupspace/ic/admin/ict/.snapshots
[2016/07/06 10:07:35.613434, 0] ../source3/modules/vfs_default.c:1145(vfswrap_fsctl)
FSCTL_GET_SHADOW_COPY_DATA: connectpath /gpfs/prd/groupspace/ic, failed - NT_STATUS_ACCESS_DENIED.
[2016/07/06 10:07:47.648557, 3] ../source3/smbd/service.c:1138(close_cnum)
x.x.x.x (ipv4:x.x.x.x:51298) closed connection to service IPC$
That's a sample log excerp...
2003 May 15
0
panic under 4.8...?
...8)
at /usr/src/sys/kern/vfs_bio.c:1991
#7 0xc01d21bc in vfs_busy_pages (bp=0xc629f848, clear_modify=1)
at /usr/src/sys/kern/vfs_bio.c:2946
#8 0xc01cf79f in bwrite (bp=0xc629f848) at /usr/src/sys/kern/vfs_bio.c:691
#9 0xc01d5233 in vop_stdbwrite (ap=0xd08d3d58)
at /usr/src/sys/kern/vfs_default.c:344
#10 0xc01d5049 in vop_defaultop (ap=0xd08d3d58)
at /usr/src/sys/kern/vfs_default.c:152
#11 0xc02b7185 in ufs_vnoperate (ap=0xd08d3d58)
at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#12 0xc01d137a in getblk (vp=0xd0b28840, blkno=0, size=16384, slpflag=0,
slptimeo=0) at vnode_if.h:119...