We help IT Professionals succeed at work.
Get Started

Specifying User Password in Active Directory

860 Views
Last Modified: 2012-06-21
First, let me say that while I am experienced in LDAP, I am new to Active Directory.

My problem is that when I try to create a user in Active Directory (Windows Server 2008 R2 Standard) while logged in as an administrator and specifying the unicodePwd attribute (encoded properly with quotes, Unicode, Base64) in an LDIF file using ldifde on port 389, I get an "unwilling to perform" error.  Our outsourcing contractor is having the same issue from a Java program using JNDI.

We have also tried to create the user without the unicodePwd (which is successful), but trying to modify the password using another LDIF with ldifde fails with the same "unwilling to perform."

I understand that Active Directory requires password operations on a secure connection, but I have used dsmgmt to allow password changes on unsecured connections (by using the "allow passwd op on unsecured connection" command).  I have also disabled any password policies.

I then thought that maybe Active Directory requires password operations on a secure connection regardless of the dsmgmt command.  I went through the whole exercise of creating a standalone CA, trusting the CA certificate, creating a server certificate, importing the server certificate, etc, but I am unable to connect to AD using SSL on port 636 using ldp.

I have used the following links as reference:

https://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Q_24521841.html
http://support.microsoft.com/kb/321051/en-us
http://support.microsoft.com/kb/931351
http://social.technet.microsoft.com/Forums/en/windowsserver2008r2general/thread/f3de8600-cf4e-4a39-a42e-7f929e1b8d6d
http://social.technet.microsoft.com/Forums/en-GB/windowsserver2008r2general/thread/c0d13777-3f1b-4805-94a2-ac56f3cecbf3

I'm looking for any suggestions about the creating user problem or getting AD working over SSL.

I'd be glad to answer any questions about my current configuration, but please be very basic about what you want to know and how to get that information.  My background is in Unix, so I may not know what you are referring to unless it comes from a basic viewpoint.  Thanks.
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE