HI!
Does back-config support the Post Read Control? That would be handy for retrieving the renumbered DN after an Add or Modify request.
Ciao, Michael.
Michael Ströder wrote:
Does back-config support the Post Read Control? That would be handy for retrieving the renumbered DN after an Add or Modify request.
Hmm, experiments shows that this does work. Server returns:
"Critical extension is unavailable: critical control unavailable in context"
Ciao, Michael.
Michael Ströder wrote:
Does back-config support the Post Read Control? That would be handy for retrieving the renumbered DN after an Add or Modify request.
Hmm, experiments shows that this does work. Server returns:
"Critical extension is unavailable: critical control unavailable in context"
As far as I remember, back-ldif is relatively poor in terms of non-core functionalities it supports, as it has never been intended for actual stuff storage with the only notable exception of back-config.
It would be interesting to see back-config based on top of something else (e.g. back-hdb or even back-mbd).
p.
masarati@aero.polimi.it wrote:
Michael Ströder wrote:
Does back-config support the Post Read Control? That would be handy for retrieving the renumbered DN after an Add or Modify request.
Hmm, experiments shows that this does work. Server returns:
"Critical extension is unavailable: critical control unavailable in context"
As far as I remember, back-ldif is relatively poor in terms of non-core functionalities it supports, as it has never been intended for actual stuff storage with the only notable exception of back-config.
I think, due to the extra processing back-config does on top, it wouldn't matter if back-ldif supported it or not, it would still need to be explicitly added to back-config.
It would be interesting to see back-config based on top of something else (e.g. back-hdb or even back-mbd).
back-mdb would be pretty interesting, definitely. It would be possible (in the future) to reference settings directly from an MDB entry record, instead of copying back and forth between slapd global variables and Entry structures.
Howard Chu wrote:
masarati@aero.polimi.it wrote:
Michael Ströder wrote:
Does back-config support the Post Read Control? That would be handy for retrieving the renumbered DN after an Add or Modify request.
Hmm, experiments shows that this does work. Server returns:
"Critical extension is unavailable: critical control unavailable in context"
As far as I remember, back-ldif is relatively poor in terms of non-core functionalities it supports, as it has never been intended for actual stuff storage with the only notable exception of back-config.
I think, due to the extra processing back-config does on top, it wouldn't matter if back-ldif supported it or not, it would still need to be explicitly added to back-config.
Background: As you might guessed I'm again experimenting to ease writing to back-config with web2ldap (with updated LDIF and HTML templates). After successfully adding an entry a link is shown by web2ldap to the new entry which obviously contains the DN. But due to the X-ORDERED stuff usability is bad since the DN is wrong in most cases. I've already added support for the post read control to web2ldap...
Ciao, Michael.
On 10/28/2011 09:35 AM, Michael Ströder wrote:
Howard Chu wrote:
masarati@aero.polimi.it wrote:
Michael Ströder wrote:
Does back-config support the Post Read Control? That would be handy for retrieving the renumbered DN after an Add or Modify request.
Hmm, experiments shows that this does work. Server returns:
"Critical extension is unavailable: critical control unavailable in context"
As far as I remember, back-ldif is relatively poor in terms of non-core functionalities it supports, as it has never been intended for actual stuff storage with the only notable exception of back-config.
I think, due to the extra processing back-config does on top, it wouldn't matter if back-ldif supported it or not, it would still need to be explicitly added to back-config.
Background: As you might guessed I'm again experimenting to ease writing to back-config with web2ldap (with updated LDIF and HTML templates). After successfully adding an entry a link is shown by web2ldap to the new entry which obviously contains the DN. But due to the X-ORDERED stuff usability is bad since the DN is wrong in most cases. I've already added support for the post read control to web2ldap...
Time permitting, I think adding support for assertion, pre/post-read and so would be extremely useful; I'd like to work at it.
p.
Pierangelo Masarati wrote:
Time permitting, I think adding support for assertion, pre/post-read and so would be extremely useful; I'd like to work at it.
Regarding assertion control: ITS#6916 is still open...
BTW: I switched off using the assertion control for modify requests in web2ldap if the LDAP server is an OpenLDAP server. And even when this is ever fixed I have to do it like this forever since I cannot reliably query the OpenLDAP release version (missing vendorName/vendorVersion in rootDSE, cn=Monitor is most times not readable).
Ciao, Michael.
openldap-technical@openldap.org