Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] single player and authenticating servers
Home

[Freeciv-Dev] single player and authenticating servers

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] single player and authenticating servers
From: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 9 Aug 2004 22:55:45 -0500

I have a problem with client authentication and single-player mode
(conndlg). If the server is authenticating, then when the client forks a
server and attempts to connect to it, the server will naturally ask for a
password. This is a problem, and currently the client falls over.

I needs suggestions as to a fix. I have a couple in mind:

1. The connectdlg always logs a player in as "guest" This avoids the 
   password problems, but the drawbacks are that the user is "guest" in
   savegames and the like. Also, if the server has been compiled to 
   reject "guest" users (certainly rare), then this is all for naught.

2. Add a commandline switch to the server that disables authentication.
   This is a better solution, but kinda kludgy. It also might possibly be
   useful in its own right, but doubtful. I don't know what to name the 
   switch. suggestions for this.

3. ? ... More elegant suggestions solicited.

-mike


[Prev in Thread] Current Thread [Next in Thread]