Question about LDB nested requests

Samuel Cabrero scabrero at
Tue Dec 2 09:25:33 MST 2014


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);


Samuel Cabrero - Developer
scabrero at

Zentyal - Active Exchange
-------------- 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: <>

More information about the samba-technical mailing list