From: Kurt Zeilenga Date: Thu, 4 Feb 1999 17:23:34 +0000 (+0000) Subject: Use LDAP_ALIAS_DEREF_PROBLEM for all problem dereferencing aliases. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~643 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=efce9cffb440cb3176e82f3201db1262d8c92447;p=openldap Use LDAP_ALIAS_DEREF_PROBLEM for all problem dereferencing aliases. LDAP_ALIAS_PROBLEM is now only used if the alias itself is mangled. --- diff --git a/servers/slapd/back-ldbm/alias.c b/servers/slapd/back-ldbm/alias.c index d328cc8d17..a6e780143e 100644 --- a/servers/slapd/back-ldbm/alias.c +++ b/servers/slapd/back-ldbm/alias.c @@ -75,7 +75,7 @@ Entry *derefAlias_r ( Backend *be, Debug( LDAP_DEBUG_TRACE, "<= %s alias is same as current %s\n", oldDN, newDN, 0 ); - send_ldap_result( conn, op, LDAP_ALIAS_PROBLEM, "", + send_ldap_result( conn, op, LDAP_ALIAS_DEREF_PROBLEM, "", "Circular alias" ); free (newDN); free (oldDN); @@ -87,7 +87,7 @@ Entry *derefAlias_r ( Backend *be, Debug( LDAP_DEBUG_TRACE, "<= %s alias is same as original %s\n", oldDN, origDN->e_ndn, 0 ); - send_ldap_result( conn, op, LDAP_ALIAS_PROBLEM, "", + send_ldap_result( conn, op, LDAP_ALIAS_DEREF_PROBLEM, "", "Circular alias" ); free (newDN); free (oldDN);