How to ignore referral with the ldap policy

Hi,

We are running the new 4.19.01 onPrem installation and want to use the LDAP policy. Wr are running LDAP version 3.

We would like to ignore the referral response from the LDAP server. We cannot find to set this in the Policy. Does anyone have experience with this?

0 2 275
2 REPLIES 2

There is no such setting in the LDAP policy.

Also: I am not certain, but I believe the LDAP policy will not automatically follow a referral.

Are you currently experiencing a problem with referrals? If so, can you describe it?

Seems like this is the feature TS is referring to:

https://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html

The policy would need to expose a property that would correspond to the

env.put(Context.REFERRAL, "follow");

method invocation, where the parameter can be: ignore, follow, throw.

The default behaviour:

'If this property has not been set, then the default is to ignore referrals.'

So unless we override a default value, looks like we are lucky this time with regards to the given requirement.