[PATCHES v1] GPO support for client USER policy (browser proxy)
These patches add client user policy support to samba.
This adds a call to winbind to execute the samba_gpupdate
script when a user authenticates via PAM. The samba_gpupdate
script is passed the credentials of the authenticating user,
and group policy is applied for that user account.
This first set of patches adds browser proxy policies. Setting
an Internet Explorer browser proxy gpo will apply the proxy
settings to the respective http_proxy, https_proxy, and
ftp_proxy environment variables for a samba user.
There is a significant problem in the winbind pam patch
that still needs to be addressed, and I'd like some review and
feedback. We must have the user's credentials in
samba_gpoupdate in order to look up their gpo policies,
but what is the best way to pass those credentials from
winbind to a script? These patches simply pass the
credentials via the command line in plain text (bad).
Can we assume this user is kinit'd by pam winbind
(I have no idea here)? If so, we could probably just pass
the krb5 ccache location for creds. Thoughts?