I am trying to run my password change application from a non domain joined machine. The code works fine when run from domain joined machine. So now, I am connecting to the AD with direct LDAP connection via SSL. After changepassword method is invoked, I am getting an error: > [...] read more
I have a Windows 2008 R2 server managing XP SP3 and Windows 7 SP1 clients. There are no issues with the Windows 7 clients. However, on the Windows XP clients, I get errors for power options, scheduled tasks, and shortcuts policies in the "Computer configuration" section of group policy. The [...] read more
We're attempting to change user passwords in Active Directory (we'll use "Jane" as an example user), via a C# ASP.NET 4.5 app, though we're receiving the error below. Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied. (Exception [...] read more
I am creating a webpart in which I am writing a code to change active directory password of the current context user but I am getting this error: > Password couldn't be changed due to restrictions: Configuration information > could not be read from the domain controller, either because the [...] read more
This is suppose to be a basic password change method using DirectoryServices in ASP.NET. The code: String path = ConfigurationManager.AppSettings["LDAPServer"] + myDN; DirectoryEntry de = new DirectoryEntry(path, @"Domain A\" + myUserId, myPassword, AuthenticationTypes.Secure); de.Invoke("ChangePassword", new object[] { myPassword, myNewPassword}); This runs fine if I run locally via virtual IIS (using [...] read more