Authentication service?

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Post Reply
test77298
Posts: 7
Joined: Tue Feb 09, 2021 9:15 pm

Authentication service?

Post by test77298 »

In the documentation for authentications:

/docs/Authentication_types
/docs/Authentication

Only SASL method is alowed? how to store users credentials in local server without install a email server? any documentation?

I try installing cyrus-sasl-plain package on CentOS 7 but no have not luck.

Any documentation or tutorial for install a basic authentication method? by example, a sql database, local files, etc?
Syzop
UnrealIRCd head coder
Posts: 1973
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Authentication service?

Post by Syzop »

The actual authentication of users (via SASL or otherwise) is done by services. When UnrealIRCd receives an authentication request it just hands it over to services, and services basically send a response back if it is OK / not OK.
As you can read in https://www.unrealircd.org/docs/Authent ... w_to_setup

So all accounts are managed in services. Services are explained in https://www.unrealircd.org/docs/Services.
You would have to install a services package, such as anope or atheme. Some of these services can also use external data sources like SQL or LDAP, but.. you would have to consult their documentation or ask in their support channels (it is not our product, so they will know better).
test77298
Posts: 7
Joined: Tue Feb 09, 2021 9:15 pm

Re: Authentication service?

Post by test77298 »

Thanks, this does not help or is not what I need, I will have to look for another software alternative. Thank you.
Lord255
Posts: 67
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: Authentication service?

Post by Lord255 »

lol.
anope supports DB like mysql.. eh. even has ldap support if i remember right.. idk. anyway. suresies. :D
Windigo
Posts: 4
Joined: Wed Feb 10, 2021 2:21 am

Re: Authentication service?

Post by Windigo »

Pretty sure what you're asking is simple and achievable.

You can setup a website with its own user database.
Then, you can setup IRC so that users can authenticate with Services (Anope for example) during connect to your server.
Then, you setup your Anope services to use the SQL database on your website.

This way, you have effectively made your webiste work its own user database and your IRC chat is limited only to those who have registered on your website. I know this was previously explained, but you didn't seem to understand

This method is the same as "store users credentials in local server", except the local server asks local services, which ask your website and then tell the server if they are who they say they are. Then the server says it can come to chat or not, depending on how you want to set it up.

There are other methods of "creating" your users using this method, and I would encourage you to look at https://www.unrealircd.org/docs/Services as Syzop suggested to find out more about Services.
The top one in the list on that page have its own web interface you can choose to use, for user creation, if you do not want to use a website.

There are many optional configurations depending on your needs.
Post Reply