<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style style="display: none;" id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body tabindex="0" aria-label="Message body" fpstyle="1" dir="ltr">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
Hi,<br>
<br>
Im trying to change password for a user, using ldap, but it hangs. Here is what is done.<br>
<br>
:~$ ldappasswd -h idm.com -ZZ -p 636 -x -D "uid=admin,cn=users,cn=accounts,dc=com" -W -S "uid=test000,cn=users,cn=accounts,dc=com" -d9 -v -A<br>
Old password: <br>
Re-enter old password: <br>
New password: <br>
Re-enter new password: <br>
ldap_initialize( ldap://idm.com:636 )<br>
ldap_create<br>
ldap_url_parse_ext(ldap://idm.com:636)<br>
ldap_extended_operation_s<br>
ldap_extended_operation<br>
ldap_send_initial_request<br>
ldap_new_connection 1 1 0<br>
ldap_int_open_connection<br>
ldap_connect_to_host: TCP idm.com:636<br>
ldap_new_socket: 3<br>
ldap_prepare_socket: 3<br>
ldap_connect_to_host: Trying 10.10.10.10:636<br>
ldap_pvt_connect: fd: 3 tm: -1 async: 0<br>
ldap_open_defconn: successful<br>
ldap_send_server_request<br>
ber_scanf fmt ({it) ber:<br>
ber_scanf fmt ({) ber:<br>
ber_flush2: 31 bytes to sd 3<br>
ldap_result ld 0x7fc7f40de370 msgid 1<br>
wait4msg ld 0x7fc7f40de370 msgid 1 (infinite timeout)<br>
wait4msg continue ld 0x7fc7f40de370 msgid 1 all 1<br>
** ld 0x7fc7f40de370 Connections:<br>
* host: idm01.dap.cfcs.dk  port: 636  (default)<br>
  refcnt: 2  status: Connected<br>
  last used: Wed Jan  6 09:29:43 2016<br>
<br>
<br>
** ld 0x7fc7f40de370 Outstanding Requests:<br>
 * msgid 1,  origid 1, status InProgress<br>
   outstanding referrals 0, parent count 0<br>
  ld 0x7fc7f40de370 request count 1 (abandoned 0)<br>
** ld 0x7fc7f40de370 Response Queue:<br>
   Empty<br>
  ld 0x7fc7f40de370 response count 0<br>
ldap_chkResponseList ld 0x7fc7f40de370 msgid 1 all 1<br>
ldap_chkResponseList returns ld 0x7fc7f40de370 NULL<br>
ldap_int_select<br>
<br>
It works when using kpasswd, but not ldappasswd. Any suggestions?<br>
<br>
Cheers<br>
Emil<br>
</div>
</body>
</html>