File pam_ldap-chauthtok-errcode.dif of Package pam_ldap

Index: pam_ldap-184/pam_ldap.c
===================================================================
--- pam_ldap-184.orig/pam_ldap.c
+++ pam_ldap-184/pam_ldap.c
@@ -3264,7 +3264,7 @@ _update_authtok (pam_handle_t *pamh,
 	{
 	  syslog (LOG_ERR, "pam_ldap: ldap_extended_operation_s %s",
 		  ldap_err2string (rc));
-	  rc = PAM_PERM_DENIED;
+	  rc = PAM_AUTHTOK_ERR;
 	}
       else
 	{