diff options
author | Volker Lendecke <vl@samba.org> | 2009-12-14 18:24:04 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-01-07 11:07:52 +0100 |
commit | 7ba006430f427a1f28300d29a5c045a552d2382c (patch) | |
tree | 5ee26a1e46367dcb5c3662f7c8c4fd3a5dd2d30d /source4/dsdb/samdb | |
parent | ca6c1cdd5faa1c2ff067b53f2ad6b811fe9d79bb (diff) | |
download | samba-7ba006430f427a1f28300d29a5c045a552d2382c.tar.gz samba-7ba006430f427a1f28300d29a5c045a552d2382c.tar.bz2 samba-7ba006430f427a1f28300d29a5c045a552d2382c.zip |
s3: Simplify pdb_set_plaintext_passwd() a bit
Remove an indentation by the early return in
+ if (pwHistLen == 0) {
+ /* Set the history length to zero. */
+ pdb_set_pw_history(sampass, NULL, 0, PDB_CHANGED);
+ return true;
+ }
Diffstat (limited to 'source4/dsdb/samdb')
0 files changed, 0 insertions, 0 deletions