Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: Stefan on March 25, 2023, 01:35:54 PM

Title: OperServ access denied
Post by: Stefan on March 25, 2023, 01:35:54 PM
Hi,

Im new to this world. but wen i do :
Code: [Select]
OPERSERV LOGIN XXXXXI get:
Code: [Select]
Password accepted
But when I do :
Code: [Select]
/os oper listI get
Code: [Select]
Access denied
My user in anope service.conf
Code: [Select]
oper
{
name = "Klapvogn"
type = "Services Root"
password = "XXXXX"
require_oper = yes
host = "@"
}

What do I do wrong ?

I think I have answered my own question :D

in unrealircd.conf i had
Code: [Select]
oper Klapvogn {
class opers;
mask {
tls yes;
identified yes;
}
password "XXXX!";
operclass netadmin-with-override;
swhois "is a Network Administrator";
vhost netadmin.xxx.pw;
}

I changed the class:
Code: [Select]
oper Klapvogn {
class clients;
mask {
tls yes;
identified yes;
}
password "XXXX!";
operclass netadmin-with-override;
swhois "is a Network Administrator";
vhost netadmin.xxx.pw;
}

Now I can /os oper list
Title: Re: OperServ access denied
Post by: Lord255 on March 25, 2023, 11:02:51 PM
not sure about your answer.
ircd and anope's oper are two different things.
changing class in ircd's class, irrelevant i think.
as an oper you should not use a clients class btw.
Title: Re: OperServ access denied
Post by: PeGaSuS on March 26, 2023, 11:09:12 AM
- In your UnrealIRCd oper block, the mask item is totally wrong. It should look like the following:
Code: [Select]
oper Klapvogn {
class opers;
mask *; /* if you want to permit any IP. */
password "XXXX!";
operclass netadmin-with-override;
swhois "is a Network Administrator";
vhost netadmin.xxx.pw;
}
If you really want to force opers to use TLS and be identified to services before being able to oper-up, just add the following on the oper block (if service are down they can't oper up due to need +r):
Code: [Select]
require-modes "zr";
- On Anope side, your host is also wrong. It should look like the following:
Code: [Select]
oper
{
name = "Klapvogn"
type = "Services Root"
password = "XXXXX"
require_oper = yes
host = "*@*"
}

Cheers