~james-page/ubuntu/maverick/openldap/fix-666028

« back to all changes in this revision

Viewing changes to servers/slapd/overlays/translucent.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2010-02-18 00:58:13 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20100218005813-8ubmna7xsfo1f098
Tags: upstream-2.4.21
ImportĀ upstreamĀ versionĀ 2.4.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* translucent.c - translucent proxy module */
2
 
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/translucent.c,v 1.13.2.32 2009/08/25 23:05:25 quanah Exp $ */
 
2
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/translucent.c,v 1.13.2.33 2009/12/02 19:32:38 quanah Exp $ */
3
3
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4
4
 *
5
5
 * Copyright 2004-2009 The OpenLDAP Foundation.
585
585
        slap_overinst *on = (slap_overinst *) op->o_bd->bd_info;
586
586
        translucent_info *ov = on->on_bi.bi_private;
587
587
        AttributeAssertion *ava = op->orc_ava;
588
 
        Entry *e;
 
588
        Entry *e = NULL;
589
589
        BackendDB *db;
590
590
        int rc;
591
591
 
852
852
        } else {
853
853
        /* Else we have remote, get local */
854
854
                op->o_bd = tc->db;
 
855
                le = NULL;
855
856
                rc = overlay_entry_get_ov(op, &rs->sr_entry->e_nname, NULL, NULL, 0, &le, on);
856
857
                if ( rc == LDAP_SUCCESS && le ) {
857
858
                        re = entry_dup( rs->sr_entry );