[PATCH 1/2] External authentication via script

Eric Hamilton Eric.Hamilton at harmonicinc.com
Thu Jan 25 18:21:05 UTC 2018


Please find attached a patch for 4.4.4 that adds an auth_script2 mechanism that can call out to a shell script or external program for an NTLMv2 authentication check, using ntlm-server-1 protocol as in ntlm_auth.  This includes one new auth_script2.c file, build changes as well as a supporting smbrunsecret2() function.

I'll post a patch for ntlm_auth shortly that works with this.

Harmonic has found this to be useful and we want to make sure the GPLv3 changes get out to the community where folks can re-use or re-work this if useful to you.

Eric Hamilton
Harmonic MediaGrid Architect

Signed-off-by: Eric Hamilton <eric.hamilton at harmonicinc.com>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba-4.4.4-script2-1.patch
Type: application/octet-stream
Size: 16361 bytes
Desc: samba-4.4.4-script2-1.patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180125/7f1402db/samba-4.4.4-script2-1.obj>

More information about the samba-technical mailing list