windows-authentication

Does this require windows delegation to be enabled for server service account?

好久不见. 提交于 2019-12-12 02:29:56
问题 I have a client console application which has got some user credentials - domain\user and plain-text password. The client app obtains windowsidentity object for that user by invoking LogonUser (dwLogonType:LOGON32_LOGON_NETWORK) win32 API. I use windowsidentity to impersonate and make WCF Service call (hosted on different machine). The WCF Service is configured to use TCP protocol with windows integrated security. The call fails with SecurityNegotiation exception with error: The remote server

Authenticate Windows Authentication using Javascript

不羁的心 提交于 2019-12-12 02:22:50
问题 I have to transfer my client from one website to another website. This happens in client side. In this 2nd website, its using windows basic authentication system. So It popups the login window. I need to omit this Popup window and authenticate my client on 2nd website using javascript and then redirect him to 2nd website. There is no security issue even I put credentials in javascript file since this whole system is running in Intranet. So How to authenticate client on 2nd website ? I found

Windows Authentication between 2 domains without trust

大兔子大兔子 提交于 2019-12-12 00:51:02
问题 We have asp.net web application running on Domain A with working Windows Authentication. Our customer now wants to authenticate users from Domain B to this website, but we are not allowed to have trust between Domain A and Domain B. Windows Authentication is not required for the users from Domain B, but Windows Authentication for Domain A should still work. Does anyone know if this is possible to do? We are using .net framework 4.0. 回答1: what about creating restricted accounts in the domain A

WCF request works from windows forms but not windows service

佐手、 提交于 2019-12-11 23:55:12
问题 My WCF service is installed as a windows service configured to use NETTCP binding. I did not do anything special other than importing the service definition, making the client and calling the function. When I call the WCF service from a windows forms application , I am able to send requests normally. But when I run the same code inside a windows service running as Local System , I get " The service does not allow you to log on anonymously. " warning and a " socket connection aborted " in the

Setting up Bonobo 5.0.0 with Windows authentication

元气小坏坏 提交于 2019-12-11 23:04:22
问题 I'm trying to install Bonobo 5.0.0 on Windows 7 + IIS 7.5 with Windows authentication. When I go to the homepage ( http://domain/bonobo ), I'm prompted for my Windows username/password and after that it redirects back to the root to look for a route called windowsAuthCallback: http://domain/windowsAuthCallback?id=xxx Obviously this gives me a 404 error. I have authentication set to 'anonymous' in IIS and 'Windows' in the Bonobo web.config and I'm not sure what I'm doing wrong. UPDATE Not sure

Site with Windows authentication - sometimes gives password prompt

我只是一个虾纸丫 提交于 2019-12-11 21:19:05
问题 I have a local site (IIS6, although similar issue with a totally different site using IIS5.1) which uses integrated windows authentication, from what I can tell - using IE7 if a user enters the URL into the address bar, everything works OK and the user is logged in automatically. However, if the user clicks on a hyperlink within an e-mail (using Outlook), the site opens but the user gets a login prompt - when details are entered everything then works fine. Can anyone explain why this is the

Configuration error

…衆ロ難τιáo~ 提交于 2019-12-11 20:14:10
问题 Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error: Line 24: ASP.NET to

Windows Authentication Initialization ASP.net

半城伤御伤魂 提交于 2019-12-11 19:49:23
问题 In a ASP.net WebForms project, we currently use Forms Authentication, but the client wishes to use Windows Authentication instead. So I've changed the web.config to use Windows authentication. However, the application needs some user input and put in into a session before any webpage can be accessed. We currently do this in the postback of the loginpage. Since Windows authentication does not have a 'Login' page, how can this be achieved? Should I check on every page it's On_Init event if the

Configure Tomcat for Kerberos and Impersonation

守給你的承諾、 提交于 2019-12-11 19:30:09
问题 I would like to configure Tomcat to be able to connect to AD and authenticate users accordingly. In addition, I would also like to invoke some web services (in this case, Share Point) using the client credentials. So far, I've managed to successfully configure Tomcat to use SPNEGO authentication, as described in the tutorial at http://tomcat.apache.org/tomcat-7.0-doc/windows-auth-howto.html. Note that I have used Tomcat's SPNEGO authentication (not Source Forge's or Waffle). I did not use

Cannot get a user via Windows Authentication: “A specified logon session does not exist. It may already have been terminated.”

妖精的绣舞 提交于 2019-12-11 18:16:30
问题 I use the following code to get a users name in C#. It works perfectly fine on my computer, but as soon as I deploy it to a server it breaks with the error message: "A specified logon session does not exist. It may already have been terminated." private bool isUserAuthenticated() { return System.Web.HttpContext.Current.User.Identity.IsAuthenticated; } private string getUserName() { return System.Web.HttpContext.Current.User.Identity.Name; } My web.config file (excerpt): <system.web>