Author Topic: Unable to create a new account on the local test server  (Read 796 times)

psyche

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Unable to create a new account on the local test server
« on: February 19, 2005, 09:13:42 pm »
This time I have a problem with creating an account on my local test server.

I\'m sure it work perfectly because after I finished the installation, I managed to connect on it with the client (witch was still configured with the \"vengeance\" account). After that, I tried to create a new account (with the newacct command on the server) and to use it but I receave the error message : \"invalid password\". In the database I can see that the account has been created but, strangely the password isn\'t coded as it is for other account.

If anyone has an idea ...

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #1 on: February 19, 2005, 09:26:42 pm »
I will check the new account command in the server code. I believe it is outdated and should not be used.  It\'s probably not doing the md5sum on the password.
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #2 on: February 20, 2005, 11:51:46 am »
I use some part of the newacct code in my \"registration page\" that I have directly inserted in the client.

The function works good, but as you say, it doesn\'t make any big thought over m5d...

Ary
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

psyche

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
(No subject)
« Reply #3 on: February 20, 2005, 02:45:45 pm »
This problem was finally resolved by manualy editing mysql records and using md5(); php function to encode the password.

Maybe it would have been possible to use the php pages in the \"www\" directory in the main path of planeshift too ...

Aerig

  • Hydlaa Resident
  • *
  • Posts: 76
    • View Profile
(No subject)
« Reply #4 on: February 24, 2005, 03:31:41 pm »
I had the same problem. Using the newacct command from the server console does not encrypt the password for the new account.

But, if you set up the web console, it creates accounts correctly