samba-2.2.0-alpha0 rpcclient problem with clear-text passwords
SANDFORT,PAT (HP-Boise,ex1)
pat_sandfort at hp.com
Thu Nov 16 17:27:23 GMT 2000
Hi,
The rpcclient tool delivered with 2.2.0-alpha0 does not support clear-text
passwords. I discovered this problem while checking out the imprints tool.
Following is the output of diff -u for the changes I made to add support:
diff -u lib/cmd_interp.c.new lib/cmd_interp.c.orig
< if (lp_encrypted_passwords())
< pwd_make_lm_nt_16(&(u->pwd), password);
< else
< pwd_set_cleartext(&(u->pwd), password);
<
---
> pwd_make_lm_nt_16(&(u->pwd), password);
666c662
< pwd_read(&(u->pwd), "Enter Password:",
lp_encrypted_passwords());
---
> pwd_read(&(u->pwd), "Enter Password:", True);
Pat Sandfort
HP - LaserJet R&D
More information about the samba-technical
mailing list