Randall

Thank you for your suggestion, it hit the nail on the head.

For anyone else who may have an interest I simply changed the system call
`bigcrypt` to `cypt16` in the OSF1 area of pop_pass.c as this is what Tru64 Unix
uses. At least v5.0A does, I have no idea when OSF made the change (refer
amended code below).

Marchelm

=== OLD ===
    if ( strcmp ( bigcrypt ( p->pop_parm[1], pw->pw_passwd ), pw->pw_passwd ) &&
         strcmp ( crypt    ( p->pop_parm[1], pw->pw_passwd ), pw->pw_passwd )  )
{
        sleep  ( SLEEP_SECONDS );
        return ( pop_msg ( p, POP_FAILURE, HERE, ERRMSG_PW, p->user ) );
    }

=== NEW ===
    if ( strcmp ( crypt16 ( p->pop_parm[1], pw->pw_passwd ), pw->pw_passwd ) &&
         strcmp ( crypt    ( p->pop_parm[1], pw->pw_passwd ), pw->pw_passwd )  )
{
        sleep  ( SLEEP_SECONDS );
        return ( pop_msg ( p, POP_FAILURE, HERE, ERRMSG_PW, p->user ) );
    }


Randall Gellens wrote:
> 
> Qpopper does have code to check long passwords.  See the various
> auth_user() functions in pop_pass.c; these are customized for the
> vagaries of each platform.  You may need to adjust the special-auth
> setting (this is normally figured out by ./configure, but it may be
> unable to do so on your system) or the auth_user() for your system
> may need to be updated.
> 
> --
> Randall Gellens
> Opinions are personal;    facts are suspect;    I speak for myself only
> -------------- Randomly-selected tag: ---------------
> On a clear disk you can seek forever.
begin:vcard 
n:Bomers ;Marchelm
tel;fax:<BR>51226719 or 99026719<BR><BR>
tel;work:<BR>(03) 51226963&nbsp&nbsp&nbsp- Local<BR>(03) 99026963&nbsp&nbsp&nbsp- National<BR>+61 3 99026963 - International<BR><BR>0408390813&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp - Mobile<BR><BR>
x-mozilla-html:FALSE
org:Client Services - Gippsland Campus;<BR><A HREF=http://www.its.monash.edu.au><IMG SRC=http://www.monash.edu.au/assets/monash_logo.gif BORDER=0></A><BR><BR>
adr:;;<BR>Northways Rd., Churchill<BR>Victoria 3842<BR>AUSTRALIA;;;;
version:2.1
title:Technology Services Coordinator
x-mozilla-cpt:;-24016
fn:Marchelm B�mers
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to