~tieto/+junk/openldap-tld

« back to all changes in this revision

Viewing changes to servers/slapd/search.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2010-02-18 00:58:13 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100218005813-8230cn0y207m8wzy
Tags: 2.4.21-0ubuntu1
* New upstream release.
* debian/rules, debian/schema/extra/: 
  Fix get-orig-source rule to supports extra schemas shipped as part of the
  debian/schema/ directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $OpenLDAP: pkg/ldap/servers/slapd/search.c,v 1.181.2.9 2009/07/27 20:19:18 quanah Exp $ */
 
1
/* $OpenLDAP: pkg/ldap/servers/slapd/search.c,v 1.181.2.10 2009/11/17 16:28:25 quanah Exp $ */
2
2
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
3
3
 *
4
4
 * Copyright 1998-2009 The OpenLDAP Foundation.
112
112
 
113
113
        rs->sr_err = dnPrettyNormal( NULL, &base, &op->o_req_dn, &op->o_req_ndn, op->o_tmpmemctx );
114
114
        if( rs->sr_err != LDAP_SUCCESS ) {
115
 
                Debug( LDAP_DEBUG_ANY, "%s do_search: invalid dn (%s)\n",
 
115
                Debug( LDAP_DEBUG_ANY, "%s do_search: invalid dn: \"%s\"\n",
116
116
                        op->o_log_prefix, base.bv_val, 0 );
117
117
                send_ldap_error( op, rs, LDAP_INVALID_DN_SYNTAX, "invalid DN" );
118
118
                goto return_results;