]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/request.c
Add support for useronly configuration attributes.
[openldap] / libraries / libldap / request.c
index c017a57eef1027d223aec2dcff02a735d3be9f5a..badd2468a6a5333705a99ec2631fa716b3c58187 100644 (file)
@@ -653,6 +653,11 @@ ldap_chase_referrals( LDAP *ld, LDAPRequest *lr, char **errstrp, int *hadrefp )
                        continue;
                }
 
+               /* NOTE! This code treats "ldap://host/" differently
+                * from "ldap://host". The behavior is wrong, but is
+                * left here intentionally to maintain compatibility
+                * with OpenLDAP 1.x and UMich 3.3 clients.
+                */
                *hadrefp = 1;
                if (( refdn = strchr( tmpref, '/' )) != NULL ) {
                        *refdn++ = '\0';