winbind: Enforce user group policy when enabled
authorDavid Mulder <dmulder@samba.org>
Fri, 14 Oct 2022 15:00:45 +0000 (09:00 -0600)
committerJeremy Allison <jra@samba.org>
Fri, 21 Oct 2022 18:48:18 +0000 (18:48 +0000)
commit284afec29ff5a97612aa5950e08ac8104997a596
treeea7656143abd8a954b6f415627b65ad42119c7cc
parent211a6a63cc62b2569958f18c3b11de8ac9fc97c8
winbind: Enforce user group policy when enabled

This only enforces user group policy at logon.
We should also enforce this policy every 90 to
120 minutes, but a logoff will need to cancel the
timer and we cannot have multiple timers if there
are multiple sessions for the same user.

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct 21 18:48:18 UTC 2022 on sn-devel-184
source3/winbindd/winbindd_gpupdate.c
source3/winbindd/winbindd_pam.c
source3/winbindd/winbindd_proto.h