[389-users] Base plugin

Juan Asensio Sánchez okelet at gmail.com
Thu Aug 16 12:06:57 UTC 2012


Hi

I would like to intercept all modifications/adds in the server, and
then check if some of the modified attributes are what I want. For
each of them, if found, I need to generate (or overwrite) other
attribute with an equivalent value. An example; if I detect that the
attribute nsAccountLock is set/modified/deleted, I would also modify
the attribute sambaAcctFlags to activate/deactivate the Samba account,
or the mailUserStatus to activeate/deactivate the mail account. Or If
I detect a achange in the passwordExpirationTime, set also the Samba
equivalent attribute (not sure which should be).

Also a great feature, very requested, is to detect password change (in
clear, of course), and then generate the equivalent
sambaNT/LMPassword...

Regards.


2012/8/15 Carsten Grzemba <grzemba at contac-dt.de>:
> Hi,
>
> can you give an example of what you want to do in detail?
>
> Regards
>
> Am 14.08.12, schrieb Juan Asensio Sánchez <okelet at gmail.com>:
>
> Hi
>
> I would like to make a plugin to synchronize some attributes from its
> value in Directory to the equivalent in Samba. The plugin should
> detect the changes in some attributtes, and then calculate and modify
> the equivalent value of the Samba ones. Is there any plugin in the
> standard packages, or has anyone done something similar, to take it as
> a base?
>
> Regards and thanks in advance.
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
>
> --
> Carsten Grzemba
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users



More information about the 389-users mailing list