diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-08-08 02:41:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:01:33 -0500 |
commit | edca65915afbfde51ab75a27d5ebcb5ab0c85f20 (patch) | |
tree | f9023730f06815f61e7019926bc9c86e474f8bd2 /testprogs | |
parent | c4e5fcc349ae8648e50c5fa893fd3fd47336fed2 (diff) | |
download | samba-edca65915afbfde51ab75a27d5ebcb5ab0c85f20.tar.gz samba-edca65915afbfde51ab75a27d5ebcb5ab0c85f20.tar.bz2 samba-edca65915afbfde51ab75a27d5ebcb5ab0c85f20.zip |
r24273: Fix bug #4817 by <mwallnoefer@yahoo.de>. (Unable to add a computer
from MMC Active Directory Users and Computers).
Windows sets a 14 UCS2 char buffer as the password in this case.
We need to allow random buffers to be accepted as complex passwords,
even if they don't have ASCII upper or lower case characters. (If
half the bytes are > 127, then it's likely a random buffer).
Also make the test match the documented windows behaviour of '3 of the
4 classes: upper, lower, digit, special'.
Andrew Bartlett
(This used to be commit 5ef26a2ba3561580f0a73ee61eb707573cc98cd3)
Diffstat (limited to 'testprogs')
0 files changed, 0 insertions, 0 deletions