Re: [Freeipa-users] Add user -> custom script

2011-09-21 Thread Sigbjorn Lie
On 09/19/2011 03:42 PM, Rob Crittenden wrote: Sigbjorn Lie wrote: On Fri, September 16, 2011 23:18, Rob Crittenden wrote: Sigbjorn Lie wrote: On 09/16/2011 10:29 AM, Alexander Bokovoy wrote: On Fri, 16 Sep 2011, Dmitri Pal wrote: On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: On 09/15/20

Re: [Freeipa-users] Add user -> custom script

2011-09-19 Thread Rob Crittenden
Sigbjorn Lie wrote: On Fri, September 16, 2011 23:18, Rob Crittenden wrote: Sigbjorn Lie wrote: On 09/16/2011 10:29 AM, Alexander Bokovoy wrote: On Fri, 16 Sep 2011, Dmitri Pal wrote: On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: On 09/15/2011 09:59 PM, Dmitri Pal wrote: On 09/15/2011

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Sigbjorn Lie
On Fri, September 16, 2011 23:18, Rob Crittenden wrote: > Sigbjorn Lie wrote: > >> On 09/16/2011 10:29 AM, Alexander Bokovoy wrote: >> >>> On Fri, 16 Sep 2011, Dmitri Pal wrote: >>> On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: > On 09/15/2011 09:59 PM, Dmitri Pal wrote: > >>

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Alexander Bokovoy
On Fri, 16 Sep 2011, Rob Crittenden wrote: > >>Attached untested patch is a proof of concept. If /etc/ipa/server.conf > >>has following setting: > >> > >>ipa_user_script=/path/to/script > >> > >>then during add/delete/modify of an user, it will be called with > >>add/del/mod as first parameter and

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Rob Crittenden
Sigbjorn Lie wrote: On 09/16/2011 10:29 AM, Alexander Bokovoy wrote: On Fri, 16 Sep 2011, Dmitri Pal wrote: On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: On 09/15/2011 09:59 PM, Dmitri Pal wrote: On 09/15/2011 03:45 PM, Sigbjorn Lie wrote: Hi, Is there a custom script hook for when a user acc

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Sigbjorn Lie
On 09/16/2011 10:29 AM, Alexander Bokovoy wrote: On Fri, 16 Sep 2011, Dmitri Pal wrote: On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: On 09/15/2011 09:59 PM, Dmitri Pal wrote: On 09/15/2011 03:45 PM, Sigbjorn Lie wrote: Hi, Is there a custom script hook for when a user account is added using e

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Sigbjorn Lie
On 09/16/2011 05:59 PM, Dmitri Pal wrote: On 09/16/2011 11:34 AM, Sigbjorn Lie wrote: On 09/16/2011 07:35 AM, Dmitri Pal wrote: On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: On 09/15/2011 09:59 PM, Dmitri Pal wrote: On 09/15/2011 03:45 PM, Sigbjorn Lie wrote: Hi, Is there a custom script hook

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Sigbjorn Lie
On 09/16/2011 05:43 PM, Alexander Bokovoy wrote: On Fri, 16 Sep 2011, Sigbjorn Lie wrote: We can't do it now. AFAIR there was a ticket about something like this in the deferred bucket... Could not find it... But I remember a discussion. We might need to file a ticket to track this but sound like

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Dmitri Pal
On 09/16/2011 11:34 AM, Sigbjorn Lie wrote: > On 09/16/2011 07:35 AM, Dmitri Pal wrote: >> On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: >>> On 09/15/2011 09:59 PM, Dmitri Pal wrote: On 09/15/2011 03:45 PM, Sigbjorn Lie wrote: > Hi, > > Is there a custom script hook for when a user a

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Sigbjorn Lie
On 09/16/2011 02:45 PM, Rob Crittenden wrote: Alexander Bokovoy wrote: On Fri, 16 Sep 2011, Simo Sorce wrote: As a proof of concept sounds nice, but as is this would be bad, as changes to /etc/ipa/server.conf are not replicated through all masters. So a change on one server would require manual

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Sigbjorn Lie
On 09/16/2011 01:53 PM, Simo Sorce wrote: On Fri, 2011-09-16 at 11:29 +0300, Alexander Bokovoy wrote: On Fri, 16 Sep 2011, Dmitri Pal wrote: On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: On 09/15/2011 09:59 PM, Dmitri Pal wrote: On 09/15/2011 03:45 PM, Sigbjorn Lie wrote: Hi, Is there a custo

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Alexander Bokovoy
On Fri, 16 Sep 2011, Sigbjorn Lie wrote: > >>We can't do it now. AFAIR there was a ticket about something like this > >>in the deferred bucket... Could not find it... But I remember a discussion. > >>We might need to file a ticket to track this but sound like something > >>that will take a lot of t

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Sigbjorn Lie
On 09/16/2011 10:29 AM, Alexander Bokovoy wrote: On Fri, 16 Sep 2011, Dmitri Pal wrote: On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: On 09/15/2011 09:59 PM, Dmitri Pal wrote: On 09/15/2011 03:45 PM, Sigbjorn Lie wrote: Hi, Is there a custom script hook for when a user account is added using e

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Sigbjorn Lie
On 09/16/2011 07:35 AM, Dmitri Pal wrote: On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: On 09/15/2011 09:59 PM, Dmitri Pal wrote: On 09/15/2011 03:45 PM, Sigbjorn Lie wrote: Hi, Is there a custom script hook for when a user account is added using either the cli, webui, or the winsync module? I

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Rob Crittenden
Alexander Bokovoy wrote: On Fri, 16 Sep 2011, Simo Sorce wrote: As a proof of concept sounds nice, but as is this would be bad, as changes to /etc/ipa/server.conf are not replicated through all masters. So a change on one server would require manual synchronization to all others or users create

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Alexander Bokovoy
On Fri, 16 Sep 2011, Simo Sorce wrote: > As a proof of concept sounds nice, but as is this would be bad, as > changes to /etc/ipa/server.conf are not replicated through all masters. > So a change on one server would require manual synchronization to all > others or users create from one server will

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Simo Sorce
On Fri, 2011-09-16 at 11:29 +0300, Alexander Bokovoy wrote: > On Fri, 16 Sep 2011, Dmitri Pal wrote: > > On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: > > > On 09/15/2011 09:59 PM, Dmitri Pal wrote: > > >> On 09/15/2011 03:45 PM, Sigbjorn Lie wrote: > > >>> Hi, > > >>> > > >>> Is there a custom scrip

