Re: [Freeipa-users] FreeIPA 4.4 plugin migration path

2017-01-17 Thread David Kupka
On 17/01/17 12:16, Peter Fern wrote: On 17/01/17 21:48, David Kupka wrote: Ok, your plugin is not really a plugin but that should not be a problem. To make it work: 1) replace "from ipalib.plugins.user import user" with "from ipaserver.plugins.user import user" 2) make sure "user_mailalternatea

Re: [Freeipa-users] FreeIPA 4.4 plugin migration path

2017-01-17 Thread Alexander Bokovoy
On ti, 17 tammi 2017, Peter Fern wrote: On 17/01/17 21:48, David Kupka wrote: Ok, your plugin is not really a plugin but that should not be a problem. To make it work: 1) replace "from ipalib.plugins.user import user" with "from ipaserver.plugins.user import user" 2) make sure "user_mailalterna

Re: [Freeipa-users] FreeIPA 4.4 plugin migration path

2017-01-17 Thread Peter Fern
On 17/01/17 21:48, David Kupka wrote: > Ok, your plugin is not really a plugin but that should not be a problem. > To make it work: > > 1) replace "from ipalib.plugins.user import user" with "from > ipaserver.plugins.user import user" > 2) make sure "user_mailalternateaddress.py" is also in ipaserv

Re: [Freeipa-users] FreeIPA 4.4 plugin migration path

2017-01-17 Thread David Kupka
On 17/01/17 11:30, Peter Fern wrote: On 17/01/17 20:39, David Kupka wrote: in 4.4 we split the plugins to the server and client plugins. Simple plugins (like server plugin) needs to exist only on server and all what is needed is to move it from ipalib/plugins to ipaserver/plugins. But if comman

Re: [Freeipa-users] FreeIPA 4.4 plugin migration path

2017-01-17 Thread Peter Fern
On 17/01/17 20:39, David Kupka wrote: > in 4.4 we split the plugins to the server and client plugins. Simple > plugins (like server plugin) needs to exist only on server and all > what is needed is to move it from ipalib/plugins to ipaserver/plugins. > > But if commands in your plugin define intera

Re: [Freeipa-users] FreeIPA 4.4 plugin migration path

2017-01-17 Thread David Kupka
On 17/01/17 10:10, Peter Fern wrote: Hello all, It appears there have been quite a few changes to the FreeIPA plugin infrastructure in the 4.4 series. I've been trying to wade through the commits, but it's a pretty tough slog. Does anyone have details on how to migrate plugins from <=4.3 to 4.

Re: [Freeipa-users] FreeIPA 4.4 plugin migration path

2017-01-17 Thread Alexander Bokovoy
On ti, 17 tammi 2017, Peter Fern wrote: Hello all, It appears there have been quite a few changes to the FreeIPA plugin infrastructure in the 4.4 series. I've been trying to wade through the commits, but it's a pretty tough slog. Does anyone have details on how to migrate plugins from <=4.3 to

[Freeipa-users] FreeIPA 4.4 plugin migration path

2017-01-17 Thread Peter Fern
Hello all, It appears there have been quite a few changes to the FreeIPA plugin infrastructure in the 4.4 series. I've been trying to wade through the commits, but it's a pretty tough slog. Does anyone have details on how to migrate plugins from <=4.3 to 4.4? Thanks, Pete -- Manage your subsc