Re: How wold you go about writing a new OpenLDAP backend?

2017-06-05 Thread John Lewis
On Fri, 2017-06-02 at 13:19 -0400, Prentice Bisbal wrote: > Fair enough answer. How would you store and retrieve your results? Are > you creating/using a schema specifically for this? If so, what does it > look like. > > I'm still having trouble seeing the performance benefits, though. The >

Re: How wold you go about writing a new OpenLDAP backend?

2017-06-02 Thread Prentice Bisbal
On 06/02/2017 02:09 PM, Quanah Gibson-Mount wrote: --On Friday, June 02, 2017 3:02 PM -0400 Prentice Bisbal wrote: Well, that certainly sounds like the missing link, doesn't it? ;) What is different about your native backends that makes them so much faster?

Re: How wold you go about writing a new OpenLDAP backend?

2017-06-02 Thread Quanah Gibson-Mount
--On Friday, June 02, 2017 3:02 PM -0400 Prentice Bisbal wrote: Well, that certainly sounds like the missing link, doesn't it? ;) What is different about your native backends that makes them so much faster? Domain-specific design? I haven't been keeping up with OpenLDAP

Re: How wold you go about writing a new OpenLDAP backend?

2017-06-02 Thread Prentice Bisbal
On 06/02/2017 01:36 PM, Howard Chu wrote: Prentice Bisbal wrote: On 05/31/2017 04:39 PM, John Lewis wrote: On Wed, 2017-05-31 at 15:07 -0400, Prentice Bisbal wrote: On 05/31/2017 02:55 PM, Howard Chu wrote: Prentice Bisbal wrote: On 05/31/2017 12:37 AM, John Lewis wrote: This sounds like

Re: How wold you go about writing a new OpenLDAP backend?

2017-06-02 Thread Howard Chu
Prentice Bisbal wrote: On 05/31/2017 04:39 PM, John Lewis wrote: On Wed, 2017-05-31 at 15:07 -0400, Prentice Bisbal wrote: On 05/31/2017 02:55 PM, Howard Chu wrote: Prentice Bisbal wrote: On 05/31/2017 12:37 AM, John Lewis wrote: This sounds like the wrong tool for this job. Really? Can

Re: How wold you go about writing a new OpenLDAP backend?

2017-06-02 Thread Prentice Bisbal
On 05/31/2017 04:39 PM, John Lewis wrote: On Wed, 2017-05-31 at 15:07 -0400, Prentice Bisbal wrote: On 05/31/2017 02:55 PM, Howard Chu wrote: Prentice Bisbal wrote: On 05/31/2017 12:37 AM, John Lewis wrote: This sounds like the wrong tool for this job. Really? Can you give a point by point

Re: How wold you go about writing a new OpenLDAP backend?

2017-05-31 Thread John Lewis
On Wed, 2017-05-31 at 15:07 -0400, Prentice Bisbal wrote: > On 05/31/2017 02:55 PM, Howard Chu wrote: > > Prentice Bisbal wrote: > >> On 05/31/2017 12:37 AM, John Lewis wrote: > >> > > > >> This sounds like the wrong tool for this job. > > > > Really? Can you give a point by point comparison

Re: How wold you go about writing a new OpenLDAP backend?

2017-05-31 Thread Prentice Bisbal
On 05/31/2017 02:55 PM, Howard Chu wrote: Prentice Bisbal wrote: On 05/31/2017 12:37 AM, John Lewis wrote: What if I wanted to write a OpenLDAP backend for a systemd journal file or Elasticsearch so I can present my logs as an LDAP subtree so I can use my LDAP tools to filter my logs? Should

Re: How wold you go about writing a new OpenLDAP backend?

2017-05-31 Thread Howard Chu
Prentice Bisbal wrote: On 05/31/2017 12:37 AM, John Lewis wrote: What if I wanted to write a OpenLDAP backend for a systemd journal file or Elasticsearch so I can present my logs as an LDAP subtree so I can use my LDAP tools to filter my logs? Should I use back-shell for prototyping? If so,

Re: How wold you go about writing a new OpenLDAP backend?

2017-05-31 Thread Prentice Bisbal
On 05/31/2017 12:37 AM, John Lewis wrote: What if I wanted to write a OpenLDAP backend for a systemd journal file or Elasticsearch so I can present my logs as an LDAP subtree so I can use my LDAP tools to filter my logs? Should I use back-shell for prototyping? If so, what is the usual work

Re: How wold you go about writing a new OpenLDAP backend?

2017-05-31 Thread Michael Ströder
John Lewis wrote: > I'm glad both of you already knew where I was going with this. > > Yes, I did want to write it in python Michael. If Howard et al have no objections you can ask questions here if you run into issues using the slapdsock module. Ciao, Michael. smime.p7s Description: S/MIME

Re: How wold you go about writing a new OpenLDAP backend?

2017-05-31 Thread John Lewis
I'm glad both of you already knew where I was going with this. Yes, I did want to write it in python Michael. Yes, I also think OpenLDAP is faster than ElasticSearch Howard. On Wed, 2017-05-31 at 14:43 +0100, Howard Chu wrote: > Michael Ströder wrote: > > Howard Chu wrote: > >> John Lewis wrote:

Re: How wold you go about writing a new OpenLDAP backend?

2017-05-31 Thread Howard Chu
Michael Ströder wrote: Howard Chu wrote: John Lewis wrote: What if I wanted to write a OpenLDAP backend for a systemd journal file or Elasticsearch so I can present my logs as an LDAP subtree so I can use my LDAP tools to filter my logs? Should I use back-shell for prototyping? If so, what is

Re: How wold you go about writing a new OpenLDAP backend?

2017-05-31 Thread Michael Ströder
Howard Chu wrote: > John Lewis wrote: >> What if I wanted to write a OpenLDAP backend for a systemd journal file >> or Elasticsearch so I can present my logs as an LDAP subtree so I can >> use my LDAP tools to filter my logs? Should I use back-shell for >> prototyping? If so, what is the usual

Re: How wold you go about writing a new OpenLDAP backend?

2017-05-31 Thread Howard Chu
John Lewis wrote: What if I wanted to write a OpenLDAP backend for a systemd journal file or Elasticsearch so I can present my logs as an LDAP subtree so I can use my LDAP tools to filter my logs? Should I use back-shell for prototyping? If so, what is the usual work flow? back-shell might

How wold you go about writing a new OpenLDAP backend?

2017-05-30 Thread John Lewis
What if I wanted to write a OpenLDAP backend for a systemd journal file or Elasticsearch so I can present my logs as an LDAP subtree so I can use my LDAP tools to filter my logs? Should I use back-shell for prototyping? If so, what is the usual work flow?