Re: Auth - usernames not unique

From: Date: Tue, 07 Dec 2004 00:18:47 +0000
Subject: Re: Auth - usernames not unique
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16070@lists.php.net to get a copy of this message
On Tue, 7 Dec 2004 01:25:07 +0100, Alexander Petri <alex.petri@gmx.de> wrote: > no - i got a list of given usernames (with passwords) > the usernames are i.e. lastnames, or other shortnames - which are in some > cases the same > i.e. > ID: 1 USR:smith PWD: 12345 > ID: 7 USR:smith PWD: abced > they are all differen REAL persons > > i dont have the posibility to change those names... > but i want make life easy to me, so i want use AUTH ... > Well, it's not advisable to have multiple users with the same username. I suggest you change the overall system to not have duplicated usernames as this is very likely to cause you undue grief. > "Bertrand Gugger" <bertrand@toggg.com> schrieb im Newsbeitrag > news:41B4F3CE.1040905@toggg.com... > > Alexander Petri wrote: > > > > >is there an option or workaround in auth where username doesnt have to be > > >unique? > > > > > >i mean only the combination of username and password has to be unique > > >that means only the password has to be unique > > > > > > > > What is unique ? > > Do you mean within one application, > > many users have same name, so only password make a difference ? > > It's a puzzle or at least can lead to very funny stuff. > > Or is it you know username and like to try a few passes ? > > That's also puzzling. > > > > >in my table there is an PKey (autoincrement) for identifiing the real > > >user... > > > > > > > > > > > I'm not a number, or give it to me. > > Bye. > > -- > > bertrand Gugger (toggg) > -- Justin Patrin

« previous php.pear.general (#16070) next »