3.3.4.5.8.4 Bad Password Error

If the client sends a request with the NewPassword element that does not meet the password policy ([MS-SAMR] section 3.1.1.7.1), then the server MUST return a SOAP fault with a SetPasswordFault fault subcode.

For AD DS, the fault detail SHOULD be as specified in the following table.

Field

Value

[Code]

soapenv:Sender

[Subcode]

SetPasswordFault

[Action]

http://schemas.microsoft.com/2008/1/ActiveDirectory/Data/fault

[Reason]

 Active Directory returned an error processing the operation.

[Detail]

 <soapenv:Detail>
     <ChangePasswordFault
       xmlns="http://schemas.microsoft.com/2008/1/ActiveDirectory/CustomActions"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <ArgumentError xsi:nil="true"></ArgumentError>
       <DirectoryError>
         <ErrorCode>53</ErrorCode>
         <ExtendedErrorMessage>...</ExtendedErrorMessage>
         <MatchedDN>...</MatchedDN>
         <Message>...</Message>
         <Referral   xmlns:b=http://schema.microsoft.com/2003/10/Serialization/Arrays></Referral>
         <ShortMessage>...</ShortMessage>
         <Win32ErrorCode>8245</Win32Errorcode>
       </DirectoryError>
       <Error i:nil="true"></Error>
       <ShortError i:nil="true"></ShortError>
     </ChangePasswordFault>
 </soapenv:Detail>

For AD LDS, the fault detail SHOULD be as specified in the following table.

Field

Value

[Code]

soapenv:Sender

[Subcode]

SetPasswordFault

[Action]

http://schemas.microsoft.com/2008/1/ActiveDirectory/Data/fault

[Reason]

 Active Directory returned an error processing the operation.

[Detail]

 <soapenv:Detail>
     <ChangePasswordFault
       xmlns="http://schemas.microsoft.com/2008/1/ActiveDirectory/CustomActions"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <ArgumentError xsi:nil="true"></ArgumentError>
       <DirectoryError>
         <ErrorCode>19</ErrorCode>
         <ExtendedErrorMessage>...</ExtendedErrorMessage>
         <MatchedDN>...</MatchedDN>
         <Message>...</Message>
         <Referral   xmlns:b=http://schema.microsoft.com/2003/10/Serialization/Arrays></Referral>
         <ShortMessage>...</ShortMessage>
         <Win32ErrorCode>8239</Win32Errorcode>
       </DirectoryError>
       <Error i:nil="true"></Error>
       <ShortError i:nil="true"></ShortError>
     </ChangePasswordFault>
 </soapenv:Detail>

Show: