Did you solve your problem? I'm in the same trouble.
no I did not, I work with an alternate solution (LDAP) yet. it looks like one has to either extend the LdapExtLoginModule, or to find an alternative module in any other way. one can also setup a reader node in the forest to make sure it answers without referrals
I posted the same question to stackoverflow and received the following answer:
There were some issues with the referrals handling in the WildFly. They are already fixed in the codebase. Once the new version release in 9.x stream is released, it should work for you.
The JBoss EAP 6.3 and 6.2.4 have the issues fixed already.
here the link to the bug report:
Did you still need this feature. I resolve in Wildfly 8.2.0.Final.