]> git.sur5r.net Git - openldap/commitdiff
Fix referrals bug
authorKurt Zeilenga <kurt@openldap.org>
Fri, 26 May 2000 06:08:06 +0000 (06:08 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 26 May 2000 06:08:06 +0000 (06:08 +0000)
servers/slapd/result.c

index 0231eb6c909ffe2d55f5a1abeb82f563c04b407d..c328690a284528f0893048e31a03a9da149faf01 100644 (file)
@@ -287,7 +287,8 @@ send_ldap_response(
                        text == NULL ? "" : text );
 
                if( rc != -1 && ref != NULL ) {
-                       rc = ber_printf( ber, "{V}", ref );
+                       rc = ber_printf( ber, "t{V}",
+                               LDAP_TAG_REFERRAL, ref );
                }
 
                if( rc != -1 && sasldata != NULL ) {