wso2is - Update user password methods breaks in external Read Write LDAP mode of WSO2 Identity Server -
i using external apacheds ldap wso2 is. can update user password via management console well. works fine. tried use useradmin service this. used changepasswordbyuser method in that. have consumed service using soapui. can send first update request fine. looked @ ldap , update succeeded. can log in management console using updated password.
when tried update second time onwards using updated password, sends response,
<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:body> <soapenv:fault> <faultcode>soapenv:server</faultcode> <faultstring>can not access directory service</faultstring> <detail> <ns:useradminuseradminexception xmlns:ns="http://org.apache.axis2/xsd"> <useradminexception xsi:type="ax2627:useradminexception" xmlns="http://org.apache.axis2/xsd" xmlns:ax2627="http://common.mgt.user.carbon.wso2.org/xsd" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"> <ax2627:message>can not access directory service</ax2627:message> </useradminexception> </ns:useradminuseradminexception> </detail> </soapenv:fault> </soapenv:body> </soapenv:envelope>
audit logs says,
[2014-05-29 16:32:53,078] info - 'demotest@carbon.super [-1234]' logged in @ [2014-05-29 16:32:53,077+0000] [2014-05-29 16:32:53,204] info - initiator : demotest@carbon.super | action : change password user | target : demotest@carbon.super | data : { } | result : failed
no other exception in logs :( can me solved?
found problem! ldap not allowing password set values used in reason history. need disable that. that's why admin service has failed. can use ads-pwdinhistory property in apacheds this.
Comments
Post a Comment