diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-02-04 15:09:10 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-02-07 16:19:15 -0800 |
commit | 63598ff628b874e3d4778939ac6f2b70292c9360 (patch) | |
tree | a772550675fc421b187314716f1c2f0188ae876f /source3/utils/testparm.c | |
parent | fc111c7875e35c846dbe52f7d3dbce75cfc74336 (diff) | |
download | samba-63598ff628b874e3d4778939ac6f2b70292c9360.tar.gz samba-63598ff628b874e3d4778939ac6f2b70292c9360.tar.xz samba-63598ff628b874e3d4778939ac6f2b70292c9360.zip |
param: rename lp function and variable from "encrypted_passwords" to "encrypt_passwords"
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r-- | source3/utils/testparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index afca8f83c46..57f619e456c 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -68,7 +68,7 @@ static int do_global_checks(void) SMB_STRUCT_STAT st; const char *socket_options; - if (lp_security() >= SEC_DOMAIN && !lp_encrypted_passwords()) { + if (lp_security() >= SEC_DOMAIN && !lp_encrypt_passwords()) { fprintf(stderr, "ERROR: in 'security=domain' mode the " "'encrypt passwords' parameter must always be " "set to 'true'.\n\n"); @@ -272,7 +272,7 @@ static int do_global_checks(void) * been written to expect the old password. */ - if(lp_encrypted_passwords()) { + if(lp_encrypt_passwords()) { if(strstr_m( lp_passwd_chat(talloc_tos()), "%o")!=NULL) { fprintf(stderr, "ERROR: the 'passwd chat' script [%s] " |