Re: [vchkpw] vpopmail MD5 vs squid MD5

2004-01-07 Thread Oscar Retana M.
I have the same problem with vpopmail encrypted passwords.

Vpopmail works fine... But passwords generated by vpopmail are not 
recognized by any other tool.

I'm checking the code, but if someone has an idea of what's happening...

(vpopmail 5.4.0.rc1)

Thanks.

- Oscar.



[EMAIL PROTECTED] wrote:
I have an RH9 with qmail 1.03, vpopmail 5.3.30, qmailadmin 1.0.29,
openldap 2.0.27, squid 2.5STABLE3-0 and LDAP Browser/Editor 2.8.2
I've managed to connect both vpopmail and squid to openldap. Both can
authenticate the users okay. The problem raises when I tried to
authenticate vpopmail's user into squid. 

When I browse the userlist using LDAP Browser, I find that vpopmail saves
the password in MD5 39Bytes long,
{MD5}$1$qvNMfgHF$/ZsHAjbAHPLALu/MRIj8d., while LDAP Browser saves the
password in MD5 29Bytes long, {MD5}lueSGJZetyySpUndWjMBEg==. Squid can
read the 29Bytes long one, not the 39Bytes long one. Thus vpopmail users
can't authenticate themselves in squid.
Does anybody know how can I synch those two different MD5 password
length?
Thanks,
toblo



Re: [vchkpw] vpopmail MD5 vs squid MD5

2004-01-07 Thread toblo
I found a workaround for this. I disable the MD5 password encryption at
vpopmail (configure --enable-md5-password=n), thus it uses linux crypt
encryption which is recodnized by squid.


- Original message -
From: Oscar Retana M. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Wed, 07 Jan 2004 13:41:24 -0600
Subject: Re: [vchkpw] vpopmail MD5 vs squid MD5

I have the same problem with vpopmail encrypted passwords.

Vpopmail works fine... But passwords generated by vpopmail are not 
recognized by any other tool.

I'm checking the code, but if someone has an idea of what's happening...

(vpopmail 5.4.0.rc1)


Thanks.

- Oscar.



[EMAIL PROTECTED] wrote:
 I have an RH9 with qmail 1.03, vpopmail 5.3.30, qmailadmin 1.0.29,
 openldap 2.0.27, squid 2.5STABLE3-0 and LDAP Browser/Editor 2.8.2
 
 I've managed to connect both vpopmail and squid to openldap. Both can
 authenticate the users okay. The problem raises when I tried to
 authenticate vpopmail's user into squid. 
 
 When I browse the userlist using LDAP Browser, I find that vpopmail saves
 the password in MD5 39Bytes long,
 {MD5}$1$qvNMfgHF$/ZsHAjbAHPLALu/MRIj8d., while LDAP Browser saves the
 password in MD5 29Bytes long, {MD5}lueSGJZetyySpUndWjMBEg==. Squid can
 read the 29Bytes long one, not the 39Bytes long one. Thus vpopmail users
 can't authenticate themselves in squid.
 
 Does anybody know how can I synch those two different MD5 password
 length?
 
 Thanks,
 toblo
 



Re: [vchkpw] vpopmail MD5 vs squid MD5

2004-01-07 Thread Anders Brander
Hi,

On Thu, 2004-01-08 at 02:43, toblo wrote:
 I found a workaround for this. I disable the MD5 password encryption at
 vpopmail (configure --enable-md5-password=n), thus it uses linux crypt
 encryption which is recodnized by squid.

Could you please paste an example of one of those passwords including
cleartext?
(I know you pasted from squid, but please let us see one)

/Anders




Re: [vchkpw] vpopmail MD5 vs squid MD5

2004-01-07 Thread toblo
The userPassword = {crypt}Q07KTu.IGDZho

I disable the clear password, but for the example above it's 111

- Original message -
From: Anders Brander [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 08 Jan 2004 06:27:43 +0100
Subject: Re: [vchkpw] vpopmail MD5 vs squid MD5

Hi,

On Thu, 2004-01-08 at 02:43, toblo wrote:
 I found a workaround for this. I disable the MD5 password encryption at
 vpopmail (configure --enable-md5-password=n), thus it uses linux crypt
 encryption which is recodnized by squid.

Could you please paste an example of one of those passwords including
cleartext?
(I know you pasted from squid, but please let us see one)

/Anders