version 1.113, 2006/01/03 22:12:15
|
version 1.113.2.2, 2006/04/18 17:33:08
|
Line 1
|
Line 1
|
/* root_dse.c - Provides the Root DSA-Specific Entry */ |
/* root_dse.c - Provides the Root DSA-Specific Entry */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.112 2006/01/02 07:57:56 ando Exp $ */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.113.2.1 2006/04/11 16:07:17 kurt Exp $ */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
* Copyright 1999-2006 The OpenLDAP Foundation. |
* Copyright 1999-2006 The OpenLDAP Foundation. |
Line 214 root_dse_info(
|
Line 214 root_dse_info(
|
= slap_schema.si_ad_ref; |
= slap_schema.si_ad_ref; |
|
|
e = (Entry *) SLAP_CALLOC( 1, sizeof(Entry) ); |
e = (Entry *) SLAP_CALLOC( 1, sizeof(Entry) ); |
|
|
if( e == NULL ) { |
if( e == NULL ) { |
Debug( LDAP_DEBUG_ANY, |
Debug( LDAP_DEBUG_ANY, |
"root_dse_info: SLAP_CALLOC failed", 0, 0, 0 ); |
"root_dse_info: SLAP_CALLOC failed", 0, 0, 0 ); |
Line 478 slap_discover_feature(
|
Line 477 slap_discover_feature(
|
return rc; |
return rc; |
} |
} |
|
|
rc = ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, &version ); |
rc = ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, |
|
(const void *)&version ); |
if ( rc != LDAP_SUCCESS ) { |
if ( rc != LDAP_SUCCESS ) { |
goto done; |
goto done; |
} |
} |