Thursday, February 20, 2014

Re: [389-users] Fwd: I'm about to start coding a plugin for Heimdal Kerberos V and have a question

On 02/20/2014 03:11 PM, Paul Robert Marino wrote:
> I tried asking this on the developer list and didn't get an answer

There is no good answer, which is probably why no one replied . . .

> so
> im trying the user list now
>
> So here is my goal I am about to write a plugin for Heimdal KDC's to
> update matching password fields in LDAP servers.
> In the case of 389 server it will also allow 389 server to manage
> password quality checks.
>
> Ive been looking over the 389 servers docs and there is something I'm
> unclear about.
> How do I pass the password to 389 server to trigger the quality check
> and update?

There isn't a SLAPI way to do that. FreeIPA did something similar with
their samba/kerberos password plugin, and they copy/pasted liberally
from the core 389 server code.

> Is it simply just a bind as an administrator then update the users
> password field with clear text password and let 389 server check and
> hash it from there, or is there more to it like a C API call?
>
> If any one can point me to the appropriate doc or even better section
> of the appropriate doc that would be very helpful.
> If any one just happens to knows the answer I would appreciate that too.
>
> Note: The resulting plugin will be posted on Github with a GPL license
> when I'm done.
>
> Thank You
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

No comments:

Post a Comment