hi, one of my customers still use old foxpro we migrate from samba 3.6.3 to samba 4.1.17 and everything seems to be alright foxpro is using command "run" to starts external program and when I star for example Wordpad by "run wordpad" I get Access denied but when I directly run worpad, then everything runs ok And this behavior appears only on Win7 - Win10 and not on WinXp I set linux rights to 7777 to be sure, and i can write to folder. Where should i start looking for problem (logs ...)? thanks mk -- Michal Kavan +420 776 291 782 +420 499 315 322 --- Tato zpráva byla zkontrolována na viry programem Avast Antivirus. https://www.avast.com/antivirus
On Sun, 19 Mar 2017 20:16:55 +0100 Michal Kavan via samba <samba at lists.samba.org> wrote:> > Where should i start looking for problem (logs ...)? > thanks mk >I good place to start would be posting your smb.conf, by doing this we can see how you are running Samba and advise if any alterations to it are required. Rowland
here it is
----
[global]
         workgroup = all
         server string = Samba Server
         load printers = no
         security = user
         max log size = 200
         time server = yes
         local master = no
         os level = 10
         log file = /var/log/samba/log.%I
         printcap name = /dev/null
         netbios name = new07server-fst
#       log level = 2 acls:10
         log level = 10
#       null passwords = yes
         encrypt passwords = yes
         domain master = no
         map to guest = Bad Password
         domain logons = no
         preferred master = no
         follow symlinks = yes
         guest account = samba_guest
         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
         full_audit:success = connect disconnect mkdir rmdir rename unlink
         #full_audit:success = connect disconnect mkdir rmdir rename 
unlink pread read
         full_audit:priority = notice
         full_audit:facility = local5
         full_audit:prefix = %u |%I  %m| %S
         full_audit:failure = connect
#full_audit:success = connect disconnect opendir mkdir rmdir closedir 
open close read pread write pwrite sendfile rename unlink chmod
#fchmod chown fchown chdir ftruncate lock symlink readlink link mknod 
realpath
         #acl map full control = False
         dos filemode = yes
         acl allow execute always = yes
[data]
path = /home/samba/data
comment = aplikace mirror md3
public = yes
writeable = yes
create mask = 7777
directory mask = 7777
#guest only = yes
vfs object = full_audit
acl allow execute always = yes
browseable =yes
---
Michal Kavan
+420 776 291 782
+420 499 315 322
Dne 2017/03/19 v 20:51 Rowland Penny napsal(a):> On Sun, 19 Mar 2017 20:16:55 +0100
> Michal Kavan via samba <samba at lists.samba.org> wrote:
>
>> Where should i start looking for problem (logs ...)?
>> thanks mk
>>
> I good place to start would be posting your smb.conf, by doing this we
> can see how you are running Samba and advise if any alterations to it
> are required.
>
> Rowland
>   
>
---
Tato zpráva byla zkontrolována na viry programem Avast Antivirus.
https://www.avast.com/antivirus
Am 19.03.2017 um 20:16 schrieb Michal Kavan via samba:> foxpro is using command "run" to starts external program and when I star > for example Wordpad by "run wordpad" I get Access deniedacl allow execute always = yes -- der tom
On Sun, 19 Mar 2017 22:17:44 +0100 Thomas Bork via samba <samba at lists.samba.org> wrote:> Am 19.03.2017 um 20:16 schrieb Michal Kavan via samba: > > > foxpro is using command "run" to starts external program and when I > > star for example Wordpad by "run wordpad" I get Access denied > > acl allow execute always = yes >Ah, the line I missed seeing twice in his smb.conf LOL Rowland