I have a server in the DMZ which I'm trying to authenticate against its local "Administrator" account which is in the Administrators group. The DMZ server is not part of my domain, it's just out there by itself.
Since my computer doesn't know the DMZ server's name I'm using its IP Address. (It's that how it's done?)
On the DMZ server I can run LDP and bind to the local Administrator account using these settings. But,
using either the code above or a web app I can't seem to authenticate.
I don't get an error message other than what's in the properties of the DirectoryEntry which is "Logon
failure: unknown user name or bad password." and also "AcceptSecurityContext error, data 2030, v1db1".
So, if you have a stand-alone DMZ server what do you need to do to remotely authenticate against its
local Administrator account?
johnr2000
Member
20 Points
11 Posts
Authenticate against user on DMZ server
Dec 03, 2012 10:04 PM|LINK
I have a server in the DMZ which I'm trying to authenticate against its local "Administrator" account which is in the Administrators group. The DMZ server is not part of my domain, it's just out there by itself.
From my machine I'm running the code:
DirectoryEntry userEntry = new DirectoryEntry("LDAP://111.12.1.15/DC=mysubdomain,DC=mydomain,DC=com", "Administrator", "myAdminPassword", AuthenticationTypes.ServerBind);
Since my computer doesn't know the DMZ server's name I'm using its IP Address. (It's that how it's done?)
On the DMZ server I can run LDP and bind to the local Administrator account using these settings. But, using either the code above or a web app I can't seem to authenticate.
I don't get an error message other than what's in the properties of the DirectoryEntry which is "Logon failure: unknown user name or bad password." and also "AcceptSecurityContext error, data 2030, v1db1".
So, if you have a stand-alone DMZ server what do you need to do to remotely authenticate against its local Administrator account?
Angie xu - M...
All-Star
18664 Points
1590 Posts
Microsoft
Re: Authenticate against user on DMZ server
Dec 10, 2012 04:35 AM|LINK
Hi johnr
There is a similar thread in IIS Forums, and there are many good tips about server in DMZ remotely authenticate administrator account,
http://forums.iis.net/t/1166682.aspx
Kind regards
Feedback to us
Develop and promote your apps in Windows Store