On 14/10/2022 16:17, David Mulder via samba wrote:>
> On 10/14/22 9:08 AM, Peter Carlson via samba wrote:
>> so I am assuming that these scripts are only run on linux systems, if
>> so that takes care of it not running on windows.
>>
>> so if I then put a login script login.ps1 or login.bat it will run on
>> windows, but still try to run on linux and fail?
>>
>> Peter
>> PS: sorry for the mis-spelling in the subject, the brain -> finger
>> interface has one wire a bit loose
>>
> Windows logon scripts are not executed by Samba client group policy, so
> that's not a problem.
>
> FYI, Samba's user group policy is somewhat limited. User policies
aren't
> executed by samba by default, but need to be run some other way (I'm
> working on fixing this though).
>
> You can either enable them using oddjob-gpupdate:
> https://github.com/openSUSE/oddjob-gpupdate
There is a bit of a problem with oddjob-gpupdate, it isn't available on
Debian and Ubuntu uses adsys which seems to require sssd.
Rowland