Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Directory (http://www.linux-archive.org/fedora-directory/)
-   -   Base plugin (http://www.linux-archive.org/fedora-directory/693825-base-plugin.html)

Juan Carlos Camargo 08-14-2012 10:28 AM

Base plugin
 
Juan,
I dont know of any plugin, but these days I'm giving a try to the lsc-project , it seems to fill some gaps in terms of fine grained attribute replication and modification. *http://lsc-project.org/wiki/
Regards!

De: "Juan Asensio Sánchez" <okelet@gmail.com>
Para: "General discussion list for the 389 Directory server project." <389-users@lists.fedoraproject.org>
Enviados: Martes, 14 de Agosto 2012 12:13:18
Asunto: [389-users] Base plugin

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


--




Juan Carlos Camargo Carrillo**

957-211157 , 650932877

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

Carsten Grzemba 08-15-2012 06:19 AM

Base plugin
 
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@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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users--Carsten Grzemba

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

Juan Asensio Sánchez 08-16-2012 12:06 PM

Base plugin
 
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@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@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@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
>
> --
> Carsten Grzemba
>
> --
> 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

Rich Megginson 08-16-2012 02:18 PM

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

--
Carsten Grzemba

--
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


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


All times are GMT. The time now is 07:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.