@ Juanita
Ok, I think this does make sense. The method you are using to allow AD logins is preempting the WordPress user login validation. I suppose it would have to do this in order to work. Since the code that runs in Link is tied to the WordPress user authentication, it is never run so the user is never linked.
I assume this is a plugin you are using to add AD integration, yes? Which one? I would think this is a bug in their code… they should still make sure core WordPress filters/actions are run during their login validation process so they do not break other plugins.
If you can let me know the plugin you are running for AD integration, perhaps I can add a shim to Link that can trigger the linking of the user and entry during their user validation process.
