]> git.sur5r.net Git - openldap/commitdiff
Adhere to "servers will not return operational attributes" in
authorKurt Zeilenga <kurt@openldap.org>
Sat, 24 Jul 1999 02:12:42 +0000 (02:12 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 24 Jul 1999 02:12:42 +0000 (02:12 +0000)
all cases (including root dse).

configure.in
servers/slapd/root_dse.c
servers/slapd/schema.c

index 35edebeee5f49a9ec7ae0ba8e1705bd5b5655d44..ea1640d566d7c5fc5d265289795b6a3b8a5c9e18 100644 (file)
@@ -497,9 +497,6 @@ AC_AIX
 AC_ISC_POSIX
 AC_MINIX
 
-dnl BeOS requires -lbe -lroot -lnet
-AC_CHECK_LIB(be, be_app, [LIBS="$LIBS -lbe -lroot -lnet"], :, [-lroot -lnet])
-
 dnl Checks for system services
 AC_CYGWIN
 AC_MINGW32
@@ -508,6 +505,9 @@ AC_OBJEXT
 
 AC_DEFINE_UNQUOTED( EXEEXT, "${EXEEXT}", [defined to be the EXE extension])
 
+dnl BeOS requires -lbe -lroot -lnet
+AC_CHECK_LIB(be, be_app, [LIBS="$LIBS -lbe -lroot -lnet"], :, [-lroot -lnet])
+
 dnl OpenLDAP requires STDC features
 AM_PROG_CC_STDC
 if test "X${am_cv_prog_cc_stdc}" = "Xno" ; then
@@ -523,6 +523,7 @@ if test "${ol_cv_mkdep}" = no ; then
        AC_MSG_WARN([do not know how to generate dependencies])
 fi
 
+dnl ----------------------------------------------------------------
 dnl Checks for libraries
 
 dnl Find socket()
index 700b4bd489a3df7d1e38b708453d5c315988fc12..9da603c89cdd9a38268cf2a5f68a27deb096d95d 100644 (file)
@@ -91,7 +91,7 @@ root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly )
        for ( i=0; supportedSASLMechanisms[i] != NULL; i++ ) {
                val.bv_val = supportedSASLMechanisms[i];
                val.bv_len = strlen( val.bv_val );
-               attr_merge( e, "supportedSASLMechanism", vals );
+               attr_merge( e, "supportedSASLMechanisms", vals );
        }
 
        if ( default_referral != NULL ) {
@@ -99,7 +99,7 @@ root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly )
        }
 
        send_search_entry( &backends[0], conn, op,
-               e, attrs, attrsonly, 1, NULL );
+               e, attrs, attrsonly, 0, NULL );
        send_search_result( conn, op, LDAP_SUCCESS,
                NULL, NULL, NULL, NULL, 1 );
 
index ea8ce6aa175f81653bb16358cf4b7b34bf22b6e1..4c6fe9307e8899f74aa01e8267a3c49464cceb0b 100644 (file)
@@ -145,6 +145,11 @@ static char *oc_operational_attrs[] = {
        "dITContentRules",
        "nameForms",
        "ldapSyntaxes",
+       "namingContexts",
+       "supportedExtension",
+       "supportedControl",
+       "supportedSASLMechanisms",
+       "supportedLDAPversion",
        NULL
 
 };