Outils pour utilisateurs

Outils du site


en:suckerserv:auth

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
en:suckerserv:auth [2011/09/11 14:09] – Added :admin and replaced Hopmod with SuckerServ piernoven:suckerserv:auth [2014/10/26 22:28] (Version actuelle) – [SuckerServ] piernov
Ligne 1: Ligne 1:
-====== Auth with SuckerServ-v4 ====== +====== Auth with SuckerServ-v5 ====== 
-Because Authserver isn't included anymore in SuckerServ-v4, you'll need to checkout the suckerserv-v3 repository, or use MasterLua (new Master/Auth server, not described here):+Because Authserver isn't included anymore in SuckerServ-v5, you'll need to checkout the suckerserv-v3 repository, or use MasterLua (new Master/Auth server, not described here):
 <code bash> <code bash>
 svn co http://suckerserv.googlecode.com/svn/branches/suckerserv-v3 svn co http://suckerserv.googlecode.com/svn/branches/suckerserv-v3
Ligne 35: Ligne 35:
 ==== SuckerServ ==== ==== SuckerServ ====
 === Auth.lua === === Auth.lua ===
-Add an ''auth.lua'' file in the conf/ directory of your SuckerServ installation if there's not one already, with the following :+Add an ''auth.lua'' file in the conf/ directory of your SuckerServ installation if there's not one already, with the following :\\ 
 +**WARNING:** Don't use `localhost` as hostname since it's broken. Use `127.0.0.1` instead.
 <code lua auth.lua> <code lua auth.lua>
 auth.directory.server{ auth.directory.server{
     id = "suckerserv",     id = "suckerserv",
-    hostname = "localhost",+    hostname = "127.0.0.1",
     port = 28787     port = 28787
 } }
Ligne 111: Ligne 112:
 <code bash>authkey "the_admin" "private_key" "suckerserv:admin"</code> <code bash>authkey "the_admin" "private_key" "suckerserv:admin"</code>
 And in the server: And in the server:
-<code bash>./bin/authserver manage user add "the_user" "localhost:admin" "public_key"</code>+<code bash>./bin/authserver manage user add "the_user" "suckerserv:admin" "public_key"</code>
 Remember, an authkey is unique, so don't loose it, and create one for each user. Remember, an authkey is unique, so don't loose it, and create one for each user.
 ==== Restart the authserver ==== ==== Restart the authserver ====
en/suckerserv/auth.1315742946.txt.bz2 · Dernière modification : 2014/05/31 00:26 (modification externe)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki