~ttx/openldap/lucid-gssapi-495418

« back to all changes in this revision

Viewing changes to servers/slapd/back-ldap/init.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek, Updated debconf translations
  • Date: 2009-07-28 10:17:15 UTC
  • mfrom: (1.1.4 upstream) (0.2.2 sid)
  • mto: (0.2.4 sid)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20090728101715-epwmqmsk0d3h22k3
* New upstream version.
  - Fixes FTBFS on ia64 with -fPIE. Closes: #524770.
  - Fixes some TLS issues with GnuTLS.  Closes: #505191.
* Update priority of libldap-2.4-2 to match the archive override.
* Add the missing ldapexop and ldapurl tools to ldap-utils, as well as the
  ldapurl(1) manpage.  Thanks to Peter Marschall for the patch.
  Closes: #496749.
* Bump build-dependency on debhelper to 6 instead of 5, since that's
  what we're using.  Closes: #498116.
* Set the default SLAPD_SERVICES to ldap:/// ldapi:///, instead of using
  the built-in default of ldap:/// only.
* Build-depend on libltdl-dev | libltdl3-dev (>= 1.4.3), for the package
  name change.  Closes: #522965.

[ Updated debconf translations ]
* Spanish, thanks to Francisco Javier Cuadrado <fcocuadrado@gmail.com>.
  Closes: #521804.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* init.c - initialize ldap backend */
2
 
/* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/init.c,v 1.99.2.8 2008/07/09 23:36:23 quanah Exp $ */
 
2
/* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/init.c,v 1.99.2.11 2009/01/30 19:07:40 quanah Exp $ */
3
3
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4
4
 *
5
 
 * Copyright 2003-2008 The OpenLDAP Foundation.
 
5
 * Copyright 2003-2009 The OpenLDAP Foundation.
6
6
 * Portions Copyright 1999-2003 Howard Chu.
7
7
 * Portions Copyright 2000-2003 Pierangelo Masarati.
8
8
 * All rights reserved.
62
62
                 * and the entryTtl attribute */
63
63
                SLAP_BFLAG_DYNAMIC |
64
64
#endif /* LDAP_DYNAMIC_OBJECTS */
65
 
                0;
 
65
 
 
66
                /* back-ldap recognizes RFC4525 increment;
 
67
                 * let the remote server complain, if needed (ITS#5912) */
 
68
                SLAP_BFLAG_INCREMENT;
66
69
 
67
70
        bi->bi_open = ldap_back_open;
68
71
        bi->bi_config = 0;
233
236
        if ( rc != 0 ) {
234
237
                /* ignore by now */
235
238
                rc = 0;
236
 
#if 0
237
 
                goto fail;
238
 
#endif
239
239
        }
240
240
 
241
241
        li->li_flags |= LDAP_BACK_F_ISOPEN;
242
242
 
243
 
fail:;
244
243
        return rc;
245
244
}
246
245