[ic] New Account problem

Mike Heins mikeh@minivend.com
Wed, 21 Feb 2001 12:52:51 -0500


Quoting tamas.kohegyi@unforgettable.com (tamas.kohegyi@unforgettable.com):
> Hi,
> 
> I have some problem with the new account action. (Interchange 4.6.3) I
> created a new catalog, then modified the catalog.cfg to encrypt passwords at
> the userdb. (userdb recreated)
> 
> 
> When I ceate a new account, interchange creates it but it is not able to log
> in and the following error message appears:
> 
> Cannot log in after new account creation: Password mismatch. 
> 
> What could be the problem? How to search/solve it? The new account actually
> ceated, because after this I can log in normally.

Bug. It is updated in stable and dev CVS, or you can apply this patch:

RCS file: /anon_cvs/repository/interchange/lib/Vend/UserDB.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -r1.15 -r1.16
3c3
< # $Id: UserDB.pm,v 1.15 2000/11/28 19:27:10 zarko Exp $
---
> # $Id: UserDB.pm,v 1.16 2001/02/21 17:51:19 heins Exp $
11c11
< $VERSION = substr(q$Revision: 1.15 $, 10);
---
> $VERSION = substr(q$Revision: 1.16 $, 10);
1076c1076
< 				$self->{PASSWORD} = crypt(
---
> 				$pw = crypt(
1100c1100
< 						$self->{PASSWORD}
---
> 						$pw,


-- 
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>

Friends don't let friends use Outlook. -- Bob Blaylock