Please try the following patch for the 2.2.18 release: ftp://ftp.openldap.org/incoming/patch-its3379.diff - Jong-Hyuk