... even though you can open and read it fine in an editor: You should check its Linux access permissions. If it is not marked as executable, this might be the cause. Change it with chmod like this: The same goes for other executables on Samba shares. In my case this was the last known … Continue reading If your Samba logon script does not get executed