[isf-wifidog] Generate/Import Users
Benoit Grégoire
bock at step.polymtl.ca
Mer 7 Mar 12:51:08 EST 2007
On Wednesday 07 March 2007, Peter Huetmannsberger wrote:
> Hello,
>
> First of thanks for a great product.
>
> We want to use wifidog as a standalone server for the university campus,
> and I was wondering if there is a way to autocreate the correct encryption
> for the passwords needed in the NoCat passwd file.
>
> Or is there another way to import existing users, that I may have missed?
You could use RADIUS, but then your server wouldn't be standalone.
> What I would like to do, is to simply create a "NoCat" passwd, which can
> be imported into WifiDog, and I don't know what "format" the password
> field has to be in ( I assume it is not plaintext! ;) )
It's a base64 encoded, hexadecimal MD5 hash of the ISO-8859-1 encoded
password, with '==' appended at the end of the base64 result. See the
User::passwordHash() and
convert_nocat_password_hash() fucntions.
Note that the NoCad passwd importer hasn't been used in a while. It may have
minor bugs.
--
Benoit Grégoire
Technologies Coeus inc.
-------------- section suivante --------------
Une pièce jointe non texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: non disponible
Url: http://listes.ilesansfil.org/pipermail/wifidog/attachments/20070307/fa077acd/attachment.pgp
Plus d'informations sur la liste de diffusion WiFiDog