/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2000-2011 The OpenLDAP Foundation.
+ * Copyright 2000-2012 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
AttributeDescription *password = slap_schema.si_ad_userPassword;
MDB_txn *rtxn;
- mdb_op_info opinfo = {0}, *moi = &opinfo;
+ mdb_op_info opinfo = {{{0}}}, *moi = &opinfo;
Debug( LDAP_DEBUG_ARGS,
"==> " LDAP_XSTRING(mdb_bind) ": dn: %s\n",
rtxn = moi->moi_txn;
/* get entry with reader lock */
- rs->sr_err = mdb_dn2entry( op, rtxn, &op->o_req_ndn, &e, 0 );
+ rs->sr_err = mdb_dn2entry( op, rtxn, NULL, &op->o_req_ndn, &e, 0 );
switch(rs->sr_err) {
case MDB_NOTFOUND:
}
/* free entry and reader lock */
if( e != NULL ) {
- mdb_entry_return( e );
+ mdb_entry_return( op, e );
}
if ( rs->sr_err ) {