• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/OpenLDAP-499.27/OpenLDAP/servers/slapd/

Lines Matching +defs:no +defs:code

412 	/* If we're using a log but we have no state, then fallback to
506 * there's no overlay, this will be a no-op. That means
617 krb5_error_code code = 0;
626 if ((code = krb5_init_context(&ctx)))
628 if ((code = krb5_cc_resolve(ctx, krb5_cc_default_name(ctx), &cc))) {
629 Debug(LDAP_DEBUG_ANY, "%s: krb5_cc_resolve returned %d", __func__, code, 0);
633 if ((code = krb5_build_principal(ctx, &principal, si->si_bindconf.sb_realm.bv_len, si->si_bindconf.sb_realm.bv_val, si->si_bindconf.sb_authcId.bv_val, NULL))) {
634 Debug(LDAP_DEBUG_ANY, "%s: krb5_build_principal returned %d", __func__, code, 0);
641 if ((code = krb5_build_principal(ctx, &mcred.client, si->si_bindconf.sb_realm.bv_len, si->si_bindconf.sb_realm.bv_val, si->si_bindconf.sb_authcId.bv_val, NULL))) {
642 Debug(LDAP_DEBUG_ANY, "%s: krb5_build_principal returned %d", __func__, code, 0);
649 if((code = krb5_make_principal(ctx, &mcred.server, si->si_bindconf.sb_realm.bv_val, KRB5_TGS_NAME, si->si_bindconf.sb_realm.bv_val, NULL))) {
650 Debug(LDAP_DEBUG_ANY, "%s: krb5_build_principal_ext returned %d", __func__, code, 0);
659 if ((code = krb5_cc_retrieve_cred(ctx, cc, KRB5_TC_MATCH_KTYPE, &mcred, &my_creds))) {
664 if ((code = krb5_get_init_creds_password(ctx, &my_creds, principal, si->si_bindconf.sb_cred.bv_val, NULL, 0, 0, NULL, opt)))
666 Debug( LDAP_DEBUG_ANY, "do_syncrep1: krb5_get_init_creds_password failed (%d)\n",code, 0,0 );
675 code = krb5_cc_store_cred(ctx, cc, &my_creds);
676 if(code)
677 Debug( LDAP_DEBUG_ANY, "do_syncrep1: krb5_cc_store_cred failed (%d)\n",code, 0,0 );
1157 /* map old result code to registered code */
1243 * 1) err code : LDAP_BUSY ...
1575 * go to the master DB. But if there is no syncprov on the
2666 Debug( LDAP_DEBUG_ANY, "syncrepl_message_to_entry: %s no attributes\n",
2987 * it likely has no entryUUID, so the previous
3071 * delete with no values: therefore newDesc != oldDesc.
3637 /* the normalizedDNs are always the same length, no counting
3830 /* there was no match for this SID, it's a new CSN */
3942 int n, o, nn, no;
3959 nn = n; no = o;
3966 no--;
3980 * Also use replace op if attr has no equality matching rule.
3983 if ( ( nn || ( no > 0 && no < o ) ) &&
3987 no = o;
3992 if ( no == o ) {
3994 } else if ( no ) {
4001 mod->sml_numvals = no;
4002 mod->sml_values = ch_malloc( ( no + 1 ) * sizeof(struct berval) );
4004 mod->sml_nvalues = ch_malloc( ( no + 1 ) * sizeof(struct berval) );
4027 if ( nn && no < o ) {
4360 "null_callback : error code 0x%x\n",
5233 Debug( LDAP_DEBUG_ANY, "syncrepl %s " SEARCHBASESTR "=\"%s\": no retry defined, using default\n",
5629 /* There is no active thread, but we must still
5630 * ensure that no thread is (or will be) queued