Skip to content
Snippets Groups Projects
Commit efce9cff authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Use LDAP_ALIAS_DEREF_PROBLEM for all problem dereferencing aliases.

LDAP_ALIAS_PROBLEM is now only used if the alias itself is mangled.
parent a68daccf
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment