diff options
author | Volker Lendecke <vl@samba.org> | 2009-12-14 18:13:28 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-01-07 11:07:52 +0100 |
commit | ca6c1cdd5faa1c2ff067b53f2ad6b811fe9d79bb (patch) | |
tree | d1f7500efaa49ad0384af9249490854246241b6b /source3/utils/net_registry.c | |
parent | 3d8394986a8fc1df599a2496b0677ece354f35b3 (diff) | |
download | samba-ca6c1cdd5faa1c2ff067b53f2ad6b811fe9d79bb.tar.gz samba-ca6c1cdd5faa1c2ff067b53f2ad6b811fe9d79bb.tar.bz2 samba-ca6c1cdd5faa1c2ff067b53f2ad6b811fe9d79bb.zip |
s3: Simplify pdb_set_plaintext_passwd() slightly
No functional change, this just removes an indentation level by the early
"return True;" in
+ if ((pdb_get_acct_ctrl(sampass) & ACB_NORMAL) == 0) {
+ /*
+ * No password history for non-user accounts
+ */
+ return true;
+ }
Volker
Diffstat (limited to 'source3/utils/net_registry.c')
0 files changed, 0 insertions, 0 deletions