samba-2.2.0-alpha0 rpcclient problem with clear-text passwords

Gerald Carter gcarter at valinux.com
Thu Nov 16 19:54:12 GMT 2000


Thanks Pat.

I'll follow up on this and get it fixed in HEAD




Cheers, jerry

"SANDFORT,PAT (HP-Boise,ex1)" wrote:
> 
> 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

-- 
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )




More information about the samba-technical mailing list