2012/6/27 masarati@aero.polimi.it:
List,
You don't state what version of the code you're using. Using current HEAD code it works as intended; olcChainReturnError can be set as needed (I checked it using ldapmodify).
For example,
# {0}chain, {-1}frontend, config dn: olcOverlay={0}chain,olcDatabase={-1}frontend,cn=config objectClass: olcOverlayConfig objectClass: olcChainConfig olcOverlay: {0}chain olcChainCacheURI: FALSE olcChainMaxReferralDepth: 1 olcChainReturnError: TRUE
Oh, I'm sorry. 2.4.23 on Debian 6.0 (Squeeze). I managed to do it with ldapmodify, it's a lot more practical to use once you're stuck on something like this...