View | Details | Raw Unified | Return to bug 239105 | Differences between
and this patch

Collapse All | Expand All

(-)source3/param/loadparm.c (+7 lines)
Lines 2742-2747 Link Here
2742
		if (!vfs_objects || !vfs_objects[0]) {
2742
		if (!vfs_objects || !vfs_objects[0]) {
2743
			if (lp_parm_const_string(-1, "xattr_tdb", "file", NULL)) {
2743
			if (lp_parm_const_string(-1, "xattr_tdb", "file", NULL)) {
2744
				lp_do_parameter(-1, "vfs objects", "dfs_samba4 acl_xattr xattr_tdb");
2744
				lp_do_parameter(-1, "vfs objects", "dfs_samba4 acl_xattr xattr_tdb");
2745
	/*
2746
 	 * By default, the samba sysvol is located in the statedir. Provisioning will fail in setntacl
2747
 	 * unless we have zfacl enabled. Unfortunately, at this point the smb.conf has not been generated.
2748
 	 * This workaround is freebsd-specific.
2749
 	 */
2750
			} else if (pathconf(get_dyn_STATEDIR(), _PC_ACL_NFS4) == 1){
2751
				lp_do_parameter(-1, "vfs objects", "dfs_samba4 zfsacl");
2745
			} else if (lp_parm_const_string(-1, "posix", "eadb", NULL)) {
2752
			} else if (lp_parm_const_string(-1, "posix", "eadb", NULL)) {
2746
				lp_do_parameter(-1, "vfs objects", "dfs_samba4 acl_xattr posix_eadb");
2753
				lp_do_parameter(-1, "vfs objects", "dfs_samba4 acl_xattr posix_eadb");
2747
			} else {
2754
			} else {

Return to bug 239105