After some further investigation I saw the follwing...
If my user is in the first directory i'm binding to then the result.
getName() (JNDIRealm.java 1079) statement returns
CN=dasquery,OU=Herisau-AR-NET and everything works as expected.
If the user is found in a referral domain than the same st
This is the code (JNDIRealm)
// Get the entry's distinguished name
NameParser parser = context.getNameParser("");
Name contextName = parser.parse(context.
getNameInNamespace());
Name baseName = parser.parse(userBase);
// Bugzilla 32269
Name entryName = parser.pars