Re: Base plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/16/2012 06:06 AM, Juan Asensio Sánchez wrote:
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).

Many of the plugins in 389 do something related to this, but nothing does exactly what you want. But you could take e.g. the automember plugin as a starting point.


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

There is an IPA plugin that does this - but it also does kerberos as well. You could probably "port" this to plain 389.


Regards.


2012/8/15 Carsten Grzemba<grzemba@xxxxxxxxxxxx>:
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@xxxxxxxxx>:

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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

--
Carsten Grzemba

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

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



[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux