"CN" vs "SAMACCOUNTNAME": I have received number of suggestions to change "cn" into "SAMAccountName" (Jason Fischer, gismapper, Bezeau Jean-Michel...) The reason is in some ADs network, SAMAccount user (NT4 compatable) is not as same as Windows 2000 username,
and no user object return if the code uses "cn" in query string. I've changed the query string and checking all minor modifications in functions related to this change. Please wait a couple days for I'm doing testing. ADsUserName/ADsPassword : Hi jmbezeau,
If you test this component in computer running IIS with DNN installed you don't need it. However access DNN from other computer, will be an error if you don't have it (except your network admin allows Everyone fullcontrol on ADs containers - which never happened).
Errors is handled by code in the component so you don't see any error message, but some ADs functions not work at all. You could test it by logon to your Windows network as an normal user, open DNN, change that user profile info (i.e address or phone), if
it worked correctly the changes would update both user info in ADs and Users data in DNN. Could you test and let me know the result
Regarding the ADsUserName/ADsPassword I understand the limitation, however I don't have a choice in that matter. I won't ever be able to convince the security staff that this application is important enough to allow it to modify the AD database. So it has to
be read-only for now. So what happened when I asked a normal user to modify his user profile info was a popup asking for a logon/password/domain. Even though the user was entering her user/password the dialog just popped. So after hitting cancel, an error
was generated in the application during the AD commit : TTT_ADs.vb at line 321. I guess that if I enable kerberos identification, the error won't show. I will try to make it work that way. I am just trying to get my boss interest for the technology. If I succeed,
I may have to change that behavior. Thanks again
Ok, I've taken from everyone's ideas on the error. Now I am getting the following error: Server Error in '/' Application. -------------------------------------------------------------------------------- Input string was not in a correct format. Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.FormatException: Input string was not in a correct
format. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [FormatException:
Input string was not in a correct format.] Microsoft.VisualBasic.CompilerServices.DoubleType.Parse(String Value, NumberFormatInfo NumberFormat) +166 Microsoft.VisualBasic.CompilerServices.IntegerType.FromString(String Value) +97 [InvalidCastException: Cast
from string "FLS\Administrator" to type 'Integer' is not valid.] Microsoft.VisualBasic.CompilerServices.IntegerType.FromString(String Value) +212 DotNetNuke.DesktopPortalBanner.Page_Load(Object sender, EventArgs e) +2796 System.Web.UI.Control.OnLoad(EventArgs
e) +67 System.Web.UI.Control.LoadRecursive() +29 System.Web.UI.Control.LoadRecursive() +92 System.Web.UI.Control.LoadRecursive() +92 System.Web.UI.Control.LoadRecursive() +92 System.Web.UI.Page.ProcessRequestMain() +724 --------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288
Hi tamtt, I have downloaded your component 1.0.7b gone through and followed the release notes supplied , moved the above the key and also modified the username of the host account to be domainname\adminuser My configuration is windows 2003 web servers one set
to use windows and the other for forms for testing the configuration out. aand windows 2000 domain controller with active directory. unfortunately I still can't get windows authentication to work . Forms works fine. If I try and login nothing happens yet if
I use the forms site and put in domainname\adminuser I can log on fine as expected. I am slightly confused as to what I should or shouldn't be doing to get this to work. I have gone through this thread but apart from the unrecognised identity tag issue I haven't
spotted what may be able to help me out. It obviously does work as I have seen posts where people are saying greet this works fine. so I Am assuming I', missing something? Any clues do I have to modify your component or not and if so what do I need to change
? . I'm basically doing a proof of concept and if i can get this to work it will be the first open source applicaton my company will agree to implement ( I've even persuaded them to make a donation to Shaun if I can prove its a viable proposition) We have
played around with an earlier version of Ibuyspy workshop as it then was but the new version addresses most of the issues that didn't allow us to go into production . The windows authentication is teh last bit of the puzzle.
Hi Grapes Could you tell me more details about "If I try and login nothing happens ", was it: * logon OK, but nothing input into DNN database? * could not logon, with error? - if this happened, post the error message to forum * the system hang? Please check
configuration on the virtual directory in IIS which you applied for Windows Authentication that it's NOT allows for anonymous access. I've got that problem before, even I have in web.config. I've got Windows 2003 for beta test program, but I've got no chance
to test it with my component, I'll test with this platform if it's necessary Tam, Tran Minh
Hi tamtt, I have had another play with this and now I get the error input string was not in a correct format. I noticed that this error has been reported on this thread before but I'm unclear as to what I need to do to resolve it. For your information prior
to me playing around with windows authentication against the website When I said nothing happened I meant that nothing appeared to happen the login page had no error message and no entry in the database.
Hi, Okay I didn't have windows authentication set. When I said I nothing happened though nothing did no error message on page and no entry in dbase. Now that I have windows authentication I get the error message Input string was not in correct format. I have
seen some other posts re this error but I am unclear as to what I need to do to resolve it. Again no entry in dbase Hoep you can help
tamttt
Contributor
2500 Points
500 Posts
Re: Windows Authentication
May 07, 2003 05:34 AM|LINK
jmbezeau
Member
30 Points
9 Posts
Re: Windows Authentication
May 07, 2003 01:19 PM|LINK
Jean-Michel Bezeau
Revenu Québec
jmbezeau
Member
30 Points
9 Posts
Re: Windows Authentication
May 07, 2003 01:39 PM|LINK
Jean-Michel Bezeau
Revenu Québec
derekr44
Member
405 Points
81 Posts
Re: Windows Authentication
May 08, 2003 12:45 AM|LINK
I am a DNN Hobbyist
agricus
Member
10 Points
2 Posts
Re: Windows Authentication
May 08, 2003 07:26 PM|LINK
agricus
Member
10 Points
2 Posts
Re: Windows Authentication
May 08, 2003 07:28 PM|LINK
grapes
Member
65 Points
13 Posts
Re: Windows Authentication
May 09, 2003 11:03 AM|LINK
tamttt
Contributor
2500 Points
500 Posts
Re: Windows Authentication
May 09, 2003 04:58 PM|LINK
grapes
Member
65 Points
13 Posts
Re: Windows Authentication
May 12, 2003 09:46 AM|LINK
grapes
Member
65 Points
13 Posts
Re: Windows Authentication
May 12, 2003 09:49 AM|LINK