Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Nick Milas
On 23/5/2011 7:35 πμ, Howard Chu wrote: The recommended approach now is to use back-sock as an overlay and pass all notifications to an external service. This provides isolation so that whatever actions are triggered by the notification will not interfere with normal slapd processing.

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Howard Chu
Nick Milas wrote: On 23/5/2011 7:35 πμ, Howard Chu wrote: The recommended approach now is to use back-sock as an overlay and pass all notifications to an external service. This provides isolation so that whatever actions are triggered by the notification will not interfere with normal slapd

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Nick Milas
On 23/5/2011 1:41 μμ, Howard Chu wrote: Look before you ask. The code is in HEAD and there's a sample perl script provided. I feel embarrassed to ask, and excuse me for my ignorance, but, what is HEAD? Nick

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Hallvard B Furuseth
Nick Milas writes: On 23/5/2011 1:41 ??, Howard Chu wrote: Look before you ask. The code is in HEAD and there's a sample perl script provided. I feel embarrassed to ask, and excuse me for my ignorance, but, what is HEAD? He means the Git repository's master branch, which is currently the

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Michael Smith
On Sun, 22 May 2011 21:35:39 -0700 Howard Chu h...@symas.com wrote: The recommended approach now is to use back-sock as an overlay and pass all notifications to an external service. This sounds like just what the doctor ordered for me too. But I can't seem to find any directions in the

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Howard Chu
Michael Smith wrote: On Sun, 22 May 2011 21:35:39 -0700 Howard Chuh...@symas.com wrote: The recommended approach now is to use back-sock as an overlay and pass all notifications to an external service. This sounds like just what the doctor ordered for me too. But I can't seem to find any

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Quanah Gibson-Mount
--On May 23, 2011 11:39:59 AM -0400 Michael Smith m...@smithbowen.net wrote: On Sun, 22 May 2011 21:35:39 -0700 Howard Chu h...@symas.com wrote: The recommended approach now is to use back-sock as an overlay and pass all notifications to an external service. This sounds like just what

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Michael Smith
On Mon, 23 May 2011 08:56:54 -0700 Howard Chu h...@symas.com wrote: Michael Smith wrote: But I can't seem to find any directions in the docs for how to set up back-sock as an overlay. Sorry to be such a gormless n00b, but if someone could point me to the right man page or an example

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Nick Milas
On 23/5/2011 6:57 μμ, Quanah Gibson-Mount wrote: http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=tree;f=servers/slapd/back-sock;h=6fc0723b53c187d037ba2a4b49c157d7f3756c7c;hb=HEAD Look at the example code supplied in that directory. Ahhh, so here it is! Thanks guys for

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Maarten Vanraes
Op zondag 22 mei 2011 13:34:14 schreef Nick Milas: On 8/10/2010 6:16 μμ, Buchan Milne wrote: On Thursday, 7 October 2010 20:32:49 Nick Milas wrote: It all started for me when I wanted to watch a serial number value from an ldap-stored SOArecord (using powerdns with openldap backend) and

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Nick Milas
On 23/5/2011 9:20 μμ, Maarten Vanraes wrote: this may be totally besides the point or request, but i've made a very simple modtrigger overlay, which triggers modifications and calls an external command. I should make it cn=config ready, but it works, is fully tested, and i'm using it in a

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Maarten Vanraes
Op maandag 23 mei 2011 20:44:05 schreef Nick Milas: On 23/5/2011 9:20 μμ, Maarten Vanraes wrote: this may be totally besides the point or request, but i've made a very simple modtrigger overlay, which triggers modifications and calls an external command. I should make it cn=config

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Nick Milas
On 23/5/2011 10:07 μμ, Maarten Vanraes wrote: Well, i haven't had any time yet of cleaning it up, and atm it doesn't even say yet WHAT exactly was modified, but i was planning on doing that, together with the cn=config adaptation, and put it somewhere for download (and since i'm a Mageia

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Maarten Vanraes
Op maandag 23 mei 2011 21:50:39 schreef Nick Milas: On 23/5/2011 10:07 μμ, Maarten Vanraes wrote: Well, i haven't had any time yet of cleaning it up, and atm it doesn't even say yet WHAT exactly was modified, but i was planning on doing that, together with the cn=config adaptation, and

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Michael Smith
On Mon, 23 May 2011 22:18:21 +0200 Maarten Vanraes maarten.vanr...@gmail.com wrote: it's not nearly that fancy: atm it does this: - accept a configuration item that gives a command (in my case, a shell script) - it triggers this command via forking a execve call, ie: it calls that

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-23 Thread Nick Milas
On 23/5/2011 11:18 μμ, Maarten Vanraes wrote: in my case, atm, i handle stuff via the shell script and decide if i do something for this modified DN or not. Thanks Maarten, When you think you are ready to allow others to have a look at it and test it, please be kind to give us a notice.

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-22 Thread Nick Milas
On 8/10/2010 6:16 μμ, Buchan Milne wrote: On Thursday, 7 October 2010 20:32:49 Nick Milas wrote: It all started for me when I wanted to watch a serial number value from an ldap-stored SOArecord (using powerdns with openldap backend) and when it changes to fire a bash script. I reached the

Re: (ITS#6666) Feature Request: Triggers implementation

2011-05-22 Thread Howard Chu
Nick Milas wrote: On 8/10/2010 6:16 μμ, Buchan Milne wrote: On Thursday, 7 October 2010 20:32:49 Nick Milas wrote: It all started for me when I wanted to watch a serial number value from an ldap-stored SOArecord (using powerdns with openldap backend) and when it changes to fire a bash script.

Re: (ITS#6666) Feature Request: Triggers implementation

2010-10-08 Thread Buchan Milne
On Thursday, 7 October 2010 20:32:49 Nick Milas wrote: It all started for me when I wanted to watch a serial number value from an ldap-stored SOArecord (using powerdns with openldap backend) and when it changes to fire a bash script. I reached the conclusion it was not easy to be done with

Re: (ITS#6666) Feature Request: Triggers implementation

2010-10-07 Thread Buchan Milne
On Thursday, 7 October 2010 08:35:45 n...@eurobjects.com wrote: Sorry, I' m not a developer. I'm trying to find a solution from an administrator's point of view. I think you should have discussed this on a mailing list first, coming to some feasible method that would be acceptable, before