Ldap – 389 directory server error “Operation requires a secure connection”

389-dsdirectoryldap

I have installed a directory server but I can't change the password of user. I have used this command:

[root@xxxx]# ldappasswd -x -D
"cn=directory manager" -W
"uid=xxxxx,ou=xxxx,dc=xxx,dc=xx" -S

New password:

Re-enter new password:

Enter LDAP Password:

Result: Confidentiality required (13)

Additional info: Operation requires a
secure connection.

Important: This command works on OpenLDAP, I've already tested!
Where is the error?

Thanks in advance!

Best Answer

Read the documentation on the product. It appears that by default is does require security. That is a difference between 389 and OpenLDAP. If they were supposed to be exactly the same, then no one would have bothered forking 389 off into a different project, right?

Edit -

Despite your protestation below, "Read the documentation" is a great answer, and it's clear that you didn't. The end of this page explicitly tells you that you must use TLS with ldappasswd

This operation supports Start TLS encryption (-ZZ[Z]), and you must use a secure connection for the password change operation.

Related Topic