diff -Nur --no-dereference e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/smb.conf/11execute e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/11execute --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/smb.conf/11execute 1969-12-31 19:00:00.000000000 -0500 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/11execute 2021-04-16 21:57:29.111000000 -0400 @@ -0,0 +1,5 @@ +{ + $OUT = ""; + $OUT .= "acl allow execute always = yes\n" if ( ( $smb{'AllowExecute'} || 'disabled') eq "enabled" ); +} + diff -Nur --no-dereference e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/smb.conf/50homes e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/50homes --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/smb.conf/50homes 2002-03-12 17:19:38.000000000 -0500 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/50homes 2021-04-16 21:56:29.949000000 -0400 @@ -10,3 +10,7 @@ directory mode = 0770 force directory mode = 0770 path = /home/e-smith/files/users/%S/home +{ + $OUT = ""; + $OUT .= "acl allow execute always = yes\n" if ( ( $smb{'AllowExecuteHomes'} || 'disabled') eq "enabled" ); +} diff -Nur --no-dereference e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/smb.conf/ibays/91execute e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/ibays/91execute --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/smb.conf/ibays/91execute 1969-12-31 19:00:00.000000000 -0500 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/ibays/91execute 2021-04-16 21:54:41.668000000 -0400 @@ -0,0 +1,6 @@ + +{ + $OUT = ""; + $OUT .= "acl allow execute always = yes\n" if ( ( $ibay->prop('AllowExecute') || 'disabled') eq "enabled" ); +} +