mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 23:19:59 -05: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue