mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
Use LDAP_ALIAS_DEREF_PROBLEM for all problem dereferencing aliases.
LDAP_ALIAS_PROBLEM is now only used if the alias itself is mangled.
This commit is contained in:
parent
a68daccf16
commit
efce9cffb4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user