MySQL Backed User Auth

These are old archives. They are kept for historic purposes only.
Post Reply
manfred
Posts: 3
Joined: Tue Nov 07, 2006 3:54 pm

MySQL Backed User Auth

Post by manfred » Tue Nov 07, 2006 4:03 pm

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

Syzop
UnrealIRCd head coder
Posts: 1938
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

SQLMod

Post by Syzop » Tue Nov 07, 2006 4:37 pm

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.

manfred
Posts: 3
Joined: Tue Nov 07, 2006 3:54 pm

Post by manfred » Tue Nov 07, 2006 7:40 pm

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

Syzop
UnrealIRCd head coder
Posts: 1938
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop » Tue Nov 07, 2006 7:59 pm

Ok ;p

manfred
Posts: 3
Joined: Tue Nov 07, 2006 3:54 pm

SQLMod

Post by manfred » Tue Nov 07, 2006 9:50 pm

Hi Syzop,

can you contact me at [removed] please?

Thanks
Manfred

Post Reply