I have code which as been working against an older Active Directory server and now I have pointed it to a new Windows Server 2008 AD system. Now the group names are coming back with SIDs and not names. I do not know enough about the AD side to know if there is a way to make the new AD server work like the older AD server.
My code is based on the Active Directory Role Provider for BlogEngine.NET on Codeplex.
I believe this the line that I will need to adjust.
IdentityReferenceCollection irc = ExpandTokenGroups(user).Translate(typeof(NTAccount));
Right now ExpandTokenGroups is returning the SID value while Translate has worked to change it into the human readable group name. I would like to know if I should pass in a different type than NTAccount to Translate.
What can I do to get the group name?