Content preview: Michael Ströder wrote: > Dagobert Michelsen wrote: >> Hi Michael,
Chu <***@symas.com>: >>>>>> Dagobert Michelsen wrote: >>>>>> >>>>>> I have
made some enhancements to back-sock to use JSON for the passed data and JSON-RPC
the current format is just a tweaked LDIF. LDIF itself is still a more >>>>>
compact format than JSON. I personally am opposed to adding any JSON dependencies
to our >>>>> code base. Anyone else have an opinion? >>>> >>>> Well, of course
you are right that the LDAP presentation is more efficient. >>>> However
I think from a client perspective it would be easier not to deal >>>> with
LDIF, especially as you can choose a JSON-RPC server suitable for your >>>>
needs and have the data already available for the function and concentrate
Post by Michael StröderPost by Dagobert MichelsenPost by Michael Ströderon implementing the functionality: >>>> https://en.wikipedia.org/wiki/JSON-RPC#Implementations
Post by Howard ChuYou assume that many people want to do JSON-RPC. IMHO that's only
your >>> specific need. And it shouldn't be too hard for you to write an
external >>> generic back-sock listener which translates this custom LDIF
to JSON and >>> provide it as separate open source project. >> >> I would
happily do that, however I need some extra fields to be passed. > > It seems
we're getting to the interesting part. [...]
Content analysis details: (-1.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.
See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
for more information.
[URIs: wikipedia.org]
0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL
was blocked. See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
for more information.
[69.43.206.106 listed in list.dnswl.org]
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
Cc: openldap-***@openldap.org
X-BeenThere: openldap-***@openldap.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: OpenLDAP development discussion list <openldap-devel.openldap.org>
List-Unsubscribe: <http://www.openldap.org/lists/mm/options/openldap-devel>,
<mailto:openldap-devel-***@openldap.org?subject=unsubscribe>
List-Archive: <http://www.openldap.org/lists/openldap-devel/>
List-Post: <mailto:openldap-***@openldap.org>
List-Help: <mailto:openldap-devel-***@openldap.org?subject=help>
List-Subscribe: <http://www.openldap.org/lists/mm/listinfo/openldap-devel>,
<mailto:openldap-devel-***@openldap.org?subject=subscribe>
Errors-To: openldap-devel-***@openldap.org
Sender: "openldap-devel" <openldap-devel-***@openldap.org>
X-Spam-Score: -1.9 (-)
X-Spam-Report: Spam detection software, running on the system "gauss.openldap.net", has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Michael Ströder wrote: > Dagobert Michelsen wrote: >> Hi Michael,
Chu <***@symas.com>: >>>>>> Dagobert Michelsen wrote: >>>>>> >>>>>> I have
made some enhancements to back-sock to use JSON for the passed data and JSON-RPC
the current format is just a tweaked LDIF. LDIF itself is still a more >>>>>
compact format than JSON. I personally am opposed to adding any JSON dependencies
to our >>>>> code base. Anyone else have an opinion? >>>> >>>> Well, of course
you are right that the LDAP presentation is more efficient. >>>> However
I think from a client perspective it would be easier not to deal >>>> with
LDIF, especially as you can choose a JSON-RPC server suitable for your >>>>
needs and have the data already available for the function and concentrate
Post by Michael StröderPost by Dagobert MichelsenPost by Michael Ströderon implementing the functionality: >>>> https://en.wikipedia.org/wiki/JSON-RPC#Implementations
Post by Howard ChuYou assume that many people want to do JSON-RPC. IMHO that's only
your >>> specific need. And it shouldn't be too hard for you to write an
external >>> generic back-sock listener which translates this custom LDIF
to JSON and >>> provide it as separate open source project. >> >> I would
happily do that, however I need some extra fields to be passed. > > It seems
we're getting to the interesting part. [...]
Content analysis details: (-1.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL
was blocked. See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
for more information.
[69.43.206.106 listed in list.dnswl.org]
0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.
See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
for more information.
[URIs: highlandsun.com]
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
Post by Michael StröderPost by Dagobert MichelsenHi Michael,
Post by Michael StröderPost by Howard ChuI have made some enhancements to back-sock to use JSON for the passed data and JSON-RPC
to map LDAP calls to method invocations.
my initial reaction: the current format is just a tweaked LDIF. LDIF itself is still a more
compact format than JSON. I personally am opposed to adding any JSON dependencies to our
code base. Anyone else have an opinion?
Well, of course you are right that the LDAP presentation is more efficient.
However I think from a client perspective it would be easier not to deal
with LDIF, especially as you can choose a JSON-RPC server suitable for your
needs and have the data already available for the function and concentrate
https://en.wikipedia.org/wiki/JSON-RPC#Implementations
You assume that many people want to do JSON-RPC. IMHO that's only your
specific need. And it shouldn't be too hard for you to write an external
generic back-sock listener which translates this custom LDIF to JSON and
provide it as separate open source project.
I would happily do that, however I need some extra fields to be passed.
It seems we're getting to the interesting part.
Indeed.
Post by Michael StröderI'd also like to see back-sock used as overlay to pipe requests and responses
through an external process.
It already works as an overlay.
Post by Michael StröderE.g. I'd like to rewrite filters based on
authz-DN or similar but let slapd itself process the (modified) request.
Sounds like you two could start enumerating all of the parameters you would like to see added for each operation type. A final list should be submitted to the ITS as an enhancement request. Patches adding such params would be even better.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/