Module anopr - for irc services.

Forum home -> General Chat -> View topic

Post

Posted
Rating:
#638 (In Topic #167)
dpr
Avatar
Standard member
Hi,

Idk if this is the correct place for this, but haven't found a correct place and your IRC is empty.  So i was trying to use your plugin for the anope irc services to auth with composr database. But something is not working when i use "identify" it just say "nickname is not registered". I got no error in my #services logs. it will be nice if you have any tips.

thanks. and great job.
Online now: No Back to the top

Post

Posted
Rating:
#639
Avatar
NOTS Staff
Hi there! Not 100% sure what you mean by "#services logs," but if you have Anopr installed, then you should see a number of log messages from "m_composr_authentication" appearing in the logs for anope.service on the machine hosting it. For example, here's output from my server:

root@NOTS-Chat:~# journalctl -u anope.service -b 0 | tail -n 13
Aug 24 00:09:59 NOTS-Chat services[847]: [Aug 24 00:09:59 2021] USERS: dpr!musk@ip-address (musk) disconnected from the network (irc.nerdonthestreet.com)
Aug 29 19:22:10 NOTS-Chat services[847]: [Aug 29 19:22:10 2021] USERS: jacobgkau!jacobgkau@ip-address (Jacob Kauffmann) [24.128.96.26] connected to the network (irc.nerdonthestreet.com)
Aug 29 19:22:11 NOTS-Chat services[847]: [Aug 29 19:22:11 2021] m_composr_authentication: User is trying to authenticate: jacobgkau
Aug 29 19:22:11 NOTS-Chat services[847]: [Aug 29 19:22:11 2021] m_composr_authentication: Output stored in memory: true
Aug 29 19:22:11 NOTS-Chat services[847]: [Aug 29 19:22:11 2021] m_composr_authentication: Output was true, returning a successful authentication.
Aug 29 19:22:11 NOTS-Chat services[847]: [Aug 29 19:22:11 2021] m_composr_authentication: The authentication request has completed.
Aug 29 19:22:11 NOTS-Chat services[847]: [Aug 29 19:22:11 2021] m_composr_authentication: Authentication was successful, returning success for request.
Aug 29 19:22:12 NOTS-Chat services[847]: [Aug 29 19:22:12 2021] m_composr_authentication: Updated email address to jacob@nerdonthestreet.com
Aug 29 19:22:12 NOTS-Chat services[847]: [Aug 29 19:22:12 2021] COMMAND: jacobgkau!jacobgkau@ip-address used IDENTIFY and identified for account jacobgkau
Aug 29 19:22:12 NOTS-Chat services[847]: [Aug 29 19:22:12 2021] USERS: jacobgkau!jacobgkau@ip-address is now identified as jacobgkau
Aug 29 19:22:12 NOTS-Chat services[847]: [Aug 29 19:22:12 2021] m_composr_authentication: Returned a success for user: jacobgkau
Aug 29 19:22:15 NOTS-Chat services[847]: [Aug 29 19:22:15 2021] CHANNEL: create #technology
Aug 29 19:22:15 NOTS-Chat services[847]: [Aug 29 19:22:15 2021] CHANNEL: jacobgkau!jacobgkau@ip-address join #technology
root@NOTS-Chat:~#

If you're not seeing any logging at all, then you probably don't have the Anope module component installed properly. If you are seeing logs, then you might have something in the PHP scripts configured incorrectly– hopefully the logs can help point us in the right direction.
Online now: No Back to the top
1 guest and 0 members have just viewed this.