[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: derefDN locking problem (ITS#597)



patch file: pturgyan-000629.patch

This patch for 1.2.11 corrects the dn translation of an alias that
points to a non-leaf entry.  Without the patch, ldapsearch reports
the following error:

 77:% ldapsearch -b "cn=Paul R Turgyan 1,ou=ITD,ou=Faculty and Staff,ou=People,
 o=University of Michigan, c=US" -s base -a always objectclass="*"
ldap_search: Alias dereferencing problem
ldap_search: additional info: Maximum alias dereference depth exceeded for base

and slapd logs the following error:

Jun 21 13:47:14 bat.umich.edu slapd[9]: <= max deref depth exceeded in derefDN for
"CN=PAUL R TURGYAN 1,OU=ITD,OU=FACULTY AND STAFF,OU=PEOPLE,O=UNIVERSITY OF MICHIG
AN,C=US", result "CN=PAUL R TURGYAN 1,ou=ITD,ou=Faculty and Staff, ou=People, 
o=University of Michigan, c=US"


This patch does not correct the locking problem that Wes Craig
previously reported.

I didn't see this dn translation problem in 2.0 while reading the code.