Page 1 of 1

MySQL Backed User Auth

Posted: Tue Nov 07, 2006 4:03 pm
by manfred
Hi,

what i want is a MySQL Backed User Authentification. Lets say a user registers on a website and uses this Account (username/Password) to connect to UnrealIRCD.

I setup UnrealIRCD + Eggdrop and TCL + TCLMySQL on Linux.

I`d like to know in generel what you think is the best way of doing this.
What I know now is that you can use a UserAuth tcl script, right?

Another way that came into my mind is:
- Recreate the i-line (allow-block) from an external script and then rehash the server each time a new user registered. Thats probably crap?

The server is very much restricted. f.e. the channels are defined.

What is the most common way of doing this?

Thanks
Manfred

SQLMod

Posted: Tue Nov 07, 2006 4:37 pm
by Syzop
My SQLMod module does exactly this (all in the ircd).
It includes channel auth as well, which is perfect if channels are run by staff and such ;).

A cheaper alternative is SQLAuth which is less advanced (does not have channel auth, does not nicely prompt users for their password if no password was specified, ..), but this might be sufficient for you.

Posted: Tue Nov 07, 2006 7:40 pm
by manfred
Thats what vonitsanet (#unreal-support) already told me about and I answered that I prefer doing it myself instead of buying some piece of code.
Hmmm... Now I had a second look at it and it looks promising. If I do not manage to find another way I will come back to you. Meanwhile I will play with anope and tclmysql scripts and see what I can do with it.
Regards Manfred

Posted: Tue Nov 07, 2006 7:59 pm
by Syzop
Ok ;p

SQLMod

Posted: Tue Nov 07, 2006 9:50 pm
by manfred
Hi Syzop,

can you contact me at [removed] please?

Thanks
Manfred