Lines Matching refs:op
29 bdb_bind( Operation *op, SlapReply *rs )
31 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
44 op->o_req_dn.bv_val, 0, 0);
47 switch ( be_rootdn_bind( op, NULL ) ) {
62 rs->sr_err = bdb_reader_get(op, bdb->bi_dbenv, &rtxn);
68 send_ldap_result( op, rs );
74 rs->sr_err = bdb_dn2entry( op, rtxn, &op->o_req_ndn, &ei, 1,
82 send_ldap_error( op, rs, LDAP_BUSY, "ldap_server_busy" );
88 send_ldap_error( op, rs, LDAP_OTHER, "internal error" );
100 send_ldap_result( op, rs );
105 ber_dupbv( &op->oq_bind.rb_edn, &e->e_name );
130 switch ( op->oq_bind.rb_method ) {
133 if( odusers_krb_auth(op, op->oq_bind.rb_cred.bv_val) ) {
135 if(odusers_increment_failedlogin(&op->o_req_ndn) != 0) {
136 Debug(LDAP_DEBUG_ANY, "%s: Error to increment failed login count for %s", __func__, op->o_req_ndn.bv_val, 0);
140 CFDictionaryRef poldict = odusers_copy_effectiveuserpoldict(&op->o_req_ndn);
142 Debug(LDAP_DEBUG_ANY, "%s: could not retrieve effective policy for: %s\n", __PRETTY_FUNCTION__, op->o_req_ndn.bv_val, 0);
149 Debug(LDAP_DEBUG_ANY, "%s: User is disabled: %s\n", __PRETTY_FUNCTION__, op->o_req_ndn.bv_val, 0);
156 odusers_successful_auth(&op->o_req_ndn, poldict);
168 if ( slap_passwd_check( op, e, a, &op->oq_bind.rb_cred,
192 send_ldap_result( op, rs );