I have a semi-closed system of 1500 users that I would like to offer IRC services to - but only if they authenticate against a custom MySQL table entry.
I'd like to call a perl script that will do the lookup of a given identity & password pair, and return a 0 exit code for success, and a non-zero code for failure to authenticate.
So my question to the ngIRCd community & author is whether there are plans, or interest in an authentication hook being added. And, whether this kind of approach would be incompatible with standards-compliant IRC clients.
Thanks!
Glen Stewart root@associate.com wrote:
So my question to the ngIRCd community & author is whether there are plans, or interest in an authentication hook being added.
I for one am interested in such a hook. I have a 500 people registered user base in a mysql table and would like them to use their logins to get their user name on the server. Everybody else may join but shouldn't be able to use a name that is in the mysql table. Well... that's what I dream about. Can't say it wouldn't run smoothly without such a feature ;-)
Yours, Jens
Hello Glen!
Am 19.01.2007 um 02:04 schrieb Glen Stewart:
So my question to the ngIRCd community & author is whether there are plans, or interest in an authentication hook being added. And, whether this kind of approach would be incompatible with standards-compliant IRC clients.
There are plans to add an "authentication daemon" interface to the ngIRCd. I'm already working on this, but don't expect results to early due to lack of time on my side :-/
The idea is to let ngIRCd call this "authd" each time a user connects (after USER/NICK/PASS commands) and to let this daemon decide whether this client is allowed to connect or not. The "authd" could be implemented to use PAM, do SQL requests directly or whatever. The "authd" interface will be fairly simple -- in my dreams ;-)
Regards Alex