diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-12-19 08:18:57 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-12-19 08:18:57 +1100 |
commit | ff98d7f9ce1213aeff3d196d8f415303974ffd77 (patch) | |
tree | dc9d54a519913705c1c80ead211bf206554dc5b8 /source3/lib/util_reg.c | |
parent | 21702bfcdece4e71dcb4ab50e111911a5777f9a5 (diff) | |
download | samba-ff98d7f9ce1213aeff3d196d8f415303974ffd77.tar.gz samba-ff98d7f9ce1213aeff3d196d8f415303974ffd77.tar.bz2 samba-ff98d7f9ce1213aeff3d196d8f415303974ffd77.zip |
Fix failures setting a random password
The test in extract_pw_from_buffer was incorrect: It tested if the
first byte of the new password was 0 (a 1/256 chance for the random
passwords), not if the password was allocated.
Andrew Bartlett
Diffstat (limited to 'source3/lib/util_reg.c')
0 files changed, 0 insertions, 0 deletions