Hey Mike -- skirting the LDAPBrowser issue one more time, we've had somewhat of a breakthrough. We discovered the source for the role-wiping, but we have one problem remaining.
The original problem and its solution:
We're running two separate instances of the same portal via two separate websites and application pools. One of the sites is intended for public end-users, the other is for intranet users. They point to different domains, and we made a little fix that checks for the domain (instead of using an ip range) to force Windows auth when a user is on the admin.* site.
The problem seems to have been with the credentials/identity of the application pools. One application pool (that intended for the admin site) has a domain account with Active Directory access. The other application pool (for the public site) is using the Network Service account (local to the server, with no AD access). Whereas we did not specify a username and password in the Admin > Authentication settings in DNN, it seems to be relying on the Application Pool credentials for accessing AD. Because I’m working off-network, I’ve been testing on the www site, and we were having the clients test on the www site also, so when a user logs in the www site, the application pool Network Service identity tries to access AD to no avail and it wipes the roles for all the users. Trying on the admin site, though, proves successful in that it does NOT wipe the roles that already exist, most likely because the admin site’s application pool identity has access to AD.
The remaining problem:
That said, though, we do have one problem: although the roles are no longer wiped when users login through the admin site, they still are not allocated for the users unless we add them manually to the corresponding groups via DNN. (Also, as a side note – if we manually add a user by the DNN interface to an AD-linked DNN role to which they do NOT belong in AD, at the next DNN login they are still in that role. I do not know if this is desired behavior or not, but it seems given the previous issue we were tangling with, it might not be.)
Do you have any ideas on that problem (the main one—the side note is just an extra bite), or do you think it’s of the same/a similar origin? Our solution at this point, as the "drop-dead deadline" is in 36 hours, is to manually add all of the users to DNN (those who have not yet logged on) and then manually add all of the users to their respective roles.
Thanks again for all of your help so far,
Zack