Luke Kenneth Casson Leighton
lkcl at switchboard.net
Sat Mar 6 23:54:43 GMT 1999
> with do_encrypt being false, the password is set using
> pwd_set_cleartext instead of pwd_make_lm_nt_16.
> Fix 1: Change the flag
> --- rpcclient.c.orig Sat Mar 6 14:54:04 1999
> +++ rpcclient.c Sat Mar 6 14:54:20 1999
> @@ -747,7 +747,7 @@
> - pwd_read(&(smb_cli->pwd), "Enter Password:", False);
> + pwd_read(&(smb_cli->pwd), "Enter Password:", True);
thx, this was some testing i was going.
> I supplied the second fix cuz I like the idea of crypting the password
> through the same paths no-matter where it came from.
the idea of the pwd_cache structure / routines is that it's a black-box
container. why i have not created a pwd_xxx routine to call either
null_pwd() or make_lm_nt_16() i do not know.
More information about the samba-technical