Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: nicola on April 02, 2021, 03:21:22 PM

Title: UnrealIRCd 5.0.1 + Anope 2.0.9 -OperServ- Problem
Post by: nicola on April 02, 2021, 03:21:22 PM
Hello

OperServ I believe it accepts the password but I don't have access to all commands

Code: [Select]
-OperServ- Password accepted.
-OperServ- OperServ commands:
-OperServ-     HELP           Displays this list and give information about commands
-OperServ-     LOGIN          Login to OperServ
-OperServ-     LOGOUT         Logout from OperServ

HostServ:

Code: [Select]
-HostServ-     GROUP          Syncs the vhost for all nicks in a group
-HostServ-     HELP           Displays this list and give information about commands
-HostServ-     OFF            Deactivates your assigned vhost
-HostServ-     ON             Activates your assigned vhost
-HostServ-     REQUEST        Request a vHost for your nick

Services.conf:

Code: [Select]
oper
{
/* The nickname of this services oper */
name = "nico"

/* The opertype this person will have */
type = "Services Root"

/* If set, the user must be an oper on the IRCd to gain their Services
* oper privileges.
*/
require_oper = yes

My whois and MODE :

Code: [Select]
* [nico] is an IRC Operator (nico) [netadmin]
* [nico] is using a Secure Connection
* [nico] is using an IP with a reputation score of 466
* [nico] is a Network Administrator
* [nico] is logged in as nico

Code: [Select]
* +iowrsxzt
* +kcfvGqSsob :Server notice mask

Thanks in advance!
Title: Re: UnrealIRCd 5.0.1 + Anope 2.0.9 -OperServ- Problem
Post by: wilco on April 02, 2021, 04:30:28 PM
did you add an oper block for your nick in services.conf ?
Title: Re: UnrealIRCd 5.0.1 + Anope 2.0.9 -OperServ- Problem
Post by: nicola on April 02, 2021, 04:36:33 PM
must add here?

Code: [Select]
oper
{
name = "nick2"
type = "Services Administrator"
}


Title: Re: UnrealIRCd 5.0.1 + Anope 2.0.9 -OperServ- Problem
Post by: wilco on April 02, 2021, 04:47:00 PM
try:

oper {
   name = "nick2"
   type = "Services Root"
}
Title: Re: UnrealIRCd 5.0.1 + Anope 2.0.9 -OperServ- Problem
Post by: wilco on April 02, 2021, 04:48:18 PM
https://github.com/anope/anope/blob/2.0/data/example.conf#L818-L882
Title: Re: UnrealIRCd 5.0.1 + Anope 2.0.9 -OperServ- Problem
Post by: nicola on April 02, 2021, 04:55:00 PM
do you need to change here?

Code: [Select]
#oper
{
/* The nickname of this services oper */
#name = "nick1"

/* The opertype this person will have */
type = "Services Root"

/* If set, the user must be an oper on the IRCd to gain their Services
* oper privileges.
*/
require_oper = yes

/* An optional password. If defined, the user must login using "/OPERSERV LOGIN" first */
#password = "secret"

/* An optional SSL fingerprint. If defined, it's required to be able to use this opertype. */
#certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7"

/* An optional list of user@host masks. If defined the user must be connected from one of them */
#host = "*@*.anope.org ident@*"

/* An optional vHost to set on users who identify for this oper block.
* This will override HostServ vHosts, and may not be available on all IRCds
*/
#vhost = "oper.mynet"
}

#oper
{
name = "nick2"
type = "Services Administrator"
Title: Re: UnrealIRCd 5.0.1 + Anope 2.0.9 -OperServ- Problem
Post by: wilco on April 02, 2021, 05:49:01 PM
did it work ?
Title: Re: UnrealIRCd 5.0.1 + Anope 2.0.9 -OperServ- Problem
Post by: nicola on April 02, 2021, 08:19:26 PM
did it work ?

Not work
Title: Re: UnrealIRCd 5.0.1 + Anope 2.0.9 -OperServ- Problem
Post by: The Myth Lives on April 02, 2021, 09:03:21 PM
Are services U-Lined on UnrealIRCd?
Search for https://github.com/unrealircd/unrealircd/blob/unreal50/doc/conf/examples/example.conf#L251-L253 (https://github.com/unrealircd/unrealircd/blob/unreal50/doc/conf/examples/example.conf#L251-L253) on your unrealircd.conf and make sure that your services server name is there. if not, add it, rehash UnrealIRCd and restart Anope.
That must match the server name specified on Anope on lines https://github.com/anope/anope/blob/2.0/data/example.conf#L93 (https://github.com/anope/anope/blob/2.0/data/example.conf#L93) and https://github.com/anope/anope/blob/2.0/data/example.conf#L209 (https://github.com/anope/anope/blob/2.0/data/example.conf#L209)
Title: Re: UnrealIRCd 5.0.1 + Anope 2.0.9 -OperServ- Problem
Post by: nicola on April 02, 2021, 09:14:51 PM
The services link perfectly, the problem I think is in the Oper Access Config, but I don't find a possible error


I changed this part, I access operserv but not with full powers.

Code: [Select]
#oper
{
/* The nickname of this services oper */
#name = "nick1"

/* The opertype this person will have */
type = "Services Root"

/* If set, the user must be an oper on the IRCd to gain their Services
* oper privileges.
*/
require_oper = yes

/* An optional password. If defined, the user must login using "/OPERSERV LOGIN" first */
#password = "secret"

/* An optional SSL fingerprint. If defined, it's required to be able to use this opertype. */
#certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7"

/* An optional list of user@host masks. If defined the user must be connected from one of them */
#host = "*@*.anope.org ident@*"

/* An optional vHost to set on users who identify for this oper block.
* This will override HostServ vHosts, and may not be available on all IRCds
*/
#vhost = "oper.mynet"
}



Code: [Select]
-OperServ- OperServ commands:
-OperServ-     HELP           Displays this list and give information about commands
-OperServ-     LOGIN          Login to OperServ
-OperServ-     LOGOUT         Logout from OperServ
Title: Re: UnrealIRCd 5.0.1 + Anope 2.0.9 -OperServ- Problem
Post by: nicola on April 02, 2021, 09:24:07 PM
Ok solved!
I have tried several times with rehash and restart, now I have "kill" services from shell and restart and it works fine.
Thank you all for the advice and suggestions!