- op->o_tag = LDAP_REQ_SEARCH;
- rc = ldap_back_dobind( &lc, op, &rs, LDAP_BACK_DONTSEND );
- op->o_do_not_cache = do_not_cache;
- op->o_tag = tag;
+ op2.o_tag = LDAP_REQ_SEARCH;
+ op2.o_ctrls = NULL;
+ rc = ldap_back_dobind( &lc, &op2, &rs, LDAP_BACK_DONTSEND );