]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/root_dse.c
Move the input data exhaustion loop to connection.c from daemon.c
[openldap] / servers / slapd / root_dse.c
index 540d218d1363740b68537f526de6306329048859..25d5f7ddbfdd9ba9bf1353bc52d7f2960ddfa29e 100644 (file)
@@ -93,9 +93,14 @@ root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly )
                attr_merge( e, "supportedSASLMechanism", vals );
        }
 
+       if ( default_referral != NULL ) {
+               attr_merge( e, "ref", default_referral );
+       }
 
-       send_search_entry( &backends[0], conn, op, e, attrs, attrsonly, 1 );
-       send_ldap_search_result( conn, op, LDAP_SUCCESS, NULL, NULL, 1 );
+       send_search_entry( &backends[0], conn, op,
+               e, attrs, attrsonly, 1, NULL );
+       send_search_result( conn, op, LDAP_SUCCESS,
+               NULL, NULL, NULL, NULL, 1 );
 
        entry_free( e );
 }