~ubuntu-branches/ubuntu/karmic/openldap/karmic-updates

« back to all changes in this revision

Viewing changes to servers/slapd/slapacl.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-09-07 13:41:10 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090907134110-rsnlhy8b0r21p9bg
Tags: 2.4.18-0ubuntu1
* New upstream release: (LP: #419515):
  + pcache overlay supports disconnected mode.
* Fix nss overlay load (LP: #417163).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $OpenLDAP: pkg/ldap/servers/slapd/slapacl.c,v 1.24.2.9 2009/01/22 00:01:03 kurt Exp $ */
 
1
/* $OpenLDAP: pkg/ldap/servers/slapd/slapacl.c,v 1.24.2.10 2009/07/22 20:28:46 quanah Exp $ */
2
2
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
3
3
 *
4
4
 * Copyright 2004-2009 The OpenLDAP Foundation.
73
73
        char                    *attr = NULL;
74
74
        int                     doclose = 0;
75
75
        BackendDB               *bd;
 
76
        void                    *thrctx;
76
77
 
77
78
        slap_tool_init( progname, SLAPACL, argc, argv );
78
79
 
96
97
        argv = &argv[ optind ];
97
98
        argc -= optind;
98
99
 
99
 
        connection_fake_init( &conn, &opbuf, &conn );
 
100
        thrctx = ldap_pvt_thread_pool_context();
 
101
        connection_fake_init( &conn, &opbuf, thrctx );
100
102
        op = &opbuf.ob_op;
101
103
        op->o_tmpmemctx = NULL;
102
104