+ if( ndn == '\0' ) {
+#ifdef NEW_LOGGING
+ LDAP_LOG(( "operation", LDAP_LEVEL_DETAIL1,
+ "do_compare: conn %d compare to root DSE!\n",
+ conn->c_connid ));
+#else
+ Debug( LDAP_DEBUG_ANY, "do_compare: root dse!\n", 0, 0, 0 );
+#endif
+ send_ldap_result( conn, op, rc = LDAP_UNWILLING_TO_PERFORM,
+ NULL, "compare upon the root DSE not supported", NULL, NULL );
+ goto cleanup;
+ }
+
+ manageDSAit = get_manageDSAit( op );
+