From gianluigi.nigro@passepartout.sm Fri Jun 25 20:03:04 2010 From: gianluigi.nigro@passepartout.sm To: openldap-bugs@openldap.org Subject: R: ITS#6580 Date: Fri, 25 Jun 2010 20:03:03 +0000 Message-ID: <201006252003.o5PK33xC094795@boole.openldap.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3810860939908763784==" --===============3810860939908763784== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit This is a multi-part message in MIME format. ------_=_NextPart_001_01CB14A1.5852206C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, the issue is that in release 2.4.21 is not possible execute an exended = operation registered in a plugin: THIS way doesnt work because slapd (in = extended.c fe_extended(), line 199) only look for built-in extended = operations and not plugin-defined extended operations (in a plugin = calling slapi_pblock_set() with SLAPI_EXT_OP_RET_OID and = SLAPI_EXT_OP_RET_VALUE). In fe_extended() I tried to extend the search to all extended operations = and now things start to work, but the main question concerns the choice = of backend. Uploaded files: servers-slapd-extended.patch -> gianluigi.nigro1-100625.patch servers-slapd-slapi-slapi_overlay.patch -> gianluigi.nigro2-100625.patch -----Messaggio originale----- Da: masarati(a)aero.polimi.it [mailto:masarati(a)aero.polimi.it]=20 Inviato: mercoled=EC 23 giugno 2010 00:36 A: Gianluigi Nigro Cc: openldap-its(a)openldap.org Oggetto: ITS#6580 No clue about the slapi way, but extended operations can be successfully registered using OpenLDAP's native API, load_extop2(). See for example overlays/dds.c p. -------------------------------------------------------------------- Il contenuto di questo messaggio di posta elettronica e ogni eventuale = documento a quest'ultimo allegato pu=F2 contenere informazioni la cui = riservatezza e' tutelata ed e' rivolto unicamente agli effettivi = destinatari i quali prendono atto del carattere non strettamente = personale dei messaggi di risposta, che potranno essere noti = all'organizzazione aziendale. Sono vietati la riproduzione e l'uso di = questo messaggio in mancanza di autorizzazione del destinatario. Se = avete ricevuto questo messaggio per errore, vogliate cortesemente = chiamarci immediatamente per telefono o fax e distruggere quanto = ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia = utilizzo non autorizzato del contenuto di questo messaggio costituisce = violazione dell'obbligo di non prendere cognizione della corrispondenza = tra altri soggetti. ------_=_NextPart_001_01CB14A1.5852206C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
the issue is that in release 2.4.21 is not possible execute an exended =
operation registered in a plugin: THIS way doesnt work because slapd (in =
extended.c fe_extended(), line 199) only look for built-in extended =
operations and not plugin-defined extended operations (in a plugin =
calling slapi_pblock_set() with SLAPI_EXT_OP_RET_OID and =
SLAPI_EXT_OP_RET_VALUE).
In fe_extended() I tried to extend the search to all extended operations =
and now things start to work, but the main question concerns the choice =
of backend.
Uploaded files:
servers-slapd-extended.patch -> gianluigi.nigro1-100625.patch
servers-slapd-slapi-slapi_overlay.patch -> =
gianluigi.nigro2-100625.patch
-----Messaggio originale-----
Da: masarati(a)aero.polimi.it [mailto:masarati(a)aero.polimi.it]
Inviato: mercoled=EC 23 giugno 2010 00:36
A: Gianluigi Nigro
Cc: openldap-its(a)openldap.org
Oggetto: ITS#6580
No clue about the slapi way, but extended operations can be =
successfully
registered using OpenLDAP's native API, load_extop2(). See for =
example
overlays/dds.c
p.