### Step 3: Build Public Objects for the name Parameter to ds_search( )

The public objects required by the search operation are defined in the acl.h header file. The name input parameter in the ds_search( ) function call in acl.c is the representation of the distinguished name for the root of the DIT. The following code fragment from acl.c shows how the descriptor list for the distinguished name is initialized:

static OM_descriptor dn_root[] = {

OM_OID_DESC(OM_CLASS,DS_C_DS_DN),

OM_NULL_DESCRIPTOR

};

###