Login Popup
Is there any way to have that Windows popup ask for login/password inside login.aspx? I've already taken a look at FBA, but it is not what I want to. I want to have Active Directory authentication, however I do not want to have that Windows popup ask for login/password. For instance, I would like to have an orndinary authentication form inside login.aspx instead of that Windows popup. I am using Sharepoint 2007. Taking the chance, is there a Sharepoint 2007 forum? Thanks in advance.
September 1st, 2010 10:37pm

Hi Ramon, Thanks to share your problem. Check the similar post http://social.msdn.microsoft.com/Forums/en/sharepointdevelopment/thread/444fba13-5ece-492b-a9a2-2c393b111694 Please let me know if it workk Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"
Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2010 7:33am

Hi Hemendra, thanks for answering my question. That link helped me a lot. However, I could not get around the following issue: "If you do not specify account credentials, Active Directory uses your ASP.NET Web application's process account." [http://msdn.microsoft.com/en-us/library/ms998360.aspx] The issue is that I did not specify any account credentials, but an error message is showed when I try to sign in: "Unable to establish secure connection with the server (C:\Inetpub\wwwroot\wss\VirtualDirectories\3726\web.config line 120". The login/password are correct. I do not get such error message if I specify my own credential, as I do not have the proper rights I get another error message: "The server could not sign you in. Make sure your user name and password are correct, and then try again.". Here you go the snippet of code from web.config. I would like to say that I just configured the web.config of the Sharepoint application. I mean web.config of SharePoint Central admin site remains the same. <connectionStrings> <add name="ADConnectionString" connectionString="LDAP://192.168.1.48/CN=Users,DC=rootssa,DC=ba,DC=gov,DC=br" /> </connectionStrings> <system.web> <membership defaultProvider="ADMembershipProvider"> <providers> <add name="ADMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString" enableSearchMethods="true" attributeMapUsername="sAMAccountName"/> </providers> </membership> There is a peculiar point: I wrote a simple Webpart to query the Active Directory above. As a result, it worked pretty fine! Thanks in advance.
September 2nd, 2010 6:21pm

IF I understand you correctly the goal is to use AD credentials for SharePoint but have them passed automatically vs. user interaction with the credentail pop, but not using FBA... Reading this sounds like an issue I ran into some time back. Check out this link as a potential fix. http://www.drowningintechnicaldebt.com/GregTate/archive/2010/04/22/sharepoint-ie8-webclient-and-credentials.aspx
Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2010 6:44pm

IF I understand you correctly the goal is to use AD credentials for SharePoint but have them passed automatically vs. user interaction with the credentail pop, but not using FBA... Hi, You misunderstood my issue. I want to have users authenticate themselves by Active Directory (AD), but I do not want to have that login control pop up. Namely, I want to use login.aspx form and AD to have users authenticate themselves. The issue is the authentication process by Active Directory and ASP.NET Web application's process account is not working out. I want to use the ASP.NET account to access AD. Thanks. Ramon.
September 3rd, 2010 7:29pm

Hi, Yes, if you do not specify account credentials to access Active Directory in the “connectionUsername” and “connectionPassword” attributes, your application's process identity is used to access Active Directory. Please make sure that your application's process identity must have sufficient permissions in Active Directory. If you place your user accounts in an Active Directory organizational unit (OU), you can create and use a service account that has only read, write, and delete access on that OU (and, optionally, reset password privilege). If it is not the issue, please check if the account password has expired. Let us know the result if possible. Xue-Mei Chang
Free Windows Admin Tool Kit Click here and download it now
September 8th, 2010 11:49am

BODY { MARGIN: 8px } .LW-yrriRe { FONT: x-small arial } .MsoNormal { MARGIN: 0px } As [1] states, the first step is to Configure SharePoint Central Admin. When I tried to open/login SharePoint Central Admin, I ran into an error page. Thus, I am not able to take such step. I would like to know if there is another way to configure the SharePoint Central Admin, since I am not able to login to it. I suppose that the configurations made in SharePoint Central Admin are stored in a XML file, for instance. Therefore, I will be able to configure it by means of the XML configuration file. [1] - http://blogs.msdn.com/b/solutions/archive/2007/08/27/forms-based-authentication-fba-in-wss-3-0-moss-2007.aspx Thanks.
September 8th, 2010 8:52pm

Is this for an intranet or external site?
Free Windows Admin Tool Kit Click here and download it now
September 8th, 2010 9:22pm

Hi, Could you please tell me the detailed error message when opening Central Admin? This blog has a step-by-step guide which can help you installing AD provider: http://blogs.infosupport.com/blogs/porint/archive/2007/05/07/Step_2D00_by_2D00_Step-guide_2C00_-installing-AD-Provider-on-WSS-v3.aspx Let me know the result.Xue-Mei Chang
September 9th, 2010 5:28am

Hi, I've gotten around the error when opening Central Admin. Now, the issue is just that: it is not possible to authenticate a user/password by specifying neither connectionUsername/connectionPassword[1] nor not specifying any account credentials[2] [1] - <add name="ADMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString" connectionUsername="rootssa\pedro.santana" connectionPassword="sochin" enableSearchMethods="true" attributeMapUsername="sAMAccountName" /> [2] - <add name="ADMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString" enableSearchMethods="true" attributeMapUsername="sAMAccountName" /> There is something peculiar: I wrote a Webpart to authenticate a specific login/password via ActiveDirectory and it worked out. The webpart was deployed in the same web application that I have been struggling to configure. Both Sharepoint Server and AD are in the same intranet. Thanks in advance.
Free Windows Admin Tool Kit Click here and download it now
September 13th, 2010 9:28pm

Hi folks, I could get around the issue by configuring the collection site administrator as the user specified in Web.config providers section. Now, I face another issue: since I configured central admin -> authentication provider-> forms, I am no longer able to open the site in Sharepoint Designer. If I configure it as Windows authentication, I am able to do it. Could someone help me? Thanks.
September 17th, 2010 4:30pm

Configure it for both windows and forms auth - just add the windows Authentication provider.
Free Windows Admin Tool Kit Click here and download it now
September 17th, 2010 4:36pm

Hi folks, I could get around the issue by configuring the collection site administrator as the user specified in Web.config providers section. Now, I face another issue: since I configured central admin -> authentication provider-> forms, I am no longer able to open the site in Sharepoint Designer. If I configure it as Windows authentication, I am able to do it. Could someone help me? Thanks. Besides the issue above, now I've been facing another one: I want to display some components only if the authenticated user has a specific permission level. To this end, I tried the snippet of code below: <SharePoint:SPSecurityTrimmedControl Permissions="AddAndCustomizePages" runat="server"> .... </SharePoint:SPSecurityTrimmedControl> It did not work out. I've already tried lots of permission types. However, I if set the authentication type as Windows instead of AD it works pretty fine. I really need to get around this issue. Thus, could someone help me?
September 22nd, 2010 2:57pm

How can I configure it both windows and forms authentication?
Free Windows Admin Tool Kit Click here and download it now
September 24th, 2010 10:21pm

One way would be to extend the web applicaiton, which results in an alternate access map. This method gives you two different URLs, one using FBA, one using windows auth.
December 16th, 2010 5:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics