current Lua implementation already allows asynchronous network sockets. Now, what you need to do is to code a basic LDAP auth request in Lua and be able to parse the response.
Baptiste On Thu, Dec 3, 2015 at 11:58 PM, Grant Haywood <[email protected]> wrote: > Thats exactly what I am wanting to code, I just need an example of how to do > auth, like userlist, inside of lua. > > ----- Original Message ----- > From: "Igor Cicimov" <[email protected]> > To: "Grant Haywood" <[email protected]> > Cc: "HAProxy" <[email protected]> > Sent: Thursday, December 3, 2015 3:58:28 PM > Subject: Re: lua authentication > > > > > Hi Grant, > > > > On Fri, Dec 4, 2015 at 7:46 AM, Grant Haywood < [email protected] > > wrote: > > > Hello, > > I was wondering if there is a basic example of using lua to do authentication? > > I am specificaly interested in constructing 'ldap' and 'jwt' versions of the > 'userlist' block > > thx in advance for your time > > > > Excellent question. One feature I would love to see in haproxy is support for > ldap authentication. It would be awesome If that could be done via lua. > > > Thanks, > > Igor >