Re: [Freeipa-users] Add user -> custom script

2011-09-16 Thread Alexander Bokovoy
On Fri, 16 Sep 2011, Dmitri Pal wrote: > On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: > > On 09/15/2011 09:59 PM, Dmitri Pal wrote: > >> On 09/15/2011 03:45 PM, Sigbjorn Lie wrote: > >>> Hi, > >>> > >>> Is there a custom script hook for when a user account is added using > >>> either the cli, webui,

Re: [Freeipa-users] Add user -> custom script

2011-09-15 Thread Dmitri Pal
On 09/15/2011 04:14 PM, Sigbjorn Lie wrote: > On 09/15/2011 09:59 PM, Dmitri Pal wrote: >> On 09/15/2011 03:45 PM, Sigbjorn Lie wrote: >>> Hi, >>> >>> Is there a custom script hook for when a user account is added using >>> either the cli, webui, or the winsync module? >>> >>> I have a custom scrip

Re: [Freeipa-users] Add user -> custom script

2011-09-15 Thread Sigbjorn Lie
On 09/15/2011 09:59 PM, Dmitri Pal wrote: On 09/15/2011 03:45 PM, Sigbjorn Lie wrote: Hi, Is there a custom script hook for when a user account is added using either the cli, webui, or the winsync module? I have a custom script I run when creating a user account, and having this run automatica

Re: [Freeipa-users] Add user -> custom script

2011-09-15 Thread Dmitri Pal
On 09/15/2011 03:45 PM, Sigbjorn Lie wrote: > Hi, > > Is there a custom script hook for when a user account is added using > either the cli, webui, or the winsync module? > > I have a custom script I run when creating a user account, and having > this run automatically by IPA would make my life a l

[Freeipa-users] Add user -> custom script

2011-09-15 Thread Sigbjorn Lie
Hi, Is there a custom script hook for when a user account is added using either the cli, webui, or the winsync module? I have a custom script I run when creating a user account, and having this run automatically by IPA would make my life a lot easier. Regards, Siggi _