Question about LDB nested requests
Samuel Cabrero
scabrero at zentyal.com
Tue Dec 2 09:25:33 MST 2014
Hello,
I am trying to retrieve the original attribute set specified in an add
request inside a LDB module. This module is below other ones which
create nested requests and add extra attributes to it, like the
descriptor module.
Is this approach correct?
/* Retrieve the original add request */
orig_req = req;
while (orig_req && orig_req->handle && orig_req->handle->parent) {
orig_req = orig_req->handle->parent;
}
if (orig_req == NULL) {
return ldb_operr(ldb);
}
Thanks,
--
Samuel Cabrero - Developer
scabrero at zentyal.com
Zentyal - Active Exchange
www.zentyal.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141202/8bc44c3e/attachment.pgp>
More information about the samba-technical
mailing list