diff options
Diffstat (limited to 'source/libsmb/pwd_cache.c')
-rw-r--r-- | source/libsmb/pwd_cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/libsmb/pwd_cache.c b/source/libsmb/pwd_cache.c index 45fb00e6e16..dde5a02ead2 100644 --- a/source/libsmb/pwd_cache.c +++ b/source/libsmb/pwd_cache.c @@ -132,7 +132,7 @@ void pwd_set_cleartext(struct pwd_info *pwd, char *clr) { pwd_init(pwd); fstrcpy(pwd->password, clr); - unix_to_dos(pwd->password,True); + unix_to_dos(pwd->password); pwd->cleartext = True; pwd->null_pwd = False; pwd->crypted = False; @@ -146,7 +146,7 @@ void pwd_get_cleartext(struct pwd_info *pwd, char *clr) { if (pwd->cleartext) { fstrcpy(clr, pwd->password); - dos_to_unix(clr, True); + dos_to_unix(clr); } else { clr[0] = 0; } @@ -198,7 +198,7 @@ void pwd_make_lm_nt_16(struct pwd_info *pwd, char *clr) pwd_init(pwd); pstrcpy(dos_passwd, clr); - unix_to_dos(dos_passwd, True); + unix_to_dos(dos_passwd); nt_lm_owf_gen(dos_passwd, pwd->smb_nt_pwd, pwd->smb_lm_pwd); pwd->null_pwd = False; |