Re: Experimenting with a password plugin

2019-04-17 Thread dee heffem
On 4/10/19 10:13 AM, Quanah Gibson-Mount wrote: > > It should be done in a similar way as the OpenLDAP project: > > a) A LICENSE file in the root of the repository > b) A comment at the start of each file of code that states the following: Thanks. I've added it to the repo and source files.

Re: Experimenting with a password plugin

2019-04-10 Thread Quanah Gibson-Mount
--On Monday, April 08, 2019 1:39 PM -0500 dee heffem wrote: If I use some of the code from OpenLDAP in this password module, and intend to make my code public (sticking it up on github), how would I best comply with the License? It should be done in a similar way as the OpenLDAP project:

Re: Experimenting with a password plugin

2019-04-08 Thread dee heffem
If I use some of the code from OpenLDAP in this password module, and intend to make my code public (sticking it up on github), how would I best comply with the License? http://www.OpenLDAP.org/license.html For instance I've not removed any copyright statements but rather took a few lines from

Re: Experimenting with a password plugin

2019-04-02 Thread Howard Chu
dee heffem wrote: > I've built a password module fashioned after the pw-radius example > under contrib/slapd-modules/passwd/. It links against a 3rd party library. > > The README mentions compiling the module statically, so I've added > -static to the link flags and copied the resulting .lai,

Re: Experimenting with a password plugin

2019-04-02 Thread dee heffem
I've built a password module fashioned after the pw-radius example under contrib/slapd-modules/passwd/. It links against a 3rd party library. The README mentions compiling the module statically, so I've added -static to the link flags and copied the resulting .lai, .la, and .o files from .libs/

Re: Experimenting with a password plugin

2019-03-29 Thread dee heffem
On 3/29/19 4:26 AM, Michael Ströder wrote: > > You want to implement something like this? > > https://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=tree;f=contrib/slapd-modules/passwd/totp Quite similar, but using Cisco Duo. Requires the "user" attribute to be passed to the API function

Re: Experimenting with a password plugin

2019-03-29 Thread Michael Ströder
On 3/27/19 9:53 PM, dee heffem wrote: > Is there a way to obtain the username (CN or UID attribute?) being > authenticated when a LUTIL_PASSWD_CHK_FUNC function is called? > > I'd like to call a 2FA provider from within a password plugin but > not sure how to get the user tied to the sc, passwd,

Experimenting with a password plugin

2019-03-28 Thread dee heffem
Is there a way to obtain the username (CN or UID attribute?) being authenticated when a LUTIL_PASSWD_CHK_FUNC function is called? I'd like to call a 2FA provider from within a password plugin but not sure how to get the user tied to the sc, passwd, or cred bervals. Thanks