Page 1 of 1

netadmin but no /sapart or /sajoin

Posted: Tue Nov 29, 2011 3:44 pm
by CrazyCat
Hello there,

I'm netadmin on my own server but I have a strange bug:
/oper crazycat mypass
15:57:57 Zeolia -- Mode utilisateur [+oghaAsNW] par CrazyCat
15:57:57 Zeolia -- Server notice mask (+kcfFjveGnNqs)
/whois CrazyCat
15:58:47 Zeolia -- [CrazyCat] is using modes +iowghrAsxNWzt +kcfFjveGnNqs
15:58:47 Zeolia -- [CrazyCat] is a Network Administrator
15:58:47 Zeolia -- [CrazyCat] is available for help.
15:58:47 Zeolia -- [CrazyCat] is using a Secure Connection
/sajoin CrazyCat #channel
15:59:03 Zeolia -- Permission Denied- You do not have the correct IRC operator privileges
My coadmin has the same operblock than me and no trouble with sa* commands.

I don't understand why I don't see my +a flag on my /whois. When whoising my co-admin:
16:43:09 Zeolia -- [Himself] is using modes +iowgraAsxNWqHt +kcfFjveGnNqs
Strange, isn't it ?

Re: netadmin but no /sapart or /sajoin

Posted: Tue Nov 29, 2011 5:16 pm
by Bunkerwaiss
Try adding services-admin to your oper block..

Code: Select all

flags {
       services-admin;
       };

Re: netadmin but no /sapart or /sajoin

Posted: Tue Nov 29, 2011 8:06 pm
by CrazyCat
I already have.

Here's my oper block:

Code: Select all

oper myopernick {
        class clients;
        from {
                userhost *@*;
        };
        password "mypass";
        flags {
                netadmin;
                services-admin;
                can_gkline;
                can_gzline;
                can_zline;
                can_restart;
                can_die;
                get_umodew;
                get_host;
                can_override;
        };
        swhois "No more /whois on myself please";
        snomask "cFfkejvGnNqs";
};
So, I can't understand what the trouble is

Re: netadmin but no /sapart or /sajoin

Posted: Tue Nov 29, 2011 8:54 pm
by Bunkerwaiss
Try this flasgs:

Code: Select all

oper myopernick {
	class clients;
	from {
    userhost *@*;
    };
	password "yourpass";

	flags
	            {
                      netadmin;
                      global;
                      coadmin;
                      admin;
                      services-admin;
                      can_rehash;
                      can_die;
                      can_restart;
                      can_wallops;
                      can_globops;
                      can_localroute;
                      can_globalroute;
                      can_localkill;
                      can_globalkill;
                      can_kline;
                      can_unkline;
                      can_localnotice;
                      can_globalnotice;
                      can_zline;
                      can_gkline;
                      can_gzline;
                      get_umodew;
                      get_host;
                      can_override;
                      can_setq;
                      can_addline;
                      can_dccdeny;
	              };
	           swhois "No more /whois on myself please";
              snomask "cFfkejvGnNqs";
};

Re: netadmin but no /sapart or /sajoin

Posted: Tue Nov 29, 2011 9:17 pm
by CrazyCat
Tested, but no effects.

And as I said in my initial post, my coadmin has exactly the same oper block than me and it works.
Only differences between us: I use SSL connexion, he doesn't.

Re: netadmin but no /sapart or /sajoin

Posted: Tue Nov 29, 2011 11:28 pm
by Stealth
Have you re-opered or reconnected after each change? For flags to take effect you MUST re-oper or reconnect.

Re: netadmin but no /sapart or /sajoin

Posted: Wed Nov 30, 2011 11:46 am
by CrazyCat
Yes, I quit and come back. And always the same trouble.

I really don't understand why I don't see my +a flag when whoising myself: [CrazyCat] is using modes +iowghrAsxNWzt +kcfFjveGnNqs
But the server says I'm Network Administrator..

When doing a /stats o:
0 *@* * myself rDRhgwlcLkKbBnGAaNzWHtZvqd clients
O *@* * coadmin rDRhgwlcLkKbBnGAaNzWHtZvqd clients
We have exactly the same flags... And he can /sa*, I can't...

Edit: today, I succeed in doing /mode me +a and so I can /sa*. But why do I lose it after being connected ?

Re: netadmin but no /sapart or /sajoin

Posted: Wed Nov 30, 2011 2:07 pm
by Syzop
Perhaps services are setting -a on you, because you're not a Services Admin in anope/ircservices/whatever.
If I recall correctly, they do this silently, so you won't even notice.

Re: netadmin but no /sapart or /sajoin

Posted: Wed Nov 30, 2011 4:31 pm
by cheiron
you "have" set yourself and the others on Operserv access list havent you ??

just because you have an o-line doesnt mean you can get access to all oper commands.

Re: netadmin but no /sapart or /sajoin

Posted: Thu Dec 01, 2011 10:03 am
by CrazyCat
I'm root in the services.conf, I'm admin (doing /msg operser admin list) and I'm identified.

Re: netadmin but no /sapart or /sajoin

Posted: Fri Dec 02, 2011 8:07 am
by Bunkerwaiss
Are you using Anope?, if so, in services.conf locate the directive UnRestrictSAdmin, and comment it.

Code: Select all

#UnRestrictSAdmin
Reload or restart your Anope, re-/oper on Unreal (or disconnect/reconnect) and /oper.