Issue [1247] Password policy check and password encoding performed for internal and synchronization operations.
The previous commit eliminated password policy evaluation (including password encoding) for internal operations. Apparently, that is wrong, so restore it, but leave the exclusion of pwp processing for synchronization operations.
| | |
| | | break addProcessing; |
| | | } |
| | | |
| | | // If it's not an internal or synchronization operation, then check |
| | | // If it's not a synchronization operation, then check |
| | | // to see if the entry contains one or more passwords and if they |
| | | // are valid in accordance with the password policies associated with |
| | | // the user. Also perform any encoding that might be required by |
| | | // password storage schemes. |
| | | if (! (isInternalOperation() || isSynchronizationOperation())) |
| | | if (! isSynchronizationOperation()) |
| | | { |
| | | // FIXME -- We need to check to see if the password policy subentry |
| | | // might be specified virtually rather than as a real |