Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationName, Lastname, email problem (DNN 4.5.4)Name, Lastname, email problem (DNN 4.5.4)
Previous
 
Next
New Post
8/13/2007 5:28 PM
 

I'll go through the code tonight in greater detail than what I posted in the other thread but those obviously do exist in one form or another or it wouldn't work (your situation being one of the few exceptions).

 
New Post
8/13/2007 7:08 PM
 

msdn2.microsoft.com/en-us/library/ms675090.aspx lists all the attributes and I don't see it there either.  It is possible that these are from a structure defined outside of  ADSIProvider.vb I guess.  I'm not yet familiar enough with .NET to figure that out.  Looking through the data structure I wonder where the distinguishedName is being written?

I should also note that the information I provided earlier was from an LDAP query.

 
New Post
8/16/2007 1:46 AM
 

I haven't had a chance to go through the code yet as I've been concentrating on getting the provider bulletproofed for 4.6 but I will make time tomorrow to look at it and find out exactly where it's pulling the info from (the joys of taking over code you didn't originally write, sometimes you have to hunt through it to figure out how it was originally done ).  The AD provider uses ADSI to pull the information from the AD. These links might help (just did a quick google). http://msdn2.microsoft.com/en-us/library/Aa746343.aspx and http://www.dx21.com/SCRIPTING/ADSI/ADGUI/USER1.ASP

 
New Post
11/8/2007 7:01 PM
 

Refer to the roll-up below for continuity.

Looking at ADSIProvider.VB and Configuration.vb, I find that the ADSI_lastname and ADSI_firstname references are in Configuration.vb and appear to be pointed to the appropriate places as I listed below.  I don't really understand .NET well enough to say that it is pulling from the right places and since things are not ending up in the right places, I suspect there is a problem somewhere else.  Perhaps Private Function GetSimplyUser is being invoked.

All of which points me to something I pointed out in another post elsewhere.  When I configure my domain, I don't see any OK's in GC, LDAP, or Root Domain.  Since I am using the same entry I used in 3.? (where I did get OK's) I have been assuming there is a problem here somewhere.  Since nothing works in terms of a domain/username/password combo, I've just been thinking of it as a bug.  Perhaps it isnt?

To roll-up the relevent posts, I quote myself:

"In my case it seems to pull the first name from sAMAccountName.  The last name is the domain, there is no display name and the email address is the SAMAccountName with the @domain.com concatenated.  I would think that SN would be used for last name; givenName for the first name; displayName for the display name and mail for the eMail.  For smart card use it would also be useful to have distinguishedName in the DB as well."

"I should go further to say that I am dumping every fieldin AD and don't see a lastname or firstname.  From my experience, those fields don't exist."

"msdn2.microsoft.com/en-us/library/ms675090.aspx lists all the attributes and I don't see it there either.  It is possible that these are from a structure defined outside of  ADSIProvider.vb I guess.  I'm not yet familiar enough with .NET to figure that out.  Looking through the data structure I wonder where the distinguishedName is being written?"

 
New Post
11/13/2007 4:25 PM
 

After taking time off for a cold and coming back to this issue, I tried what Mike had said to me on some other post elsewhere... Impersonation.  That solved the problem, though in a way I don't prefer.  With Impersonation on, I cannot log out and log back in as host.  I just don't want to see those pencils every day and don't really need to edit the site all that often.  That is a personal problem though so I'll get over it.

Thanks Mike for your patience and help.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationName, Lastname, email problem (DNN 4.5.4)Name, Lastname, email problem (DNN 4.5.4)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out