~ttx/openldap/lucid-gssapi-495418

« back to all changes in this revision

Viewing changes to servers/slapd/ad.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-03-06 17:34:21 UTC
  • mto: (0.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20090306173421-n2o3ca73v9tmrdiy
Tags: upstream-2.4.15
ImportĀ upstreamĀ versionĀ 2.4.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* ad.c - routines for dealing with attribute descriptions */
2
 
/* $OpenLDAP: pkg/ldap/servers/slapd/ad.c,v 1.95.2.7 2009/02/09 16:01:20 quanah Exp $ */
 
2
/* $OpenLDAP: pkg/ldap/servers/slapd/ad.c,v 1.95.2.8 2009/02/17 19:14:41 quanah Exp $ */
3
3
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4
4
 *
5
5
 * Copyright 1998-2009 The OpenLDAP Foundation.
27
27
#include "slap.h"
28
28
#include "lutil.h"
29
29
 
 
30
static struct berval bv_no_attrs = BER_BVC( LDAP_NO_ATTRS );
 
31
static struct berval bv_all_user_attrs = BER_BVC( "*" );
 
32
static struct berval bv_all_operational_attrs = BER_BVC( "+" );
 
33
 
30
34
static AttributeName anlist_no_attrs[] = {
31
35
        { BER_BVC( LDAP_NO_ATTRS ), NULL, 0, NULL },
32
36
        { BER_BVNULL, NULL, 0, NULL }
53
57
AttributeName *slap_anlist_all_operational_attributes = anlist_all_operational_attributes;
54
58
AttributeName *slap_anlist_all_attributes = anlist_all_attributes;
55
59
 
 
60
struct berval * slap_bv_no_attrs = &bv_no_attrs;
 
61
struct berval * slap_bv_all_user_attrs = &bv_all_user_attrs;
 
62
struct berval * slap_bv_all_operational_attrs = &bv_all_operational_attrs;
 
63
 
56
64
typedef struct Attr_option {
57
65
        struct berval name;     /* option name or prefix */
58
66
        int           prefix;   /* NAME is a tag and range prefix */